Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Fortran linking problem: libraries have changed
From: Eugene Loh (eugene.loh_at_[hidden])
Date: 2012-04-22 11:57:46


Next Fortran problem.

Oracle MTT managed to build the trunk (r26307) in some cases. No
test-run failures in these cases, but the pass counts are way low.
Turns out, the Fortran tests aren't being built (or run). I try
compiling a Fortran code:

ld: fatal: library -lmpi_f77: not found
ld: fatal: library -lmpi_f90: not found
ld: fatal: File processing errors. No output written to a.out

I try "mpifort --showme" and see that it's trying to link in "-lmpi_f77
-lmpi_f90", but those libraries no longer exist. They have been replaced by
-lmpi_mpifh
-lmpi_usempi_ignore_tkr
-lmpi_usempif08

So, the Fortran wrapper needs to be updated.