[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | skaller <skaller@u...> |
| Subject: | Re: [Caml-list] OCamlMPI problem |
On Mon, 2007-09-17 at 18:08 -0300, Rod wrote: > Hi all, > > I'm trying to compile the test file using ocamlmpi, but just what > I have is this message > ------------------------------------------------------------------------------- > ocamlc -o testmpi unix.cma mpi.cma test.ml -ccopt -L. > File "test.ml", line 144, characters 6-9: > Warning Y: unused variable res. > /usr/bin/ld: cannot find -lmpi > collect2: ld returned 1 exit status > Error while building custom runtime system > ----------------------------------------------------------------------------- > > I'm using mpich2-1.0.5p4. Try 'locate libmpi' to find where it is on your system. I have this: $ ls -lasp /usr/lib/libmpi.so 0 lrwxrwxrwx 1 root root 27 2006-08-29 06:45 /usr/lib/libmpi.so -> /etc/alternatives/libmpi.so $ ls -lasp /etc/alternatives/libmpi.so 0 lrwxrwxrwx 1 root root 37 2007-04-20 04:06 /etc/alternatives/libmpi.so -> /usr/lib/mpich/lib/shared/libmpich.so $ ls -lasp /usr/lib/mpich/lib/shared/libmpich.so 0 lrwxrwxrwx 1 root root 15 2007-04-20 03:52 /usr/lib/mpich/lib/shared/libmpich.so -> libmpich.so.1.0 $ ls -lasp /usr/lib/mpich/lib/shared/libmpich.so.1.0 824 -rw-r--r-- 1 root root 837128 2006-11-12 06:59 /usr/lib/mpich/lib/shared/libmpich.so.1.0 Hey, finally found it! [Ubuntu Linux] -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net