[mvapich-discuss] How to prefix the MPI rank before each line in the output log
Thiago Quirino - NOAA Federal
thiago.quirino at noaa.gov
Tue Oct 7 16:17:48 EDT 2014
Thank you so much, Jonathan.
Yes, this fits my needs! I missed that one in the help menu.
All the best,
Thiago.
On Fri, Aug 8, 2014 at 9:44 AM, <perkinjo at cse.ohio-state.edu> wrote:
> On Fri, Aug 08, 2014 at 07:44:47AM -0400, Thiago Quirino - NOAA Federal
> wrote:
> > Hi, folks.
> >
> > I compile a numerical weather prediction model with MVAPICH2 in one
> cluster
> > and with SGI MPT in another. All MPI ranks output some information to the
> > same log file at the beginning of a simulation. With SGI MPT I can use
> the
> > option "-g" with "mpiexec_mpt" to prefix each log line with the
> respective
> > MPI rank ID, e.g. mpiexec_mpt -prefix "[%g]" -np $PBS_NP ./NWP_model
> >
> > Is there an equivalent option for MVAPICH2?
>
> With mpiexec you can use the `-prepend-rank' option. Let us know if
> this fits your needs.
>
> --
> Jonathan Perkins
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20141007/9e1d0116/attachment-0001.html>
More information about the mvapich-discuss
mailing list