Use

./configure --prefix=/path/blah/blah  FC=gfortran F77=gfortran

I think configure will pick up on it?
FC and F77 need to point to the full executable, not just the install path of the compiler, so if gfortran is not in your $PATH set it to the full path:
FC=/usr/bin/gfortran-4.2/bin/gfortran

Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
bro...@umich.edu
(734)936-1985



On Jul 13, 2008, at 11:58 AM, zach wrote:
I installed openmpi like
./configure --prefix=<install dir> FC=/usr/bin/gfortran-4.2
make all install

When i type
mpif90 file1.f90 file2.f90 file3.f90

I get
Unfortunately, this installation of Open MPI was not compiled with
Fortran 90 support.  As such, the mpif90 compiler is non-functional.

What am i doing wrong?

Zachary
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



Reply via email to