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
steinbre xray1.physics.sunysb.edu
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
|