Hello,

I attempted to install numpy in the Aarch64 environment, but an error
occurs because there is no _dotblas module in sanity check step.

numpy-1.8.2-foss-2016a-Python-2.7.11.eb

$ uname -r
4.5.0-29.el7.aarch64
$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (AltArch)

--
== 2017-09-08 10:18:15,571 build_log.py:156 ERROR EasyBuild crashed
with an error (at
easybuild/software/EasyBuild/3.3.1/lib/python2.7/site-packages/vsc_base-2.5.8-py2.7.egg/vsc/utils/exceptions.py:124
in __init__): Sanity check failed: sanity check command python -c
"import numpy.core._dotblas" exited with code 1 (output: Traceback
(most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named _dotblas
) (at 
easybuild/software/EasyBuild/3.3.1/lib/python2.7/site-packages/easybuild_framework-3.3.1-py2.7.egg/easybuild/framework/easyblock.py:2123
in _sanity_check_step)
== 2017-09-08 10:18:15,571 easyblock.py:2577 WARNING build failed
(first 300 chars): Sanity check failed: sanity check command python -c
"import numpy.core._dotblas" exited with code 1 (output: Traceback
(most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named _dotblas


https://gist.github.com/kometchtech/fc3d745116602b570bf5b53225374604

However, checking the log confirms that the file is copied to the
installation directory. Moreover, it surely confirms that there is a
file in the installation directory.

copying build/lib.linux-aarch64-2.7/numpy/core/_dotblas.so ->
/home/yhorigome/easybuild/software/numpy/1.8.2-foss-2016a-Python-2.7.11/lib/python2.7/site-packages/numpy/core


The last PYTHONPATH is as follows.

== 2017-09-08 10:18:12,720 environment.py:97 INFO Environment variable
PYTHONPATH set to
lib/python2.7/site-packages:/home/yhorigome/easybuild/software/numpy/1.8.2-foss-2016a-Python-2.7.11/lib/python2.7/site-packages:/home/yhorigome/easybuild/software/numpy/1.8.2-foss-2016a-Python-2.7.11/lib/python2.7/site-packages/numpy/core
(previously undefined)


I set up the same way in the x86_64 environment and compare the logs,
but differences were not seen in PYTHONPATH etc.
In the x86_64 environment, the sanity check error did not appear and
the installation was successfully completed.

Will not you give me advice for introducing it normally?

Best regards.

Reply via email to