On Feb 29, 2012, at 9:39 AM, Stefano Dal Pont wrote:

> I'm a newbie with openMPI so the problem it's probably me :)
> Im using a Fortran 90 code developed under Ubuntu 10.04. I've recently 
> installed the same code on my Archlinux machine but I have some issues 
> concerning openMPI. 
> A simple example-code works fine on both machine while the "big" code gives a 
> segmentation fault error on Archlinux. 
> On Ubuntu gcc 4.3 is used while on Arch gcc version is 4.6. Is there a way to 
> make openmpi use gcc 4.3? 


This is a local configuration issue, not really an Open MPI issue.

Open MPI will compile itself with whichever compiler you tell it to; if you 
have both gcc 4.3 and 4.6 installed correctly on your machine, you can probably 
configure Open MPI with:

./configure CC=/path/to/gcc4.3/bin/gcc CXX=/path/to/gcc4.3/bin/g++ \
   F77=/path/to/gcc4.3/bin/gfortran FC=/path/to/gcc4.3/bin/gfortran ...

Make sense?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to