My mistake! I was playing with the TARGET variable trying to set the icelake architeture. OpenBLAS-0.3.12-GCC-10.2.0.eb *does* build correctly on Ice Lake.

/Ole

On 5/29/21 1:29 PM, Åke Sandgren wrote:
First of all, check the Result log:
tmp/eb-jcym6or4/easybuild-OpenBLAS-0.3.12-20210528.152213.BZayz.log
and figure out what the actual problem is.

On 5/28/21 3:26 PM, Ole Holm Nielsen wrote:
Hi Simon,

On 5/28/21 2:50 PM, Simon Branford wrote:
OpenBLAS recently added IceLake detection:
https://github.com/xianyi/OpenBLAS/pull/3233

Thanks a lot for the info!  It seems that Ice Lake gets detected as
CPUTYPE_SKYLAKEX?

This has been patched in EasyBuild for OpenBLAS 0.3.12 and 0.3.15:
https://github.com/easybuilders/easybuild-easyconfigs/pull/12865

Unfortunately this PR fails on my Ice Lake server (running AlmaLinux 8.4):

$ eb --from-pr=12865
== Temporary log file in case of crash
/tmp/eb-jcym6or4/easybuild-vjctr76k.log
== found valid index for
/home/modules/software/EasyBuild/4.3.4/easybuild/easyconfigs, so using
it...
== found valid index for
/home/modules/software/EasyBuild/4.3.4/easybuild/easyconfigs, so using
it...
== processing EasyBuild easyconfig
/tmp/eb-jcym6or4/files_pr12865/o/OpenBLAS/OpenBLAS-0.3.12-GCC-10.2.0.eb
== building and installing OpenBLAS/0.3.12-GCC-10.2.--
Ole Holm Nielsen
PhD, Senior HPC Officer
Department of Physics, Technical University of Denmark,
Fysikvej Building 309, DK-2800 Kongens Lyngby, Denmark
E-mail: [email protected]
Homepage: http://dcwww.fysik.dtu.dk/~ohnielse/
Mobile: (+45) 5180 16200...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== FAILED: Installation ended unsuccessfully (build directory:
/dev/shm/OpenBLAS/0.3.12/GCC-10.2.0): build failed (first 300 chars):
cmd " make -j 48 libs netlib shared  BINARY='64'  CC='gcc'
FC='gfortran' MAKE_NB_JOBS='-1'  USE_OPENMP='1'  USE_THREAD='1'
CFLAGS='-O2 -ftree-vectorize -march=native -fno-math-errno' " exited
with exit code 2 and output:
<command-line>: warning: ISO C99 requires whitespace after the macro name
ge (took 1 sec)
== Results of the build can be found in the log file(s)
/tmp/eb-jcym6or4/easybuild-OpenBLAS-0.3.12-20210528.152213.BZayz.log
ERROR: Build of
/tmp/eb-jcym6or4/files_pr12865/o/OpenBLAS/OpenBLAS-0.3.12-GCC-10.2.0.eb
failed (err: 'build failed (first 300 chars): cmd " make -j 48 libs
netlib shared  BINARY=\'64\'  CC=\'gcc\'  FC=\'gfortran\'
MAKE_NB_JOBS=\'-1\' USE_OPENMP=\'1\'  USE_THREAD=\'1\'  CFLAGS=\'-O2
-ftree-vectorize -march=native -fno-math-errno\' " exited with exit code
2 and output:\n<command-line>: warning: ISO C99 requires whitespace
after the macro name\nge')


Does anyone have an idea about how to fix this?


Reply via email to