Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] archlinux segmentation fault error
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-02-29 13:08:22


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
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/