LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-11-13 08:21:50


On Nov 10, 2004, at 11:18 PM, John Lau wrote:

> I am studying if LAM support F90. I read the user guide and it said
> that
> LAM do not have F90 module. But we can use F77 binding with a F90
> compiler by specify the compiler in configuration.
>
> But I would like to ask, if I have both F77 and F90 compiler, can I set
> both in configure and have both mpif77 and mpif90 after compilation?

Unfortunately not. LAM 7.x only supports one wrapper compiler for
fortran -- mpif77. You can change the back-end compiler via
environment variables, but there's still only one.

Open MPI, unreleased as of yet, has both mpif77 and mpif90, and also a
fortran 90 MPI module.

> It seems that if I use a F90 compiler in configuration, a mpif77 will
> be
> compiled and it is actually a "mpif90", am I right?

Not in LAM, no. Sorry. :-\

Recall that wrapper compilers are not part of the MPI specification --
they're a convenience created by the MPI implementation. LAM only has
an mpif77 wrapper, not an mpif90 wrapper.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/