george.
On Mar 5, 2008, at 1:31 AM, Chase Latta wrote:
Thanks for all of your quick replies. However, I tried this an am still receiving the error. I completely removed open-mpi and tried reinstalling it. The configuration options I used were:./configure --prefix=/usr/local --enable-f77 --enable-f90 F77=gfortran FC=gfortran FFLAGS="-m32 -std=legacy" --with-wrapper- fflags="-m32 -std=legacy" --with-mpi-f90-size=medium --enable- mpirun-prefix-by-default FCFLAGS="-m32" --with-wrapper-fcflags="-m32"The condensed output that I received was: *** Configuration options checking Whether to run code coverage... no checking whether to debug memory usage... no checking whether to profile memory usage... no checking if want developer-level compiler pickyness... no checking if want developer-level debugging code... no checking if want Fortran 77 bindings... yes checking if want Fortran 90 bindings... yes checking desired Fortran 90 bindings "size"... medium checking whether to enable PMPI... yes checking if want C++ bindings... yes checking if want MPI::SEEK_SET support... yes checking if want to enable weak symbol support... yes checking if want run-time MPI parameter checking... runtime checking if want to install OMPI header files... no checking if want pretty-print stacktrace... yes checking if want deprecated executable names... no checking if peruse support is required... no checking max supported array dimension in F90 MPI bindings... 4 checking if pty support should be enabled... yes checking if user wants dlopen support... yes checking if heterogeneous support should be enabled... yes checking if want trace file debugging... nochecking if want IPv6 support... yes (if underlying system supports it) checking if want orterun "--prefix" behavior to be enabled by default... yes...Lots of output *** Fortran 90/95 compiler checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking if Fortran compiler works... yes checking whether gfortran and gfortran compilers are compatible... yeschecking for extra arguments to build a shard library... impossible -- -staticchecking for Fortran flag to compile .f files... none checking for Fortran flag to compile .f90 files... none checking for Fortran 90 compiler module include flag... -I checking if Fortran 90 compiler supports LOGICAL... yes checking size of Fortran 90 LOGICAL... 4 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports INTEGER... yes checking size of Fortran 90 INTEGER... 4 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports INTEGER*1... yes checking size of Fortran 90 INTEGER*1... 1 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports INTEGER*2... yes checking size of Fortran 90 INTEGER*2... 2 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports INTEGER*4... yes checking size of Fortran 90 INTEGER*4... 4 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports INTEGER*8... yes checking size of Fortran 90 INTEGER*8... 8 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports INTEGER*16... no checking if Fortran 90 compiler supports REAL... yes checking size of Fortran 90 REAL... 4 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports REAL*4... yes checking size of Fortran 90 REAL*4... 4 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports REAL*8... yes checking size of Fortran 90 REAL*8... 8 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports REAL*16... no checking if Fortran 90 compiler supports DOUBLE PRECISION... yes checking size of Fortran 90 DOUBLE PRECISION... 8 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports COMPLEX... yes checking size of Fortran 90 COMPLEX... 8 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports COMPLEX*8... yes checking size of Fortran 90 COMPLEX*8... 8 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports COMPLEX*16... yes checking size of Fortran 90 COMPLEX*16... 16 checking if Fortran 77 and 90 type sizes match... yes checking if Fortran 90 compiler supports COMPLEX*32... no checking if Fortran 90 compiler supports DOUBLE COMPLEX... yes checking size of Fortran 90 DOUBLE COMPLEX... 16checking Fortran 90 kind of MPI_INTEGER_KIND (selected_int_kind(9))... 4 checking Fortran 90 kind of MPI_ADDRESS_KIND (selected_int_kind(9))... (cached) 4checking Fortran 90 kind of MPI_OFFSET_KIND (selected_int_kind(18))... .... Plus a lot more output.... However, when I run mpif90 I get the following output: -------------------------------------------------------------------------- Unfortunately, this installation of Open MPI was not compiled with Fortran 90 support. As such, the mpif90 compiler is non-functional. -------------------------------------------------------------------------- Any ideas????? Thanks again, Chase ----- Original Message ---- From: "Teige, Scott W" <ste...@indiana.edu> To: Chase Latta <chasela...@yahoo.com> Sent: Tuesday, March 4, 2008 8:38:59 AMSubject: Re: [OMPI users] Problems Compiling gfortran on mac os-x 10.5.3You might also add: FFLAGS="-m32 -std=legacy" \ --with-wrapper-fflags="-m32 -std=legacy" to your configure. This will get gfortran to compile f77 sources. (and the mpi wrapped gfortran to do the same) S. Quoting Chase Latta <chasela...@yahoo.com>: > Hello, >> I am working with a few other physics students on my campus to try to> get open-mpi to run on a cluster of 8 imacs all running mac os-x > 10.5.3. Before I start I will let you know that we are not the most > savvy programmers so any detailed information would be much > appreciated. > > We ran the default install of open-mpi and everything installed> correctly. We are able to compile and run c programs using the mpicc> wrappers. The problem that we are having is that we are unable to > get the fortran wrappers to work. We are using gfortran and the> compiler works perfectly on its own. To enable the wrapper compilers> I ran the command ./configure --enable-f77 --enable-f90 F77=gfortran > F90=gfortran. I then ran the make and make install commands. > Everything appeared to work correctly. The problem is that when I > try to compile a program with mpif90 I get an error saying that> open-mpi was not built with fortran 90 support (the same happens with> f77). I have looked everywhere in the faq's and cannot figure out > why this is happening. The only thing that I can think is that when > I tell the F90 wrapper to use gfortran it tells me that there are no > flags in my compiler to compiler to compile .f and .f90 files; even > though I can compile .f > and .f90 files with my gfortran compiler. Any help would be very > much appreciated. > > Thanks in advance, > Chase > > > > >> ____________________________________________________________________________________> Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >Looking for last minute shopping deals? Find them fast with Yahoo! Search._______________________________________________users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
smime.p7s
Description: S/MIME cryptographic signature