Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] getting fortran90 to compile
From: Brock Palen (brockp_at_[hidden])
Date: 2008-07-13 12:32:18


./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:

Brock Palen
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?
> Zachary
> _______________________________________________
> users mailing list
> users_at_[hidden]