List Info

Thread: LAM: mpirun error: dyld: Symbol not found: __kio




LAM: mpirun error: dyld: Symbol not found: __kio
user name
2006-05-25 22:39:54
Hi,

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

This then is followed by:

------------------------------------------------------------
------------ 
-----
It seems that [at least] one of the processes that was
started with
mpirun did not invoke MPI_INIT before quitting (it is
possible that
more than one process did not invoke MPI_INIT -- mpirun was
only
notified of the first one, which was on node n8684).

mpirun can *only* be used with MPI programs (i.e., programs
that
invoke MPI_INIT and MPI_FINALIZE).  You can use the
"lamexec" program
to run non-MPI programs over the lambooted nodes.
------------------------------------------------------------
------------ 
-----

Does this sound familiar to anyone?

Thanks for help

Jan

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: mpirun error: dyld: Symbol not found: __kio
user name
2006-05-25 22:55:43
I have very similar problems as well. Can somebody tell us
how to fix  
this?

Ming


On May 25, 2006, at 3:39 PM, Jan F Steinbrener wrote:

> Hi,
>
> 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
>
> This then is followed by:
>
>
------------------------------------------------------------
---------- 
> --
> -----
> It seems that [at least] one of the processes that was
started with
> mpirun did not invoke MPI_INIT before quitting (it is
possible that
> more than one process did not invoke MPI_INIT -- mpirun
was only
> notified of the first one, which was on node n8684).
>
> mpirun can *only* be used with MPI programs (i.e.,
programs that
> invoke MPI_INIT and MPI_FINALIZE).  You can use the
"lamexec" program
> to run non-MPI programs over the lambooted nodes.
>
------------------------------------------------------------
---------- 
> --
> -----
>
> Does this sound familiar to anyone?
>
> Thanks for help
>
> Jan
>
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: mpirun error: dyld: Symbol not found: __kio
user name
2006-05-26 21:24:24
It appears that the linker that links the dynamic libraries
is not  
very flexible as far as searching for dynamic libraries is  
concerned.. I could solve my problem by using mpicc as
compiler and  
not specifying any -L or -I directories. My program is very
simple  
though, it just involved two files, so I just did

mpicc -c mpi_test.c

mpicc -c mpi_functions.c

mpicc -o mpi_test.o mpi_functions.o

that worked for me...

Jan


On May 25, 2006, at 6:55 PM, Mingsheng Wei wrote:

> I have very similar problems as well. Can somebody tell
us how to fix
> this?
>
> Ming
>
>
> On May 25, 2006, at 3:39 PM, Jan F Steinbrener wrote:
>
>> Hi,
>>
>> 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
>>
>> This then is followed by:
>>
>>
------------------------------------------------------------
--------- 
>> -
>> --
>> -----
>> It seems that [at least] one of the processes that
was started with
>> mpirun did not invoke MPI_INIT before quitting (it
is possible that
>> more than one process did not invoke MPI_INIT --
mpirun was only
>> notified of the first one, which was on node
n8684).
>>
>> mpirun can *only* be used with MPI programs (i.e.,
programs that
>> invoke MPI_INIT and MPI_FINALIZE).  You can use the
"lamexec" program
>> to run non-MPI programs over the lambooted nodes.
>>
------------------------------------------------------------
--------- 
>> -
>> --
>> -----
>>
>> Does this sound familiar to anyone?
>>
>> Thanks for help
>>
>> Jan
>>
>> _______________________________________________
>> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
>
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

末末末末末末末末末末末末末末
Jan F Steinbrener

Department of Physics & Astronomy
SUNY Stony Brook
Stony Brook, NY 11794-3800
Phone: (631) 632-8002
steinbrexray1.physics.sunysb.edu




_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: mpirun error: dyld: Symbol not found: __kio
user name
2006-06-08 04:03:45
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/


_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )