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=AWL,HTML_MESSAGE,NO_REAL_NAME, 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 6BF7ABC69 for ; Mon, 1 Oct 2007 09:30:13 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAE8/AEfPLfoin2dsb2JhbACCcYpOcwIBAQcEBgcIGA X-IronPort-AV: E=Sophos;i="4.21,215,1188770400"; d="scan'208,217";a="17066406" Received: from parmail02.sgcib.com ([207.45.250.34]) by mail4-smtp-sop.national.inria.fr with ESMTP; 01 Oct 2007 09:30:11 +0200 X-IronPort-AV: i="4.21,215,1188770400"; d="scan'208,217"; a="243165771:sNHT63700734" Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C803FC.E32D3272" X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: RE: [Caml-list] (help) new kind of error <-> OcamlMPI Date: Mon, 1 Oct 2007 09:30:05 +0200 Message-ID: <0172C3AE3A0E964797AF43E206C1048F0ED49C@FRCOR-EXMB06.europe.am.socgen> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] (help) new kind of error <-> OcamlMPI Thread-Index: AcgDESg92JhAdifzTkWD/nWY/chumAA63JXw From: To: , , X-OriginalArrivalTime: 01 Oct 2007 07:30:06.0282 (UTC) FILETIME=[E3755AA0:01C803FC] X-NAI-Spam-Score: -1.2 X-Spam: no; 0.00; ocamlmpi:01 ocamlmpi:01 ocamlc:01 usr:01 lib:01 usr:01 lib:01 ocaml:01 ocamlc:01 ocaml:01 runtime:01 runtime:01 mate:98 1.01:98 1.01:98 This is a multi-part message in MIME format. ------_=_NextPart_001_01C803FC.E32D3272 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm rather a win32 user of MPI, so i may be missing some issues. In your command line, you are rather linking with the lan-mpi library, so i= t is normal that the mpi version that gets linked is the lan-mpi version. There should be another mpi library, rather in the mpich2 install directory. =20 Hope this helps. Sincerely, Rabih Chaar =20 ________________________________ De : caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inria= .fr] De la part de Rod Envoy=E9 : dimanche 30 septembre 2007 05:22 =C0 : caml-list@yquem.inria.fr; Andres Varon Objet : [Caml-list] (help) new kind of error <-> OcamlMPI =20 Hi there!! Here we go! Well.. I'm still having some troubles with OcamlMPI. Mr. Andres Varon, I just tried to compile test.ml file (i.e.: regression te= st), which is available on the latest release provided by Mr. Xavier Leroy,= by doing what you suggested me to do. Unfortunately, it still didn't work.= Thanks anyway, mate! So, after some time working on that issue, I've eventually got it compiled = by doing the following: [rodiney@homer ocamlmpi-1.01]$ ocamlc -o testmpi mpi.cma unix.cma test.ml -= ccopt -L/usr/lib/lam -ccopt -L/usr/lib/ocaml/ocamlmpi -ccopt -llam -ccopt -= lutil Here is the output: [rodiney@homer ocamlmpi-1.01]$ ocamlc -o testmpi mpi.cma unix.cma test.ml -= ccopt -L/usr/lib/lam -ccopt -L/usr/lib/ocaml/ocamlmpi -ccopt -llam -ccopt -= lutil File "test.ml", line 144, characters 6-9: Warning Y: unused variable res. [rodiney@homer ocamlmpi-1.01]$ As you all can see, there is only a warning message. I mean.. no big deal. = So, that command line works pretty good. The problem occurs when I try to execute 'testmpi' file. I'm getting the following message when doing this: rodiney@homer ocamlmpi-1.01]$ mpirun -np 1 ./testmpi ---------------------------------------------------------------------------= ------------ It seems that there is no lamd running on the host homer. This indicates that the LAM/MPI runtime environment is not operating. The LAM/MPI runtime environment is necessary for MPI programs to run (the MPI program tired to invoke the "MPI_Init" function). Please run the "lamboot" command the start the LAM/MPI runtime environment. See the LAM/MPI documentation for how to invoke "lamboot" across multiple machines. ---------------------------------------------------------------------------= ------------ The same message appears by doing 'mpiexec -n 1 ./testmpi' as well. I would like to remember you, guys, that I'm using MPICH2 implementation of= MPI (mpich2-1.0.6). So, although MPICH2 is already installed and configured properly, the messa= ge displayed above is just asking to start 'lamboot'. However, 'lamboot' is= a tool provided by LAM/MPI: yet another an MPI implementation. Why it is a= sking me for 'lamboot' if I'm using the 'mpd' daemon (i.e.: the process man= ager) from MPICH2?? Hmm. OK.. I've just started 'lamboot' and I did 'mpiexec -n 1 ./testmp' (or= 'mpirun -np 1 ./testmpi') once more. Below is the output: [rodiney@homer ocamlmpi-1.01]$ mpiexec -n 1 ./testmpi MPI process rank 0 (n0, p3915) caught a SIGSEGV in MPI_Errhandler_free. Rank (0, MPI_COMM_WORLD): Call stack within LAM: Rank (0, MPI_COMM_WORLD): - MPI_Errhandler_free() Rank (0, MPI_COMM_WORLD): - MPI_Errhandler_set() Rank (0, MPI_COMM_WORLD): - main() So, that's the point. What should I do to solve this problem and get 'testm= pi' working?? Please, help me!!! I'm almost loosing my mind!! LOL I'm looking forward for any help!!! Thanks in advance and sorry for such a long message. That's it!! Best regards, Rodiney=20 Ce message et toutes les pieces jointes (ci-apres le "message") sont confid= entiels et etablis a l'intention exclusive de ses destinataires.=20 Toute utilisation ou diffusion non autorisee est interdite.=20 Tout message electronique est susceptible d'alteration.=20 Societe Generale Asset Management et ses filiales declinent toute responsab= ilite au titre de ce message s'il a ete altere, deforme ou falsifie.=20 =20 Decouvrez l'offre et les services de Societe Generale Asset Management sur = le site www.sgam.fr=20 =20 ********=20 =20 This message and any attachments (the "message") are confidential and inten= ded solely for the addressees.=20 Any unauthorised use or dissemination is prohibited.=20 E-mails are susceptible to alteration.=20 Neither Societe Generale Asset Management nor any of its subsidiaries or af= filiates shall be liable for the message if altered, changed or falsified.=20 =20 Find out more about Societe Generale Asset Management's proposal on www.sga= m=2Ecom ------_=_NextPart_001_01C803FC.E32D3272 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I’m rather a = win32 user of MPI, so i may be missing some issues.

