On May 25, 2006, at 4:39 PM, Jan F Steinbrener wrote:
> I am trying to run a rather simple MPI program using LAM/MPI 7.1.2
> and Mac OS X 10.4.6. It compiles without complaining but when I try
> to run it using mpirun, it prints out the following error message as
> many times as I have processes running:
>
> dyld: Symbol not found: __kio
> Referenced from: /usr/local/lib/libmpi.0.dylib
> Expected in: flat namespace
It sounds like the linker is doing something screwy. Just to make
sure, what is the output of:
mpicc -showme
Are you using the mpicc wrapper compiler to compile and link your
application?
Finally, if you are using XCode 2.3 (the most recent upgrade), it
looks like they did something really screwy with the linker and flat
namespaces. We have to use flat namespaces to make some horrible
things we do for IB and GM. If you aren't using IB or GM, you might
find your problems get much better if you recompile LAM with the --
without-memory-manager option so that you don't have to deal with the
flat namespace issues.
If you need IB or GM support, I'd recommend switching to Open MPI --
we don't have to force a flat namespace with Open MPI, so you get all
the performance without all the linker pain.
Brian
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|