You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That folder does not exist, nor as a symbolic link.
If I try to build a program with the command output by mpif90 -show, I get a bunch of undefined reference errors, because the MPI libraries can't be found
If I instead build using mpif90 as the compiler, the build succeeds.
The other wrappers i.e. mpicc report the correct directory:
System information
Background information
Working on an MPI wrapper for the Fortran Package Manager
After installing OpenMPI via apt,
mpif90
shows invalid library directory flags, which make them useless.I'm using this very simple Dockerfile:
Issue
mpif90 -show
reports a non-existent directory flag:-L/usr/lib/x86_64-linux-gnu/openmpi/lib/fortran/gfortran
:That folder does not exist, nor as a symbolic link.
mpif90 -show
, I get a bunch ofundefined reference
errors, because the MPI libraries can't be foundmpif90
as the compiler, the build succeeds.The other wrappers i.e.
mpicc
report the correct directory:The text was updated successfully, but these errors were encountered: