[mvapich-discuss] How to prefix the MPI rank before each line in the output log

Thiago Quirino - NOAA Federal thiago.quirino at noaa.gov
Fri Aug 8 07:44:47 EDT 2014


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?

Thank you abundantly,
Thiago.


---------------------------------------------------
Thiago Quirino, Ph.D.
NOAA Hurricane Research Division
Numerical Modeling Group
4350 Rickenbacker Cswy.
Miami, FL 33139
P: *305-361-4337*
E: Thiago.Quirino at noaa.gov
http://hwrf.aoml.noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20140808/2d7f5477/attachment.html>


More information about the mvapich-discuss mailing list