Skip to content

Error in Compiling LIS #1421

Closed Answered by jvgeiger
Lise-Li asked this question in Q&A
Sep 27, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Hello,

I have not tried compiling LIS with OpenMPI 2. As the documentation says, I used OpenMPI version 4.

But the actual problem is

Fatal Error: Cannot read module file ‘/software/openmpi/2.1.5/lib/mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran

This says that OpenMPI 2 was compiled with a different version the GNU Fortran compiler than you are using to compile LIS. This is a limitation of Fortran module files. In general, everything that contains a Fortran module (which compiles to a *.mod file) must be compiled with the same Fortran compiler.

You need an MPI library compiled with GNU compilers version 11.2.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Lise-Li
Comment options

Answer selected by Lise-Li
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants