Newsgroups: comp.parallel.mpi
From: Wai Sun Don <wsdon@hydra.cfm.brown.edu>
Subject: Re: std output sorted with mpich
Organization: Div. of Applied Math., Brown U.
Date: Wed, 12 Jun 1996 15:22:09 -0400
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <31BF18E1.41C67EA6@hydra.cfm.brown.edu>

You can set the MP environment variables MP_LabelIO and/or MP_StdOutMode
as followed

setenv MP_LabelIO    Yes
setenv MP_StdOutMode Ordered

Will also do the trick.

Erik Demaine wrote:
> 
> Jean Marc Adamo (adamo) wrote:
> : Does anyone know about getting std output sorted according to processor
> : number with mpich?
> 
> Sure.  Just print the processor number followed by a space, followed by any
> of your output.  Then feed the output to sort -n
> 
> Erik
> --
> Erik Demaine                 \/  e-mail: eddemain@neumann.uwaterloo.ca
> Dept. of Computer Science    /\  URL   : http://barrow.uwaterloo.ca/~eddemain/
> University of Waterloo       \/  Most jugglers do poorly while drunk, especially
> Waterloo, ON Canada N2L 3G1  /\  in a large wavelength gravity field.

-- 
Wai Sun Don
Visiting Associate Professor (Research)

