Re: [OMPI users] getting fortran90 to compile

2008-07-14 Thread Jeff Squyres
On Jul 13, 2008, at 2:06 PM, Doug Reeder wrote: I believe you need to ad F90=/usr/bin/gfortran-4.2 (or something similar) to the configure arguments, FC= just gets f77 support. A minor clarification: - FC is for the Fortran 90 compiler - F77 is for the Fortran 77 compiler (we didn't make th

Re: [OMPI users] getting fortran90 to compile

2008-07-13 Thread Terry Frankcombe
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 partic

Re: [OMPI users] getting fortran90 to compile

2008-07-13 Thread Doug Reeder
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 typ

Re: [OMPI users] getting fortran90 to compile

2008-07-13 Thread Brock Palen
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/gfo