Centos7.6 Building HDF5-1.10.5 Fails with --enable-parallel


#1

Hi everyone, my first post and call for help.
I run into a problem while building HDF5-1.10.5 on Centos 7.6 with Intel compiler and with --enable-parallel --enable-fortran

Here is a summary of what I did and what did/did not work. Any suggestions/insights that might help would be greatly appreciated.
Thanks
-Achilles

Building HDF5-1.10.5 - Issues

export F77=ifort
export F90=ifort
export F9X=ifort
export FC=ifort
export CC=icc
export CXX=icpc

./configure --enable-fortran --enable-cxx --enable-hl --with-szlib=/home/av/Apps/szip/szip-2.1.1/szip
make
make test
make install
SUCCESS!

export F77=$I_MPI_ROOT/intel64/bin/mpif77
export F90=$I_MPI_ROOT/intel64/bin/mpif90
export F9X=$I_MPI_ROOT/intel64/bin/mpif90
export FC=$I_MPI_ROOT/intel64/bin/mpif90
export CC=$I_MPI_ROOT/intel64/bin/mpiicc
export CXX=$I_MPI_ROOT/intel64/bin/mpiicpc

./configure --enable-parallel --enable-hl --with-szlib=/home/av/Apps/szip/szip-2.1.1/szip

make
make test
make install
SUCCESS!

export F77=$I_MPI_ROOT/intel64/bin/mpif77
export F90=$I_MPI_ROOT/intel64/bin/mpif90
export F9X=$I_MPI_ROOT/intel64/bin/mpif90
export FC=$I_MPI_ROOT/intel64/bin/mpif90
export CC=$I_MPI_ROOT/intel64/bin/mpiicc
export CXX=$I_MPI_ROOT/intel64/bin/mpiicpc

./configure --enable-fortran --enable-parallel --enable-hl --with-szlib=/home/av/Apps/szip/szip-2.1.1/szip
(I can provide output from ./configure, but no errors reported)

make fails with the error

FCLD fortranlib_test

/usr/bin/ld: …/…/test/.libs/libh5test.a(h5test.o): undefined reference to symbol ‘__intel_sse2_strtok’
/home/av/Apps/intel/compilers_and_libraries_2019.4.243/linux/compiler/lib/intel64_lin/libintlc.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [fortranlib_test] Error 1
make[2]: Leaving directory /home/av/Apps/hdf5/hdf5-1.10.5_shared-mpi-ifort/fortran/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/av/Apps/hdf5/hdf5-1.10.5_shared-mpi-ifort/fortran’
make: *** [all-recursive] Error 1