Hi Alan, Good catch. I was testing on a virtual machine with only one core. Bumping up to two cores resolves the problem.
Thanks, Loris Alan O'Cais <[email protected]> writes: > Dear Loris, > > Those commands haven't changed in a long time but I did find this after a bit > of googling: > https://github.com/torch/ezinstall/issues/39#issuecomment-87905906 > > Do you have that case where you are building on something which only has a > single core? > > Alan > > On Fri, 9 Nov 2018 at 15:22, Loris Bennett <[email protected]> wrote: > > Hi, > > I have just tried > > eb KAT-2.4.2-foss-2018a-Python-3.6.4.eb --robot > > on a CentOS 7 machine and find that the OpenBLAS step fails: > > == FAILED: Installation ended unsuccessfully (build directory: > /mnt/shared/easybuild/build/OpenBLAS/0.2.20/GCC-6.4.0-2.28): build > failed (first 300 chars): cmd " make -j 1 BINARY=64 USE_THREAD=1 > USE_OPENMP=1 CC="$CC" FC="$F77"" exited with exit code 2 and output: > Makefile.system:412: *** OpenBLAS: Cannot set both USE_OPENMP=1 and > USE_THREAD=0. The USE_THREAD=0 is only for building single thread > version.. Stop. > > == Results of the build can be found in the log file(s) > /tmp/eb-ofj6F9/easybuild-OpenBLAS-0.2.20-20181109.142926.apcZc.log > ERROR: Build of > > /mnt/shared/easybuild/software/EasyBuild/3.7.0/lib/python2.7/site-packages/easybuild_easyconfigs-3.7.0-py2.7.egg/easybuild/easyconfigs/o/OpenBLAS/OpenBLAS-0.2.20-GCC-6.4.0-2.28.eb > > failed (err: 'build failed (first 300 chars): cmd " make -j 1 BINARY=64 > USE_THREAD=1 USE_OPENMP=1 CC="$CC" FC="$F77"" exited with exit code 2 > and output:\nMakefile.system:412: *** OpenBLAS: Cannot set both > USE_OPENMP=1 and USE_THREAD=0. The USE_THREAD=0 is only for building > single thread version.. Stop.\n') > > Makefile.system:412: *** OpenBLAS: Cannot set both USE_OPENMP=1 and > USE_THREAD=0. The USE_THREAD=0 is only for building single thread > version.. Stop. > > However,The easyconfig for OpenBLAS seems to set USE_THREAD correctly: > > buildopts = 'BINARY=64 USE_THREAD=1 USE_OPENMP=1 CC="$CC" FC="$F77"' > installopts = "USE_THREAD=1 USE_OPENMP=1 PREFIX=%(installdir)s" > > Any idea what might be going wrong? > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]

