From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 9D356BC69 for ; Tue, 25 Sep 2007 20:35:51 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPDx+EZC+VytkGdsb2JhbACCcIs8AQEBAQcEBBERB5dv X-IronPort-AV: E=Sophos;i="4.20,296,1186351200"; d="scan'208";a="16770123" Received: from ug-out-1314.google.com ([66.249.92.173]) by mail4-smtp-sop.national.inria.fr with ESMTP; 25 Sep 2007 20:35:51 +0200 Received: by ug-out-1314.google.com with SMTP id m3so999389ugc for ; Tue, 25 Sep 2007 11:35:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=GgbZThoQO/uUw708FgahmzeFVO0VLp9uQBVSA7wLI0k=; b=WmCqShTscCoeK/4So1VILdtFaIXE1z/7hLDqP5S1LXZ8aFQ7Em4q4Ki0+0f/XzrsILdXfUM47j0JBiwL3O5sytC24dNcEw58cM1UX2Ma14jGx/gw7dmF3nypi0TSR5rsBsK4m89FjVJ0gnHvijC5LTQFaj6NUKpArGKwG5pK+nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HMxj+rccX3QKbpQ6UEQxleWp1jcn2cXt36ZdT7io+wDb+xRQcjq8mhrARKgxVQqoxe2928MFDutC0rqjZXTcVBJTBVW3duzH6rjzSlyt7QgTmTuvHSiDAcMDE1EYgcVTBaEWcBIZ4fFgqKTrGm7/QqZkWadHgW5JUBwKZLx166M= Received: by 10.78.122.16 with SMTP id u16mr3374664huc.1190745349917; Tue, 25 Sep 2007 11:35:49 -0700 (PDT) Received: by 10.78.148.9 with HTTP; Tue, 25 Sep 2007 11:35:49 -0700 (PDT) Message-ID: <9efd48050709251135j2bb8bdffjfaf1dc5506dba8ef@mail.gmail.com> Date: Tue, 25 Sep 2007 15:35:49 -0300 From: "Jhou ^^" To: "Andres Varon" Subject: Re: [Caml-list] OCamlMPI problem Cc: caml-list@yquem.inria.fr In-Reply-To: <8BB4C643-AC23-44E8-A5AE-FF6888BB2D0E@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2322_12641266.1190745349905" References: <164378d10709171408y5818c858g34b02d7eaa223aab@mail.gmail.com> <8BB4C643-AC23-44E8-A5AE-FF6888BB2D0E@gmail.com> X-Spam: no; 0.00; ocamlmpi:01 ocaml:01 ocaml:01 compiler:01 flags:01 compilation:01 ocamlc:01 ocamlmpi:01 ocamlc:01 usr:01 runtime:01 beginner's:01 bug:01 beginner's:01 bug:01 ------=_Part_2322_12641266.1190745349905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 : > > 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: > 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 > > > > _______________________________________________ > 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 > > ------=_Part_2322_12641266.1190745349905 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_2322_12641266.1190745349905--