Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MPI programming

Hello, I'm wondering if MPI library is supported in Leopard.
I noticed that there is mpi.h but I got the linking error.
How can I compile mpi program successfully?

kate

macbook, Mac OS X (10.5)

Posted on Mar 5, 2008 1:32 AM

Reply
Question marked as Best reply

Posted on Mar 19, 2008 1:07 PM

Kate,

The openmpi libraries are in /usr/lib. You need to add -L/usr/lib -lmpi -lmpi_cxx to your compile or ld line.

Doug
2 replies

MPI programming

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.