The problem with _Float128 is the recent update to glibc 2.26 and that icc only works with gcc up to version 6.3...
Haven't found a way to fix this anyways..
I have filed a bug report upstream:
https://github.com/numpy/numpy/issues/9731
Search Criteria
Package Details: python-numpy-mkl 2.2.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-numpy-mkl.git (read-only, click to copy) |
---|---|
Package Base: | python-numpy-mkl |
Description: | Scientific tools for Python, compiled with Intel MKL |
Upstream URL: | https://numpy.org |
Keywords: | numpy |
Licenses: | BSD-3-Clause |
Conflicts: | python-numpy |
Provides: | python-numpy |
Submitter: | bred |
Maintainer: | petronny (AutoUpdateBot, carlosal1015) |
Last Packager: | AutoUpdateBot |
Votes: | 38 |
Popularity: | 0.000000 |
First Submitted: | 2012-08-25 16:55 (UTC) |
Last Updated: | 2024-12-22 08:04 (UTC) |
Dependencies (12)
- intel-oneapi-mkl (intel-oneapi-hpckitAUR, intel-oneapi-basekit-2025AUR, intel-oneapi-basekit)
- python (python37AUR, python311AUR, python310AUR)
- cython (cython-gitAUR, cython0AUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
- meson-python (make)
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools (make)
- python-hypothesis (check)
- python-pytest (check)
- python-threadpoolctl (optional) – for show_runtime() support
Required by (1914)
- akhelper-git (requires python-numpy)
- alsa-control (requires python-numpy)
- amdfan (requires python-numpy)
- amdgpu-fan (requires python-numpy)
- amulet-map-editor (requires python-numpy)
- amulet-map-editor-git (requires python-numpy)
- apicula-git (requires python-numpy)
- apitrace-git (requires python-numpy)
- apriltag (requires python-numpy) (make)
- apsynsim (requires python-numpy) (make)
- archlinux-tweak-tool-git (requires python-numpy)
- ardupilot-copter-sitl (requires python-numpy)
- art-rawconverter-imageio (requires python-numpy)
- asammdf-git (requires python-numpy)
- astrometry.net (requires python-numpy)
- asus-numberpad-driver-b7402-git (requires python-numpy)
- asus-numberpad-driver-e210ma-git (requires python-numpy)
- asus-numberpad-driver-g513-git (requires python-numpy)
- asus-numberpad-driver-g533-git (requires python-numpy)
- asus-numberpad-driver-gx551-git (requires python-numpy)
- Show 1894 more...
Sources (1)
gwaterst commented on 2017-09-21 12:32 (UTC) (edited on 2017-09-21 13:02 (UTC) by gwaterst)
arvidsaur commented on 2017-09-20 08:14 (UTC)
Hello,
I am getting the following errors when trying to build this.
First lots of "identifier "_Float128" is undefined for lots of functions:
In file included from /usr/include/math.h(315),
from /opt/intel/compilers_and_libraries_2018.0.128/linux/compiler/include/math.h(95),
from /usr/include/python2.7/pyport.h(325),
from /usr/include/python2.7/Python.h(58),
from _configtest.c(1):
/usr/include/bits/mathcalls.h(85): error: identifier "_Float128" is undefined
__MATHCALL (acosh,, (_Mdouble_ __x));
Then the build ends with:
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "setup.py", line 392, in <module>
setup_package()
File "setup.py", line 384, in setup_package
setup(**metadata)
File "/home/arvid/builds/python-numpy-mkl/src/numpy-py2-1.13.1/numpy/distutils/core.py", line 169, in setup
return old_setup(**new_attr)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/arvid/builds/python-numpy-mkl/src/numpy-py2-1.13.1/numpy/distutils/command/build_clib.py", line 74, in run
self.run_command('build_src')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/arvid/builds/python-numpy-mkl/src/numpy-py2-1.13.1/numpy/distutils/command/build_src.py", line 148, in run
self.build_sources()
File "/home/arvid/builds/python-numpy-mkl/src/numpy-py2-1.13.1/numpy/distutils/command/build_src.py", line 165, in build_sources
self.build_extension_sources(ext)
File "/home/arvid/builds/python-numpy-mkl/src/numpy-py2-1.13.1/numpy/distutils/command/build_src.py", line 324, in build_extension_sources
sources = self.generate_sources(sources, ext)
File "/home/arvid/builds/python-numpy-mkl/src/numpy-py2-1.13.1/numpy/distutils/command/build_src.py", line 377, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 421, in generate_config_h
moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
File "numpy/core/setup.py", line 47, in check_types
out = check_types(*a, **kw)
File "numpy/core/setup.py", line 280, in check_types
"install {0}-dev|{0}-devel.".format(python))
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
==> ERROR: A failure occurred in build().
Any pointers on how I can debug this is appreciated.
dkumor commented on 2017-08-11 05:09 (UTC)
Thanks for the update! The "intel.py" file has changed in 1.13.1 (fixing the version bug), so I believe that it needs to have its checksum updated.
As a side note, won't this file be downloaded with the source anyways? Why is it downloaded separately?
Cheers!
dkumor commented on 2017-07-18 18:46 (UTC)
Please update to 1.13.1 - 1.13.0 fails compilation with
AttributeError: LooseVersion instance has no attribute 'split'
This was fixed in 1.13.1:
https://github.com/numpy/numpy/pull/9299
gergi commented on 2017-02-07 14:09 (UTC)
Add dependency 'cython'.
tsumina commented on 2017-01-20 07:15 (UTC)
@ricrogz you can try to make a symbol link of /opt/intel/mkl to /opt/intel/composerxe/mkl and this should work.
invik commented on 2016-10-16 11:07 (UTC) (edited on 2016-10-16 11:08 (UTC) by invik)
As @bear mentioned, the current intel-mkl installs to a different path than mentioned in the site*.cfg files (/opt/intel/mkl instead of /opt/intel/composerxe/mkl).
Due to this, the package, as it is right now, is compiling *without* mkl support.
Pinned Comments
carlosal1015 commented on 2024-12-23 00:56 (UTC) (edited on 2024-12-23 02:07 (UTC) by carlosal1015)
Important note: After installation, append this line
in
~/.bashrc
,~/.zshrc
, etc. In order to avoid thisImportError
.petronny commented on 2022-09-28 08:28 (UTC)
Prebuilt binaries of this package can be found in arch4edu.