I am compiling hdf5-1.14.3 using oneapi2022.3. There will be a warning when make:
Bash:
icx: warning: -Wl,-s: 'linker' input unused [-Wunused-command-line-argument]
Does that make a difference?
In addition, when make check, there will be an error:
Bash:
Testing: t_2Gio
============================
Test log for t_2Gio
============================
===================================
2 GByte IO TESTS START
2 MPI ranks will run the tests...
===================================
MPI-process 0. hostname=login
Test filenames are:
ParaTest.h5
Hugefile.h5
For help use: /public/home/LIBRARIES/intel2022/hdf5-1.14.3/testpar/.libs/t_2Gio -help
Linked with hdf5 version 1.14 release 3
Testing -- dataset independent write (idsetw)
Testing -- dataset independent read (idsetr)
Testing -- dataset collective write (cdsetw)
Testing -- dataset collective read (cdsetr)
Testing -- extendible dataset independent write #2 (eidsetw2)
Testing -- chunked dataset with none-selection (selnone)
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 0 PID 207616 RUNNING AT login
= KILLED BY SIGNAL: 14 (Alarm clock)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 1 PID 207617 RUNNING AT login
= KILLED BY SIGNAL: 14 (Alarm clock)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 2 PID 207618 RUNNING AT login
= KILLED BY SIGNAL: 9 (Killed)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 3 PID 207619 RUNNING AT login
= KILLED BY SIGNAL: 9 (Killed)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 4 PID 207620 RUNNING AT login
= KILLED BY SIGNAL: 9 (Killed)
===================================================================================
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 5 PID 207621 RUNNING AT login
= KILLED BY SIGNAL: 9 (Killed)
===================================================================================
2469.66user 3954.87system 20:07.50elapsed 532%CPU (0avgtext+0avgdata 2695456maxresident)k
0inputs+0outputs (1159major+2047482minor)pagefaults 0swaps
make[4]: *** [t_2Gio.chkexe_] Error 1
make[4]: Leaving directory `/public/home/LIBRARIES/intel2022/hdf5-1.14.3/testpar'
make[3]: *** [build-check-p] Error 1
make[3]: Leaving directory `/public/home/LIBRARIES/intel2022/hdf5-1.14.3/testpar'
make[2]: *** [test] Error 2
make[2]: Leaving directory `/public/home/LIBRARIES/intel2022/hdf5-1.14.3/testpar'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/public/home/LIBRARIES/intel2022/hdf5-1.14.3/testpar'
make: *** [check-recursive] Error 1
My steps for building hdf5:
Bash:
export CC="mpiicc -cc=icx"
export CXX="mpiicpc -cxx=icpx"
export FC=mpiifort
export F90=mpiifort
export F77=mpiifort
export CPPFLAGS=-I/public/home/compiler/intel2022/oneapi/mpi/2021.7.0/include
export LDFLAGS="-L/public/home/compiler/intel2022/oneapi/mpi/2021.7.0/lib"
export CFLAGS="-O3 -fPIC"
export FCFLAGS="-O3 -fPIC"
export CXXFLAGS="-O3 -fPIC"
./configure --with-zlib=$DIR/zlib1.3 --with-szlib=$DIR/szip2.1.1 --prefix=$DIR/hdf51.14.3 --enable-fortran --enable-parallel
make
make check
Any help would be greatly appreciated.