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/


Reply via email to