Re: [OMPI users] f90 support not built with gfortran?

2007-06-12 Thread Jeff Pummill

Thanks guys!

Setting F77=gfortran did the trick.


Jeff F. Pummill
Senior Linux Cluster Administrator
University of Arkansas
Fayetteville, Arkansas 72701
(479) 575 - 4590
http://hpc.uark.edu

"A supercomputer is a device for turning compute-bound
problems into I/O-bound problems." -Seymour Cray


Jeff Squyres wrote:

On Jun 12, 2007, at 5:56 AM, Terry Frankcombe wrote:

  

I downloaded and configured v1.2.2 this morning on an Opteron cluster
using the following configure directives...

./configure --prefix=/share/apps CC=gcc CXX=g++ F77=g77 FC=gfortran
CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64
  

What does config.log say?  (Look for 'Fortran 90'.)  config.log should
be your first port of call when trying to debug build problems in any
"configure"-d project.



Exactly.  OMPI's configure probably determined that it should not  
build the F90 bindings, so it didn't (hence, mpif90 is non- 
functional).  If I had to guess, it's because you specified both g77  
and gfortran.  When using gfortran, you should probably use it for  
both F77 and FC.  That will likely fix your problem.


If it doesn't, please see this web page for more details on getting  
help:


 http://www.open-mpi.org/community/help/

Consider this a compile-time problem (because OMPI decided not to  
build the F90 bindings) and send all the information listed.  Thanks!


  


Re: [OMPI users] f90 support not built with gfortran?

2007-06-12 Thread Jeff Squyres

On Jun 12, 2007, at 5:56 AM, Terry Frankcombe wrote:


I downloaded and configured v1.2.2 this morning on an Opteron cluster
using the following configure directives...

./configure --prefix=/share/apps CC=gcc CXX=g++ F77=g77 FC=gfortran
CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64


What does config.log say?  (Look for 'Fortran 90'.)  config.log should
be your first port of call when trying to debug build problems in any
"configure"-d project.


Exactly.  OMPI's configure probably determined that it should not  
build the F90 bindings, so it didn't (hence, mpif90 is non- 
functional).  If I had to guess, it's because you specified both g77  
and gfortran.  When using gfortran, you should probably use it for  
both F77 and FC.  That will likely fix your problem.


If it doesn't, please see this web page for more details on getting  
help:


http://www.open-mpi.org/community/help/

Consider this a compile-time problem (because OMPI decided not to  
build the F90 bindings) and send all the information listed.  Thanks!


--
Jeff Squyres
Cisco Systems



Re: [OMPI users] f90 support not built with gfortran?

2007-06-12 Thread Terry Frankcombe
On Mon, 2007-06-11 at 12:10 -0500, Jeff Pummill wrote:
> Greetings all,
> 
> I downloaded and configured v1.2.2 this morning on an Opteron cluster
> using the following configure directives...
> 
> ./configure --prefix=/share/apps CC=gcc CXX=g++ F77=g77 FC=gfortran
> CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 


What does config.log say?  (Look for 'Fortran 90'.)  config.log should
be your first port of call when trying to debug build problems in any
"configure"-d project.





[OMPI users] f90 support not built with gfortran?

2007-06-11 Thread Jeff Pummill

Greetings all,

I downloaded and configured v1.2.2 this morning on an Opteron cluster 
using the following configure directives...


./configure --prefix=/share/apps CC=gcc CXX=g++ F77=g77 FC=gfortran 
CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64


Compilation seemed to go OK and there IS an mpif90 option in 
/bin..but it gives me the following error when I try to compile my 
source file:


/share/apps/bin/mpif90 -c -I/share/apps/include -O3 ft.f
Unfortunately, this installation of Open MPI was not compiled with
Fortran 90 support.  As such, the mpif90 compiler is non-functional.

I am certain that gfortran is installed and working correctly as I 
tested compilation of a small piece of serial code with it.


Something I am doing wrong?

--
Jeff F. Pummill
Senior Linux Cluster Administrator
University of Arkansas
Fayetteville, Arkansas 72701