I want to install hdf5 with intel’s mpi compilers, but it fails when running ‘make install’.
The error I get is
libtool: error: error: relink ‘libhdf5_hl.la’ with the above command before installing it
and before that it says
/opt/utility/hdf5-1.10.6/libtool: line 10545: mpiicc: command not found
which is probably the main problem.
Running
which mpiicc
I get
/path/to/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/bin/mpiicc
I also exported CC="/path/to/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/bin/mpiicc", but it still does not work.
I also added
export CPPFLAGS="-I/opt/devel/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/include -I/usr/include/"
export LDFLAGS="-L/opt/devel/intel/compilers_and_libraries_2019.5.281/linux/mpi/intel64/lib -L"
just to be sure, but I still get the error during the installation.
After running the configure, I also did run ‘make check’, which finishes all the tests successfully.
My configure command is simply
./configure --with-zlib=${ZDIR} --prefix=${H5DIR} --enable-parallel
I run on Ubuntu 18.04 LTS. I have the latest Intel compiiers installed and have used them for various other program builds already.
Could someone help me with this, please?
Thanks.