Hi Trey,

On 27/08/14 21:25, Trey Dockendorf wrote:
I'm having an issue replicating in Easybuild what I can do interactively when 
building OpenBLAS.

Manually running 'make BINARY=64 DYNAMIC_ARCH=1 USE_THREAD=1 NUM_THREADS=64 
NO_AFFINITY=1 NO_AVX2=1 UTEST_CHECK=1' on the source gives me no issue.

Using as a base the Easyconfig for OpenBLAS-0.2.9-GCC-4.8.3-LAPACK-3.5.0 [1] 
where I only changed the following:

version = '0.2.10'
maxparallel = 1 # OpenBLAS will parallel build by default AFAIK
buildopts = 'BINARY=64 DYNAMIC_ARCH=1 USE_THREAD=1 NUM_THREADS=64 NO_AFFINITY=1 
NO_AVX2=1 UTEST_CHECK=1'

$ eb OpenBLAS-0.2.10-GCC-4.8.3-LAPACK-3.5.0.eb --robot=.

# From the log file when it fails

<snip>
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in 
`/dev/shm/OpenBLAS/0.2.10/GCC-4.8.3-LAPACK-3.5.0/OpenBLAS-0.2.10/utest/CUnit-2.1-2':
configure: error: C compiler cannot create executables
See `config.log' for more details

Did you check this config.log file? The real reason will be in there somewhere (not at the very bottom though).

Look for the string "checking whether the C compiler works".


regards,

Kenneth

make[1]: *** 
[/dev/shm/OpenBLAS/0.2.10/GCC-4.8.3-LAPACK-3.5.0/OpenBLAS-0.2.10/utest/CUnit-2.1-2/lib/libcunit.a]
 Error 77
make[1]: Leaving directory 
`/dev/shm/OpenBLAS/0.2.10/GCC-4.8.3-LAPACK-3.5.0/OpenBLAS-0.2.10/utest'
make: *** [tests] Error 2

== 2014-08-27 14:09:57,601 main.easyblock.<module> WARNING build failed (first 300 
chars): EasyBuild crashed with an error (at easybuild/tools/run.py:382 in parse_cmd_output): 
cmd " make -j 1 BINARY=64 DYNAMIC_ARCH=1 USE_THREAD=1 NUM_THREADS=64 NO_AFFINITY=1 
NO_AVX2=1 UTEST_CHECK=1" exited with exitcode 2 and output:

Thanks,
- Trey

[1] : 
https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/o/OpenBLAS/OpenBLAS-0.2.9-GCC-4.8.3-LAPACK-3.5.0.eb

=============================

Trey Dockendorf
Systems Analyst I
Texas A&M University
Academy for Advanced Telecommunications and Learning Technologies
Phone: (979)458-2396
Email: [email protected]
Jabber: [email protected]

Reply via email to