In your command lin= e, you are rather linking with the lan-mpi library, so it is normal that the mpi version that gets linked is the lan-mpi version.

There should be ano= ther mpi library, rather in the mpich2 install directory.

 

Hope this helps.

Sincerely,

Rabih Chaar

 


De : caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inria.fr] = De la part de Rod
Envoy=E9 : dimanche 30 septembre 2007 05:22
=C0 : caml-list@yquem.i= nria.fr; Andres Varon
Objet : [Caml-list] (he= lp) new kind of error <-> OcamlMPI

 

Hi there!! Here we go!
Well.. I'm still having some troubles with OcamlMPI.
Mr. Andres Varon, I just tried to compile test.m= l file (i.e.: regression test), which is available on the latest release prov= ided by Mr. Xavier Leroy, by doing what you suggested me to do. Unfortunately, it still didn't work. Thanks anyway, mate!

So, after some time working on that issue, I've eventually got it compiled = by doing the following:

[rodiney@homer ocamlmpi-1.01]$ ocamlc -o testmpi mpi.cma unix.cma test.ml -ccopt -L/usr/lib/lam -ccopt -L/usr/lib/ocaml/ocamlmpi -ccopt -llam -ccopt -lutil

Here is the output:

[rodiney@homer ocamlmpi-1.01]$ ocamlc -o testmpi mpi.cma unix.cma test.ml -ccopt -L/usr/lib/lam -ccopt -L/usr/lib/ocaml/ocamlmpi -ccopt -llam -ccopt -lutil
File "test.ml", line 144, characte= rs 6-9:
Warning Y: unused variable res.
[rodiney@homer ocamlmpi-1.01]$

As you all can see, there is only a warning message. I mean.. no big deal. = So, that command line works pretty good.
The problem occurs when I try to execute 'testmpi' file.
I'm  getting the following message when doing this:

rodiney@homer ocamlmpi-1.01]$ mpirun -np 1 ./testmpi
---------------------------------------------------------------------------= ------------
It seems that there is no lamd running on the host homer.

This indicates that the LAM/MPI runtime environment is not operating.
The LAM/MPI runtime environment is necessary for MPI programs to run
(the MPI program tired to invoke the "MPI_Init" function).

Please run the "lamboot" command the start the LAM/MPI runtime
environment.  See the LAM/MPI documentation for how to invoke
"lamboot" across multiple machines.
---------------------------------------------------------------------------= ------------

The same message appears by doing 'mpiexec -n 1 ./testmpi' as well.

I would like to remember you, guys, that I'm using MPICH2 implementation of= MPI (mpich2-1.0.6).
So, although MPICH2 is already installed and configured properly, the messa= ge displayed above is just asking to start 'lamboot'. However, 'lamboot' is a = tool provided by LAM/MPI: yet another an MPI implementation. Why it is asking me= for 'lamboot' if I'm using the 'mpd' daemon (i.e.: the process manager) from MPICH2??

Hmm. OK.. I've just started 'lamboot' and I did 'mpiexec -n 1 ./testmp' (or 'mpirun -np 1 ./testmpi') once more. Below is the output:

[rodiney@homer ocamlmpi-1.01]$ mpiexec -n 1 ./testmpi
MPI process rank 0 (n0, p3915) caught a SIGSEGV in MPI_Errhandler_free.
Rank (0, MPI_COMM_WORLD): Call stack within LAM:
Rank (0, MPI_COMM_WORLD):  - MPI_Errhandler_free()
Rank (0, MPI_COMM_WORLD):  - MPI_Errhandler_set()
Rank (0, MPI_COMM_WORLD):  - main()

So, that's the point. What should I do to solve this problem and get 'testm= pi' working??
Please, help me!!! I'm almost loosing my mind!! LOL
I'm looking forward for any help!!!
Thanks in advance and sorry for such a long message. That's it!!

Best regards,

            &nb= sp;       Rodiney

Ce message et toutes les pieces jointes (ci-apres le "message") sont c=
onfidentiels et etablis a l'intention exclusive de ses destinataires.=20
Toute utilisation ou diffusion non autorisee est interdite.=20
Tout message electronique est susceptible d'alteration.=20
Societe Generale Asset Management et ses filiales declinent toute responsab=
ilite au titre de ce message s'il a ete altere, deforme ou falsifie.=20
 =20
Decouvrez l'offre et les services de Societe Generale Asset Management sur =
le site www.sgam.fr=20
 =20
                                ********=20
 =20
This message and any attachments (the "message") are confidential and inten=
ded solely for the addressees.=20
Any unauthorised use or dissemination is prohibited.=20
E-mails are susceptible to alteration.=20
Neither Societe Generale Asset Management nor any of its subsidiaries or af=
filiates shall be liable for the message if altered, changed or falsified.=20
=20
Find out more about Societe Generale Asset Management's proposal on www.sga=
m=2Ecom
------_=_NextPart_001_01C803FC.E32D3272--