-
Got this when trying to configure with mpiifort binary missing from cross or native file, or env var undefined.
Trying a default mpiifort fallback at mpiifort
mpiifort found: NO
Run-time dependency MPI for fortran found: NO (tried config-tool and system)
../meson.build:130:2: ERROR: Dependency "mpi" not found, tried config-tool and system Do you know how to debug this? a simple project as following fails: project('mpitest', 'fortran')
dependency('mpi', language: 'fortran') |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
@nordmoen please could you reply regarding meson build. |
Beta Was this translation helpful? Give feedback.
-
Hi, there seems to be some peculiarities in how Meson detects Intel MPI. Use the following to get it to work: $ FC=ifort I_MPI_F90=mpifort meson setup builddir Just wanted to note as well, excellent issue @dguibert, it is super helpful with a small reproducible example! |
Beta Was this translation helpful? Give feedback.
-
As you pointed out, Meson is broken detecting Intel MPI. As mentionned if So I really don't understand, the example works on Betzy, not on another cluster: same compiler and mpi version. |
Beta Was this translation helpful? Give feedback.
-
Don't know if you tried, but i set |
Beta Was this translation helpful? Give feedback.
-
On betzy, with module I found the problem on the other cluster, the installation of Intel compilers defines custom options in
and exits with error code 1 which breaks Meson |
Beta Was this translation helpful? Give feedback.
-
Sorry I was testing with |
Beta Was this translation helpful? Give feedback.
-
Just to mention that a PR has been submitted to meson to solve this: mesonbuild/meson#10056 |
Beta Was this translation helpful? Give feedback.
Hi, there seems to be some peculiarities in how Meson detects Intel MPI.
Use the following to get it to work:
Just wanted to note as well, excellent issue @dguibert, it is super helpful with a small reproducible example!