[MPICH] Simple MPI program crashes randomly
Christian Zemlin
zemlinc at upstate.edu
Mon May 28 05:24:19 CDT 2007
The attached program ran literally thousands of times on our old cluster, which has MPICH1 libraries, without any problems.
It is simple in terms of MPI (just the minimum MPI setup + a few Send and Recv commands), although it is fairly long because it implements a complicated model of cardiac tissue.
On our new cluster (with MPICH2) the program crashes with segmentation faults either on the first MPI_Send/Recv or at the end (MPI_Finalize). If you run it several times in a row, it seems to be random which of the two occurs. I have checked carefully that the space for the passed data has been allocated.
I would greatly appreciate if someone with more MPI experience could have a look at the source code and give me his/her opinion.
Best,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070528/2811a785/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RNC.cpp
Type: application/octet-stream
Size: 50481 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070528/2811a785/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile.dat
Type: application/octet-stream
Size: 355 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070528/2811a785/attachment-0001.obj>
More information about the mpich-discuss
mailing list