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]<mailto:[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]<mailto:[email protected]>


--
Dr. Alan O'Cais
E-CAM Software Manager
Juelich Supercomputing Centre
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49 2461 61 5213
Fax: +49 2461 61 6656
E-mail: [email protected]<mailto:[email protected]>
WWW:    http://www.fz-juelich.de/ias/jsc/EN


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to