<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hello all,</div>
<div><br>
</div>
<div><span style="font-size: 10pt;">If I compile an MPI code using the "-llmpe" and "-lmpe" options to enable MPI tracing, running the resultant code through valgrind ( "mpiexec -np X valgrind --track-origins=yes ./program ..." ) produces several instances
of the following type of message:</span></div>
<div><br>
</div>
<div>==459== Conditional jump or move depends on uninitialised value(s)</div>
<div>==459== at 0x10001C949: MPE_Req_wait_test (in ./program)</div>
<div>==459== by 0x10001D4B0: MPI_Waitall (in ./program)</div>
<div>==459== by 0x100047FE1: AtomShare::Reset(std::map<int, std::map<int, int, std::less<int>, std::allocator<std::pair<int const, int> > >, std::less<int>, std::allocator<std::pair<int const, std::map<int, int, std::less<int>, std::allocator<std::pair<int
const, int> > > > > >&, int) (in ./program)</div>
<div>==459== by 0x100051DD5: test(int, char**) (in ./program)</div>
<div>==459== by 0x100052FED: main (in ./program)</div>
<div>==459== Uninitialised value was created by a stack allocation</div>
<div>==459== at 0x10001D53D: MPI_Waitall (in ./program)</div>
<div><br>
</div>
<div>... whereas compiling and running the same code without the "-llmpe" and "-lmpe" options does not trigger this warning. I've checked to make sure the MPI_Request arrays used in the MPI_Waitall() calls are indeed allocated and set to valid requests (from
MPI_Isend() and MPI_Irecv()).</div>
<div><br>
</div>
<div>Has anyone else noticed any problems with MPE using uninitialized stack variables?</div>
<div><br>
</div>
<div>For what it's worth, running mpiexec -info gives:</div>
<div><br>
</div>
<div>
<div>HYDRA build details:</div>
<div> Version: 1.4.1p1</div>
<div> Release Date: Thu Sep 1 13:53:02 CDT 2011</div>
<div> CC: /usr/bin/gcc-4.2 -I/opt/local/include -pipe -O2 -arch x86_64 -L/opt/local/lib -arch x86_64 </div>
<div> CXX: /usr/bin/g++-4.2 -I/opt/local/include -pipe -O2 -arch x86_64 -L/opt/local/lib -arch x86_64 </div>
<div> F77: </div>
<div> F90: </div>
<div> Configure options: '--prefix=/opt/local' '--with-thread-package=posix' '--enable-timer-type=mach_absolute_time' '--enable-cxx' '--mandir=/opt/local/share/man' '--docdir=/opt/local/share/doc/mpich2' '--htmldir=/opt/local/share/doc/mpich2'
'--includedir=/opt/local/include/mpich2' '--disable-f77' '--disable-fc' '--with-mpe' '--with-device=ch3:nemesis' 'F90FLAGS=' 'F90=' '--with-pm=hydra' '--enable-shared' '--enable-cache' '--enable-smpcoll' '--enable-base-cache' '--enable-sharedlibs=osx-gcc'
'CC=/usr/bin/gcc-4.2' 'LDFLAGS=-L/opt/local/lib -arch x86_64 -Wl,-flat_namespace' 'CPPFLAGS=-I/opt/local/include -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpl/include -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpl/include
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/openpa/src -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/openpa/src -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/include
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/include -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/common/datatype -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/common/datatype
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/common/locks -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/common/locks -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/include
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/include -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/include
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/include -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/mpid/ch3/channels/nemesis/nemesis/utils/monitor -I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/util/wrappers
-I/opt/local/var/macports/build/_Volumes_work_mports_dports_science_mpich2/mpich2/work/mpich2-1.4.1p1/src/util/wrappers' 'FFLAGS=-pipe -O2 -m64 ' 'CFLAGS=-pipe -O2 -arch x86_64 -O2' 'CXX=/usr/bin/g++-4.2' 'CXXFLAGS=-pipe -O2 -arch x86_64 -O2' '--disable-option-checking'
'LIBS=-lpthread '</div>
<div> Process Manager: pmi</div>
<div> Launchers available: ssh rsh fork slurm ll lsf sge manual persist</div>
<div> Topology libraries available: hwloc</div>
<div> Resource management kernels available: user slurm ll lsf sge pbs</div>
<div> Checkpointing libraries available: </div>
<div> Demux engines available: poll select</div>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>J.</div>
</div>
<style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{ display: none !important;}</style><style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{ display: none !important;}</style><style type="text/css"></style>
</body>
</html>