I attempted to build python using Python-2.7.11-foss-2016a.eb,
but several extensions are introduced at the same time in this eb file.
Among them, scipy is introduced, but I do not know where the fortran option is specified at this time.
Because the verification environment is aarch64, but the fortran option x86_64 is called.
Among them, scipy is introduced, but I do not know where the fortran option is specified at this time.
Because the verification environment is aarch64, but the fortran option x86_64 is called.
Although the flow to the following files could be read, the place where the option was specified is unknown.
$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (AltArch)
CentOS Linux release 7.3.1611 (AltArch)
$ uname -a
Linux scw-d80f87 4.9.23-std-1 #1 SMP Mon Apr 24 13:18:14 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
Linux scw-d80f87 4.9.23-std-1 #1 SMP Mon Apr 24 13:18:14 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
--log
Found executable /home/yhorigome/easybuild/software/GCCcore/4.9.3/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_clib
building 'dfftpack' library
compiling Fortran sources
Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2
Fortran f90 compiler: gfortran -O3 -mcpu=cortex-a57 -fPIC -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2
Fortran fix compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -O3 -mcpu=cortex-a57 -fPIC -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/scipy
creating build/temp.linux-aarch64-2.7/scipy/fftpack
creating build/temp.linux-aarch64-2.7/scipy/fftpack/src
creating build/temp.linux-aarch64-2.7/scipy/fftpack/src/dfftpack
compile options: '-I/home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/lib/python2.7/site-packages/numpy/core/include -c'
gfortran:f77: scipy/fftpack/src/dfftpack/dfftf.f
gfortran: error: unrecognized command line option ‘-msse2’
gfortran: error: unrecognized command line option ‘-msse2’
error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2 -I/home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/lib/python2.7/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dfftf.f -o build/temp.linux-aarch64-2.7/scipy/fftpack/src/dfftpack/dfftf.o" failed with exit status 1
(at easybuild/software/EasyBuild/3.3.1/lib/python2.7/site-packages/easybuild_framework-3.3.1-py2.7.egg/easybuild/tools/run.py:444 in parse_cmd_output)
== 2017-08-29 17:08:04,066 easyblock.py:2577 WARNING build failed (first 300 chars): cmd " unset LDFLAGS && /home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/bin/python setup.py build " exited with exitcode 1 and output:
/home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requ
customize Gnu95FCompiler
customize Gnu95FCompiler using build_clib
building 'dfftpack' library
compiling Fortran sources
Fortran f77 compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2
Fortran f90 compiler: gfortran -O3 -mcpu=cortex-a57 -fPIC -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2
Fortran fix compiler: gfortran -Wall -g -ffixed-form -fno-second-underscore -O3 -mcpu=cortex-a57 -fPIC -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/scipy
creating build/temp.linux-aarch64-2.7/scipy/fftpack
creating build/temp.linux-aarch64-2.7/scipy/fftpack/src
creating build/temp.linux-aarch64-2.7/scipy/fftpack/src/dfftpack
compile options: '-I/home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/lib/python2.7/site-packages/numpy/core/include -c'
gfortran:f77: scipy/fftpack/src/dfftpack/dfftf.f
gfortran: error: unrecognized command line option ‘-msse2’
gfortran: error: unrecognized command line option ‘-msse2’
error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -O3 -mcpu=cortex-a57 -fPIC -O2 -march=x86-64 -DMS_WIN64 -mtune=generic -msse2 -I/home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/lib/python2.7/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dfftf.f -o build/temp.linux-aarch64-2.7/scipy/fftpack/src/dfftpack/dfftf.o" failed with exit status 1
(at easybuild/software/EasyBuild/3.3.1/lib/python2.7/site-packages/easybuild_framework-3.3.1-py2.7.egg/easybuild/tools/run.py:444 in parse_cmd_output)
== 2017-08-29 17:08:04,066 easyblock.py:2577 WARNING build failed (first 300 chars): cmd " unset LDFLAGS && /home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/bin/python setup.py build " exited with exitcode 1 and output:
/home/yhorigome/easybuild/software/Python/2.7.11-foss-2016a/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requ
--run .eb
Python-2.7.11-foss-2016a.eb
--Have you been up to this point?
./easybuild_easyblocks-3.3.1-py2.7.egg/easybuild/easyblocks/generic/fortranpythonpackage.py
Please teach someone.
Best regards.
Best regards.

