From: Joachim Worringen <joachim@lfbs.rwth-aachen.de>
Newsgroups: comp.parallel.mpi
Subject: Re: MPI_Barrier - how about argument checking ?
Date: Tue, 15 Sep 1998 09:37:33 +0200
Organization: Chair for Operating Systems, RWTH Aachen
Message-Id: <35FE193D.44BD5EAF@lfbs.rwth-aachen.de>
References: <35FD350E.41C6@malaga.math.uni-augsburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Peter Schaefer wrote:
> 
> How about checking that the argument comm to MPI_Barrier(comm)
> is a legal communicator ?
> 
> I have rewritten my communication routines about 9! times
> before I realized that MPI_Barrier wasn't taking the number
> of processes as an argument. Wrong numbers cause MPI to
> happily play core wars with your segment, till it nukes
> vital data.

It seems to me that you are using Communicators and Barriers in a wrong
way. You need to show your code and name the MPI implementation you are
using.

  Joachim

-- 
----------------------------------------------------------------------------
|  _      :  Joachim Worringen, Lehrstuhl fuer Betriebssysteme
|_|_`__   :  RWTH Aachen, Kopernikusstr. 16, D-52056 Aachen
  | |__)  :  Tel.   : +49-241/80-7609  |  Fax : +49-241/8888-339
    |__)S :  e-Mail :  joachim@lfbs.rwth-aachen.de

