easybuilders / easybuild

EasyBuild - building software with ease
http://easybuild.io
GNU General Public License v2.0
470 stars 144 forks source link

issue with HDF5-1.10.7-iimpi-2020b.eb on some architecture #694

Closed oliviermattelaer closed 3 years ago

oliviermattelaer commented 3 years ago

I have tried to install HDF5-1.10.7-iimpi-2020b.eb on various architecture (with eb 4.3.3 and 4.3.4). It was working on intel hardware but failed on AMD machine (opteron and epyc)

The error is the following:

tf_gen.F90(172): catastrophic error: Function return parameter requires SSE register while SSE is disabled.  compilation aborted for tf_gen.F90 (code 1)

that specific file is compile with the following flag:

mpiifort -I. -I../../src -I../../fortran/src -stand:f03 -free -warn:all -O3 -I../../fortran/src -I.\
./../fortran/src -O2 -xHost -ftz -fp-speculation=safe -fp-model source -fPIC -c tf_gen.F90  -fPIC -o .libs/tf_gen.o

Thanks in advance for the help,

Olivier

oliviermattelaer commented 3 years ago

issue fixed by adding --optarch=core-avx2