LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian W. Barrett (brbarret_at_[hidden])
Date: 2004-03-18 12:53:08


On Mar 18, 2004, at 9:48 AM, Derek Liechty wrote:

> I have set up LAM on OSX 10.3.3 and it up and running. Has anyone
> ever tried using LAM (or MPI in general) in XTools in a Cocoa
> application? I included <mpi.h> in the header, but it didn't
> recognize any of the MPI commands (i.e. MPI_Init).

I haven't tried this, but there is no reason it shouldn't be possible.
Unless you use the C++, mpi.h is pure C, so you shouldn't have any
problems with objective-C. One thing that might be a problem is
compiler and linker flags. If you run "mpicc -showme" on the command
line, you can see the flags added during compiling and linking (you'll
have to guess which is which, but it should be fairly
straight-forward).

Are you seeing error messages or anything like that? Including those
in your e-mail might help us track the problem down. If you send some
information, I can give it a try and see if I can replicate your
problem.

Hope this helps,

Brian

-- 
   Brian Barrett
   LAM/MPI developer and all around nice guy
   Have a LAM/MPI day: http://www.lam-mpi.org/