<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Thanks for reporting.<br>
are you initializing mpi before calling moab::Core constructor?<br>
If not, you should; <br>
<br>
What version of moab are you using?<br>
Iulian<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF108957"><font face="Tahoma" size="2" color="#000000"><b>From:</b> moab-dev-bounces@mcs.anl.gov [moab-dev-bounces@mcs.anl.gov] on behalf of Dario Pezzoli [dpezzoli@simscale.com]<br>
<b>Sent:</b> Friday, April 22, 2016 8:31 AM<br>
<b>To:</b> moab-dev@mcs.anl.gov<br>
<b>Subject:</b> [MOAB-dev] Memory Leak in moab::Core::Initialize( )<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Dear all,
<div><br>
</div>
<div>I get a memory leak issue when it comes to free the memory allocated by the constructor moab::Core::Core( ).</div>
<div>Have someone already encountered this problem?</div>
<div><br>
</div>
<div>Many thanks in advance.</div>
<div><br>
</div>
<div>Yours,</div>
<div>Dario </div>
<div><br clear="all">
<div>Here is the Valgring report:</div>
<div>
<div>==20018== at 0xDDA469B: opal_os_dirpath_create (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)</div>
<div>==20018== by 0xDD3F4EC: orte_session_dir (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)</div>
<div>==20018== by 0xDD529E9: orte_ess_base_app_setup (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)</div>
<div>==20018== by 0x2A07EBA5: ??? (in /usr/lib/openmpi/lib/openmpi/mca_ess_singleton.so)</div>
<div>==20018== by 0xDD32842: orte_init (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)</div>
<div>==20018== by 0xDCF2023: ompi_mpi_init (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)</div>
<div>==20018== by 0xDD0965F: PMPI_Init (in /usr/lib/openmpi/lib/libmpi.so.1.0.8)</div>
<div>==20018== by 0x5D6F060: moab::Core::initialize() (in /opt/moab/lib/x86_64-linux-gnu/libMOAB.so.4.9.0)</div>
<div>==20018== by 0x5D6F11C: moab::Core::Core() (in /opt/moab/lib/x86_64-linux-gnu/libMOAB.so.4.9.0)</div>
<div>==20018== by 0x45BFBD: mesh::MoabMesh::initializeMoabInterface()</div>
</div>
<div><br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>