For example, how can we let MPIU_DBG_MSG_FMT(....) messages output? Thanks.<br><br><div class="gmail_quote">On Thu, Sep 1, 2011 at 11:27 PM, clara <span dir="ltr">&lt;<a href="mailto:clarazhang@gmail.com">clarazhang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I built mpich2 with the below command line:</div><div>./configure --prefix=/usr/local/mpich2-32 --with-pm=hydra:gforker --disable-faster --enable-debuginfo --enable-g=dbg,log CFLAGS=-m32 CXXFLAGS=-m32 FFLAGS=-m32 FCFLAGS=-m32 2&gt;&amp;1 | tee mpich2-32cfg.txt</div>

<div><br></div><div>I follow the <a href="http://wiki.mcs.anl.gov/mpich2/index.php/Debug_Event_Logging" target="_blank">http://wiki.mcs.anl.gov/mpich2/index.php/Debug_Event_Logging</a> and try to use below command line to run an MPI program but fail</div>

<div>/usr/local/mpich2-32/bin/mpiexec -mpich-dbg file -mpich-dbg-class=all -n 4 sp.S.4</div><div><br></div><div>Can anyone tell me how to output debug info when running MPI programs? Thanks.</div><div><br></div><font color="#888888"><div>
- Clara</div>
</font></blockquote></div><br>