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.0...
> == 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?

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected]   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

Reply via email to