From: Peter Schaefer <schaefer@malaga.math.uni-augsburg.de>
Newsgroups: comp.parallel.mpi
Subject: MPI_Barrier - how about argument checking ?
Date: Mon, 14 Sep 1998 17:23:58 +0200
Organization: Spammers against death penalty (SPADE)
Distribution: world
Message-Id: <35FD350E.41C6@malaga.math.uni-augsburg.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


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.
--
Peter Schaefer           mailto:schaefer@malaga.math.uni-augsburg.de     
X-Url: http://wwwhoppe.math.uni-augsburg.de/~schaefer/

