[mpich-discuss] g95 and mpich2 on new x86_64 MacOS 10.6 machine

Robert Kerr Robert.Kerr at warwick.ac.uk
Sat May 29 17:10:24 CDT 2010


Thanks everyone who helped me do this.  I now have working mpi versions
of everything I need.  Here are the suggestions I got and what I eventually
used.

I have only one question left, which is any recommendations on the proper
F90/F95 compiler to use.

Suggestions:
From:   Anthony Chan <chan at mcs.anl.gov>
Try setting FFLAGS=-m64 and F90FLAGS=-m64 as part of configure command.

From:   Pavan Balaji <balaji at mcs.anl.gov>
% ./configure F77=<64-bit_compiler> F90=<64-bit_compiler>

        From:   Dave Goodell <goodell at mcs.anl.gov>
I passed FFLAGS="-arch x86_64" F90FLAGS="-arch x86_64" to configure.
-m64 might work as well.

THIS is what got me there:
./configure F77=gfortran-4.2 FFLAGS='-arch x86_64' F90=gfortran-4.2
F90FLAGS='-arch x86_64' --prefix=/Users/kerrrobt/mpich2-install 2>&1 |
tee c.txt

The compiler I used was gotten from the following web site:
http://r.research.att.com/tools/
Go to: gfortran-4.2.3.dmg

I also downloaded a g95 compiler.  This was what I tried first.
It probably didn't work due to missing the FFLAGS/F90FLAGS, but
I haven't gone back to see if it would work with these flags set..

I got the g95 compiler from the web site: http://www.g95.org/downloads.shtml
where I downloaded at line x86 OSX by clicking on HTTP.

Any further recommendations on compilers?

Robert M. Kerr    
School of Engineering
University of Warwick
Coventry CV4 7AL, United Kingdom


More information about the mpich-discuss mailing list