Open yanqingfu opened 4 years ago
Hi, it appears that ior cannot find mpi. It is an ior or system issue not an io500 benchmark specific one. Given that the system compiler seems with gcc rather old 4.5 and Red Hat as well, maybe there is another issue. To test it, it would be good to go into the build ior directory, then load the required mpi module (which mpi are you using?). The Ior configure has some options to set the mpi. You can try to point them to your mpi. If I know more about the mpi, we might be able to update the configure to detect it automatically.
This error occurred for me when I used a Spack installed version of OpenMPI instead of system native OpenMPI.
Example:
module load gcc-11.2.0-gcc-4.8.5-yqde46k
module load openmpi-4.1.2-gcc-11.2.0-vu4zflq
./prepare.sh
Would result in “configure: error: MPI compiler requested, but could not use MPI.”
However, using the native OpenMPI, I had no issues.
module load gcc-11.2.0-gcc-4.8.5-yqde46k
export PATH="$PATH:/PATH_TO_MY_MPI/bin"
./prepare.sh
Resulted in complete build with no errors.
As you can see, oddly enough, my GCC instance was Spack installed and loaded via module command as well, but did not cause any errors.
config.log