Re: [OMPI users] getting fortran90 to compile
On Sun, 2008-07-13 at 10:58 -0500, zach wrote: > I installed openmpi like > ./configure --prefix= FC=/usr/bin/gfortran-4.2 > make all install If gfortran is in your path (which is usually the best way to have it set up) then ./configure --prefix= should work. (It does for me.) Is there a particular reason you are trying to point to a particular version of gfortran? Is that gfortran different to the rest of your system gcc? If so, that's generally a bad idea. Ciao Terry
Re: [OMPI users] getting fortran90 to compile
Zachary, I believe you need to ad F90=/usr/bin/gfortran-4.2 (or something similar) to the configure arguments, FC= just gets f77 support. Doug Reeder On Jul 13, 2008, at 8:58 AM, zach wrote: I installed openmpi like ./configure --prefix= 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
Re: [OMPI users] getting fortran90 to compile
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= 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
[OMPI users] getting fortran90 to compile
I installed openmpi like ./configure --prefix= 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