This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by HDF5 configure 1.10.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
From the log file, it appears to be an issue with your mpiicc wrapper. Maybe you are supposed to use a different wrapper instead of mpiicc on your cluster?
configure:4692: mpiicc -fPIC -O3 -xHost -ip -fno-alias -align conftest.c >&5
/cluster/shared/apps/oneapi/hpctoolkit/mpi/2021.11/bin/mpiicx: line 539: icc: command not found
configure:4696: $? = 127
configure:4734: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "HDF5"
| #define PACKAGE_TARNAME "hdf5"
| #define PACKAGE_VERSION "1.10.7"
| #define PACKAGE_STRING "HDF5 1.10.7"
| #define PACKAGE_BUGREPORT "help@hdfgroup.org"
| #define PACKAGE_URL ""
| #define PACKAGE "hdf5"
| #define VERSION "1.10.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
Thanks for the replies! One of our researchers was asking for the older version. I tried the suggestion: ./configure --prefix=/tmp CXX="$(which mpiicpc) -cc=$(which icpx)" CC="$(which mpiicc) -cc=$(which icx)" FC="$(which mpiifort) -fc=$(which ifx)" LDFLAGS="-L/cluster/shared/apps/oneapi/hpctoolkit/mpi/latest/lib" --enable-fortran --enable-parallel
These errors seem fatal:
icx: error: unknown argument '-qversion'; did you mean '--version'?
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
1 error generated.
Ah, yes, if you want Fortran enabled, you need to use Autotools 2.71 and rerun autogen.sh because, for some reason, Intel introduced a compiler flag starting with “-l” which is getting interpreted as a library. This made us require Autotools 2.71, which causes all sorts of headaches for older systems. You might have more success using CMake instead.
/usr/bin/ld: cannot find -loopopt=1
icx: error: linker command failed with exit code 1 (use -v to see invocation)
configure:7644: $? = 1
configure: failed program was:
Some HPC facilities have their own MPI wrappers that they would rather have users use instead of mpi**. This is common for Cray systems where you have PrgEnv– modules, and the compiler wrappers (cc for C, ftn for Fortran) include additional link options and compiler flags.