<meta http-equiv="content-type" content="text/html; charset=utf-8"><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">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><div>- Clara</div>