Newsgroups: comp.parallel.mpi
From: Slawomir Blonski <sxblonsk@c-mail.apgea.army.mil>
Subject: help: program do not return from MPI_Finalize
Organization: NRC-ERDEC
Date: Fri, 17 Oct 1997 17:45:39 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3447A442.36C62BA8@c-mail.apgea.army.mil>

I'm working on porting an MPI-based application to the SGI environment
(using the MPI implementation from Silicon Graphics). When I do a test
run (multiple processes on a single-processor workstation), the program
finishes calculations, but does not return from the call to
MPI_Finalize. What may be the reason for such a behavior? I looked into
the MPI standard documents, but did not find a clue. I haven't written
that application, so I cannot tell much about what is happening between
the calls to MPI_Init and MPI_Finalize, but when I inserted a call to
MPI_Barrier just before the call to MPI_Finalize, the barrier was
cleared by all the processes running and the program ended up  in the
finalize call again.
I also tested the MPI installation by running a simple program -- seems
OK (ftp://info.mcs.anl.gov/pub/mpi/using/examples/simplempi/cpi.c).

Slawomir Blonski



