Open MPI logo

Open MPI User's Mailing List Archives

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

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2007-10-25 10:58:23


On Sun, 21 Oct 2007, Tony Sheh wrote:

> I'm working in xcode and i'm trying to build an application that
> links against the OMPI libraries. So far i've included the following
> files in the build:
>
> libmpi.dylib
> libopen-pal.dylib
> libopen-rte.dylib
>
> and the errors i get are
>
> Undefined symbols:
> .... all the MPI functions you can think of......

Can you copy the link line that XCode invoked as well as the actual error
message? It's likely that the link line is just incorrect for some
reason. Another option is to have XCode just invoke the MPI wrapper
compilers instead of trying to figure out all the right magic. There's an
unsupported FAQ on doing this on our web page:

   http://www.open-mpi.org/faq/?category=osx#xcode

Good luck,

Brian