Package Details: python-scipy-mkl 1.13.0-1

Git Clone URL: https://aur.archlinux.org/python-scipy-mkl.git (read-only, click to copy)
Package Base: python-scipy-mkl
Description: SciPy is open-source software for mathematics, science, and engineering.
Upstream URL: http://www.scipy.org/
Licenses: BSD
Conflicts: python-scipy
Provides: python-scipy
Submitter: bred
Maintainer: petronny (AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 26
Popularity: 0.000000
First Submitted: 2012-09-06 19:34 (UTC)
Last Updated: 2024-04-03 09:08 (UTC)

Required by (809)

Sources (1)

Pinned Comments

petronny commented on 2019-06-26 08:47 (UTC)

Prebuilt binaries of this package can be found in arch4edu.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

bred commented on 2017-11-07 19:26 (UTC)

Now it works also with icc. Thanks to all for the suggestions and the PKGBUILD !!!

gwaterst commented on 2017-11-07 09:42 (UTC) (edited on 2017-11-07 15:32 (UTC) by gwaterst)

I can confirm the hack of invik is working. The problem appears to be that the C sources need the set environment variable while compiling the C++ sources with the set environment variables returns an error. I have outsourced the ever-repeating builds into a shell script that make it possible to build the package with a single makepkg command. I'll send this version the the package maintainer.

invik commented on 2017-11-05 19:18 (UTC) (edited on 2017-11-05 19:22 (UTC) by invik)

There is a very dumb hack to get the package to compile with the 2018 Intel compiler (the one with the _Float128 error): loop-compile 8 or 10 times (sorry, lost count), one prepending the '__INTEL_PRE_CFLAGS="$__INTEL_PRE_CFLAGS -D_Float128=__float128"' variable, one without. I.e.: __INTEL_PRE_CFLAGS=" -D_Float128=__float128" python3 setup.py config --compiler=intelem --fcompiler=intelem build_clib --compiler=intelem --fcompiler=intelem build_ext --compiler=intelem --fcompiler=intelem python3 setup.py config --compiler=intelem --fcompiler=intelem build_clib --compiler=intelem --fcompiler=intelem build_ext --compiler=intelem --fcompiler=intelem [repeat these two another 4 times, to be sure, and it should be ready for packaging] In other words: try compiling setting the __INTEL_PRE_CFLAGS, and as soon as it fails, launch compilation WITHOUT setting the environment variable. It will continue from where the first try failed, and so on, until it gets it done. By the way: there is also a bug in the "package_python*-scipy-mkl()" functions in the PKGBUILD. Where it says: python* setup.py config_fc --fcompiler=intel install --prefix=/usr --root=${pkgdir} --optimize=1 It should be "--fcompiler=intelem". It needs to be corrected, or else the packaging will fail. You can find a fully working PKGBUILD here: https://pastebin.com/ncpPC1xY

bred commented on 2017-11-05 12:15 (UTC)

Added 1.0 Unfortunately the fix for the _Float128 error does not works with scipy. So at the moment the solutions seems to compile with gcc (edit PKGBUILD) or downgrade the glibc.

gwaterst commented on 2017-10-09 20:52 (UTC) (edited on 2017-10-09 21:27 (UTC) by gwaterst)

For numpy adding export __INTEL_PRE_CFLAGS="$__INTEL_PRE_CFLAGS -D_Float128=__float128" to the PKGBUILD solved the _Float128 error. (compare https://aur.archlinux.org/packages/python-numpy-mkl/) Here the build process quits at a later stage with the same error, so I wonder if the FLAG is overridden somewhere?

arvidsaur commented on 2017-10-04 07:56 (UTC)

Hello, I get the following error when trying to install this pkg: /usr/include/bits/floatn.h(73): error: invalid combination of type specifiers typedef __float128 _Float128; I am guessing this has something to do with this: https://software.intel.com/en-us/forums/intel-c-compiler/topic/742701 The full error: https://pastebin.com/L1GEKwWq Anyone got any ideas what I can do to solve this?

tsumina commented on 2017-01-20 07:10 (UTC)

Install recently and got ifort warnings. My icc and ifort also use a AUR make version. ifort: command line remark #10148: option '-w90' not supported ifort: command line remark #10148: option '-w95' not supported ifort: command line remark #10411: option '-openmp' is deprecated and will be removed in a future release. Please use the replacement option '-qopenmp' I know this warnings are not problems and should be fixed easily :)

invik commented on 2016-10-16 11:09 (UTC)

No site.cfg file included in this package: I had to copy over the site.cfg from python-numpy-mkl to be able to compile with mkl support.

analca3 commented on 2016-03-26 16:11 (UTC) (edited on 2016-03-26 16:36 (UTC) by analca3)

@white1033 I had the same problem, edit PKGBUILD with --fcompiler=intelem if you use 64bit and --fcompiler=intel if you use 32bit. @trovao thanks for updating the PKGBUILD :)

trovao commented on 2016-02-25 12:39 (UTC)

@bred scipy 0.17 has been released. Would you be so kind and and update the PKGBUILD? Thanks. I've built mine by changing the following variables: pkgver=0.17.0 source=("https://github.com/scipy/scipy/releases/download/v${pkgver}/scipy-${pkgver}.tar.xz" ) md5sums=('ef0949640ee73f845dde6dd7f84d7691')