Fortran 90 and BeoMPI

Daniel Ridge newt at scyld.com
Tue Mar 13 18:32:18 PST 2001


Frank,

I would suggest ditching the mpif90 wrapper altogether and just invoke the
Fortran compiler directly.

'lf95 -lmpif myfile.f90' (or equivalent command line)

The point of the compiler wrappers that some MPI vendors ship is usually
one of:

	1. hide the rat's nest of little libraries from the end user

	2. maintain compatibility with an earlier MPI that (see 1)

These reasons leave a bad taste in my mouth. You should be able to treat
MPI like any other library.

Let me know if this works for you.

Regards,
	Dan Ridge
	Scyld Computing Corporation

On Wed, 14 Mar 2001, Frank Muldoon wrote:

> Does anyone out there use F90 with BeoMPI ?  I have set up a cluster and
> gotten BeoMPI to work with f77 i.e. g77.  I am having problems with the
> link part of the step.  I have edited the supplied mpif90 script and
> haven't had any more luck then trying "mpif90 -f90=lf95 myfile.f90".  I
> get error messages about being unable to find the mpi routines in the
> link stage.
> 
> Thanks,
> Frank






More information about the Beowulf mailing list