[Beowulf] mpirun and line buffering
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
Larry Stewart stewart at serissa.comTue Oct 27 06:33:07 PDT 2009
- Previous message: [Beowulf] mpirun and line buffering
- Next message: [Beowulf] Re: Beowulf Digest, Vol 68, Issue 44
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Oct 26, 2009 at 11:35 AM, Daniel Kidger <daniel.kidger at bull.co.uk>wrote: > Folks, > > I have an benchmark code that uses printf on each MPI process to print > performance figures. > On the system that the original author's developed on, the output from each > process must have been line buffereed. > > As Ashley says, the job control system deals with this. I'm familiar with slurm, for example, which line-buffers output from each rank and can prepend output with the rank ID. Slurm can also direct output from each rank to an individual file. What job control system are you using? Check the man page for the job launch command to see if there are switches to control output. Other ideas - there are probably environment variables to tell the rank which rank it is, to find out see the documentation or run a two-rank "printenv". Then you could redirect each rank's output separately as program >output-from-rank-$RANK or whatever. -L -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.scyld.com/pipermail/beowulf/attachments/20091027/7512642f/attachment.html
- Previous message: [Beowulf] mpirun and line buffering
- Next message: [Beowulf] Re: Beowulf Digest, Vol 68, Issue 44
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
