error while loading shared libraries: libmpi_ibm_usempif08.so: cannot open shared object file: No such file or directory
So using the mpif90 does not work because it links a shared library that cannot be found at run time. Perhaps that library is only visible on the bach nodes. You can tryed adding -with-batch=0 to the ./configure options Barry > On Feb 9, 2024, at 5:01 PM, Zhang, Chonglin <[email protected]> wrote: > > Dear PETSc developers, > > I am trying to compile PETSc on Summit with gcc 12.1.0 and spectrum-mpi > 10.4.0.6, but encountered the following configuration issues: > > ============================================================================================= > Configuring PETSc to compile on your system > > ============================================================================================= > TESTING: checkFortranCompiler from > config.setCompilers(config/BuildSystem/config/setCompilers.py:1271) > > > ******************************************************************************* > OSError while running ./configure > ------------------------------------------------------------------------------- > Cannot run executables created with FC. If this machine uses a batch system > to submit jobs you will need to configure using ./configure with the > additional option --with-batch. > Otherwise there is problem with the compilers. Can you compile and run code > with your compiler 'mpif90'? > ******************************************************************************* > > Also attached is the configure.log file. Could you help with this issue? > > Thanks, > Chonglin > > > > <configure.log>
