Open cschwan opened 3 years ago
I have a pretty good idea what's happening here.
My initial idea didn't pan out, can you provide the full configure output, or at least the MPI output, I want to know whether it's using pkg-config or mpic++
Here is the corresponding meson log-file of the mentioned bug:
Describe the bug Compiling a program with meson and OpenMPI 4.0.5 fails with the following error (I added linebreaks for better visibility):
The output of
mpic++ --showme
is (again with added linebreaks):So the problem seems that the second and third
-Wl,-rpath
is stripped. Adding them manually tobuild.ninja
solves the problem.system parameters