./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:
Center for Advanced Computing
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?
> users mailing list