[petsc-users] Help with compiling PETSc on Summit with gcc 12.1.0

Barry Smith bsmith at petsc.dev
Fri Feb 9 16:09:49 CST 2024


 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 <chonglin.zhang at und.edu> 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240209/0af000b4/attachment.html>


More information about the petsc-users mailing list