From: Josh Guffin <guffin@purdue.edu>
Newsgroups: comp.parallel.mpi
Subject: Re: A real puzzler?
Date: Fri, 16 Jul 1999 09:03:17 -0500
Organization: Purdue University
Message-Id: <Pine.SOL.3.96.990716090304.24880A-100000@herald.cc.purdue.edu>
References: <slrn7osj5q.veo.schuelaw@carrot.whitman.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <slrn7osj5q.veo.schuelaw@carrot.whitman.edu>
Xref: ukc comp.parallel.mpi:5340


I would suggest that you post the relavent source

Cheers

On Thu, 15 Jul 1999, Albert Schueller wrote:

> 
> Hi all,
> 
> I have a simple fortran program that uses mpi.  I start the communicator,
> call a subroutine that has some parallelization in it, shut down the
> communicator and stop the program.  As I was modifying the program, it
> started throwing cores at the mpi_finalize statment, which immediately
> follows the one subroutine call.  I put a print*, myid after the
> subroutine, but before the mpi_finalize and only proc 0 prints out its id
> (while ALL the procs SHOULD print this), which suggests only proc 0 is
> getting returned from the subroutine.  However, if I also put a print*,
> myid immediately before the RETURN statement in the aforementioned
> subroutine, all of the procs sucessfully  print their ids.  This indicates
> that all of the procs are getting to the return statement in the
> subroutine, but only proc 0 is actually getting back to the main program.
> Why are the other procs not getting back to the calling program?
> 
> I should also point out that the program is running properly, except for
> the core dump at mpi_finalize.
> 
> Clues?
> 
> Thanks,
> 
> Albert
> 
> -- 
> Albert Schueller                                 Department of Mathematics
> Office Phone:  509-522-4432                      Whitman College
> Public Key:  http://carrot.whitman.edu/pgp.key   Walla Walla, WA USA 99362
> 
> 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Josh Guffin                                 guffin@purdue.edu =
= Purdue U. HEP - TASK E           expert.cc.purdue.edu/~guffin =
= finger guffin@purdue                #include <std/disclaimer> =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=     

