From: skaller <skaller@users.sourceforge.net>
To: Rod <rodiney@gmail.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] OCamlMPI problem
Date: Tue, 18 Sep 2007 07:45:54 +1000 [thread overview]
Message-ID: <1190065554.6058.262.camel@rosella.wigram> (raw)
In-Reply-To: <164378d10709171408y5818c858g34b02d7eaa223aab@mail.gmail.com>
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
next prev parent reply other threads:[~2007-09-17 21:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 21:08 Rod
2007-09-17 21:45 ` skaller [this message]
2007-09-18 13:51 ` [Caml-list] " Andres Varon
2007-09-18 19:23 ` Rod
[not found] ` <AE44733D-5A0C-4176-B165-5EF7CDB9C0E7@gmail.com>
2007-10-07 21:33 ` Rod
2007-09-25 18:35 ` Jhou ^^
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1190065554.6058.262.camel@rosella.wigram \
--to=skaller@users.sourceforge.net \
--cc=caml-list@yquem.inria.fr \
--cc=rodiney@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox