Note that George listed the v1.2 OMPI libraries (-lopen-rte and - lopenpal) -- the v.1.1.x names are slightly different (-lorte and - lopal). We had to change the back-end library names between v1.1 and v1.2 because someone else out in the Linux community uses "libopal".

I typically prefer using "mpicc" as CC and LINKER and therefore letting the OMPI wrapper handle everything for exactly this reason.


On Feb 21, 2007, at 12:39 PM, Eric Thibodeau wrote:

Hi George,

        Would you say this is preferred to changing the default CC + LINKER?
Eric
Le mercredi 21 février 2007 12:04, George Bosilca a écrit :
You should use something like this
MPdir = /usr/local/mpi
MPinc = -I$(MPdir)/include
MPlib = -L$(MPdir)/lib -lmpi -lopen-rte -lopen-pal

   george.

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems


Reply via email to