Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-06-07 23:15:52


On Jun 7, 2006, at 8:20 AM, Weihua Li wrote:

> CPU: AMD opeteron Linux86-64
> I used the following command to configure the open-mpi-1.0.2.
> ./configure --prefix=/home/ytang/gdata/whli/openmpi CC=pgcc
> CXX=pgCC F90=gpf90 --with-openib

The F90 environment variable doesn't do anything to configure. You
need to set F77 (for Fortran 77) and FC for Fortran 90. Most likely,
configure picked up gfortran for your Fortran 90 compiler, causing
the error messages.

> I know it must be something wrong with the installation of open-
> mpi, but I don't know where it is.

I think part of it is the Fortran 90 compiler name. The rest, as
Hugh mentioned, is that you really should use the wrapper compilers
or look at the wrapper compiler configuration output to see what
flags and libraries the Open MPI installation deems necessary. You
can do this by running:

   mpif90 -showme

Hope this helps,

Brian

-- 
   Brian Barrett
   Open MPI developer
   http://www.open-mpi.org/