Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCamlMPI Problems
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Schulte <schulte.eric@g...>
Subject: OCamlMPI Problems
Hi,

I've been trying to install ocamlmpi-1.01 with mpich2-1.1.1p1 on a Mac.

I've followed the helpful instructions found in previous email threads
on this list (specifically here [1]).  However after successfully
installing mpich2 and making the changes to my Makefile, although I am
able to compile the testmpi executable with the following [2],
attempting to run the resulting executable segfaults [3].

Does anyone have any suggestions, or an idea of if this problem is most
likely in my configuration of OCamlMPI, or possibly in my mpich2
instillation?

Thanks -- Eric

Footnotes: 
[1]  http://caml.inria.fr/pub/ml-archives/caml-list/2007/10/3e20fe358a148af4095eba48e32c338e.en.html

[2]  
( ~/src/ocamlmpi-1.01 ) ocamlc -cc mpicc -o testmpi unix.cma mpi.cma test.ml -ccopt -L
File "test.ml", line 144, characters 6-9:
Warning Y: unused variable res.

[3]  
( ~/src/ocamlmpi-1.01 ) mpiexec -n 1 testmpi 
[eschulte:02147] *** Process received signal ***
[eschulte:02147] Signal: Segmentation fault (11)
[eschulte:02147] Signal code: Address not mapped (1)
[eschulte:02147] Failing at address: 0x44000088
[ 1] [0xbfffef68, 0x44000088] (-P-)
[ 2] (caml_mpi_init + 0x91) [0xbfffef98, 0x00001b6e] 
[ 3] (caml_interprete + 0x1861) [0xbffff168, 0x000097c8] 
[ 4] (caml_main + 0x3ac) [0xbffff1d8, 0x0000b4ee] 
[ 5] (main + 0x11) [0xbffff1f8, 0x0000b6b5] 
[ 6] (start + 0x36) [0xbffff214, 0x00001a32] 
[ 7] [0x00000000, 0x00000001] (FP-)
[eschulte:02147] *** End of error message ***
mpiexec noticed that job rank 0 with PID 2147 on node eschulte.local exited on signal 11 (Segmentation fault).