Hi list!!!
After a hard work, I've eventually got testempi compiled. However, I'm facing a new kind of problem now. When I just try to run testempi with mpiexec tool, the 'mpd' process manager (that is, the default process manager provided by MPICH2 implementation of MPI library) can not  work properly. Instead,  I got an error message that says the 'lamd' daemon isn't running. So, it asks me for starting 'lamboot'. So, I'm litte confused here: is lamboot a tool from LAM/MPI Implementation, isn't it? Then, what about MPICH2? I mean... do I need to use LAM/MPI to execute ocaml MPI application? How can I get ocaml working good with MPICH2? 'cause I've already installed and configured MPICH2 in my cluster.
By the way, does anybody know where to find a good tutorial about ocaml MPI?? You know.. something with examples and so on!
Thanks in advance in sorry for my bad english!!

2007/9/18, Andres Varon < avaron@gmail.com>:
You need to use mpicc as the C compiler and linker. That will take care of passing whatever flags are needed for proper compilation and linking. You can pass it to ocaml with:

ocamlc -cc mpicc -o testmpi unix.cma mpi.cma test.ml -ccopt -L.



Andres


On Sep 17, 2007, at 5:08 PM, 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.

Thanks in advance for any answer.

Cheer,
Rodiney

_______________________________________________
Caml-list mailing list. Subscription management:


_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs