LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Davide Cesari (dcesari_at_[hidden])
Date: 2005-02-01 03:51:17


Brian Barrett ha scritto:

> LAM/MPI does not have a Fortran 90 module, which is part of the MPI-2
> standard. Because of this, we do not have a mpif90 wrapper compiler.
> We do, however, have Fortran bindings for all of MPI-1 and MPI-2 that
> LAM supports. You can, of course, call these bindings from either F77
> or F90.
>
> The "use mpi" statement is part of Fortran 90 - pulling in the Fortran
> 90 module. Since we do not have a F90 module, this is going to fail for
> you (and there's no real workaround). It may be possible to change the
> "use mpi" to a "#include <mpif.h>", but I would guess that would not work.

I can say that I managed to link such a f90 program with LAM/MPI just by
replacing all the "use mpi" with "include 'mpif.h'", I don't know whether it
works in any case but in my case it did.
        ciao, Davide