<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" class="" style="word-wrap:break-word">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear Lorenzo,<br>
you just configure moab with --enable-debug<br>
<br>
something like this:<br>
<br>
./configure --disable-fortran --disable-imesh --with-mpi=/Users/ihabia/src2/mpich-3.2/mpich3/ --with-hdf5=/Users/ihabia/src2/hdf5-1.8.16/hdf5/ --prefix=/Users/ihabia/src2/moab-4.8.2/moab  --enable-debug<br>
<br>
I see now that you use hdf5 1.8.16, the make check error you see could be related to this<br>
(we test regularly with 1.8.12)<br>
<br>
Still, your crash with pcomm is unrelated to hdf5 version<br>
<br>
Iulian<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF280912"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Lorenzo Alessio Botti [lorenzoalessiobotti@gmail.com]<br>
<b>Sent:</b> Wednesday, December 02, 2015 11:11 AM<br>
<b>To:</b> MOAB dev<br>
<b>Cc:</b> Grindeanu, Iulian R.<br>
<b>Subject:</b> Re: [MOAB-dev] problem with pcomm<br>
</font><br>
</div>
<div></div>
<div>
<div class="">Dear Iulian, how do I enable debug mode?</div>
<div class="">I want to be sure compile with the right flags…</div>
<div class=""><br class="">
</div>
<div class="">Thanks </div>
<div class="">Lorenzo</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 02 Dec 2015, at 18:03, Grindeanu, Iulian R. <<a href="mailto:iulian@mcs.anl.gov" class="" target="_blank">iulian@mcs.anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="" style="font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; direction:ltr; font-family:Tahoma; font-size:10pt">
Hi Lorenzo,<br class="">
Your code works on my linux machine.<br class="">
It could be something specific to OSX,<span class="Apple-converted-space"> </span><br class="">
Sometimes we find that OSX uncovers bugs<span class="Apple-converted-space"> </span><br class="">
<br class="">
You mentioned that there is a seg fault at pcomm_tag(mbImpl, true)<br class="">
<br class="">
It just creates there a sparse tag with name __PARALLEL_COMM, which will be used to store ParallelComm objects on the root (entity handle = 0)<br class="">
<br class="">
Can you compile in debug mode and give more trace info?<br class="">
<br class="">
Thanks,<br class="">
Iulian<br class="">
<br class="">
<div class="" style="font-family:'Times New Roman'; font-size:16px">
<hr tabindex="-1" class="">
<div id="divRpF408631" class="" style="direction:ltr"><font class="" size="2" face="Tahoma"><b class="">From:</b><span class="Apple-converted-space"> </span>Lorenzo Alessio Botti [<a href="mailto:lorenzoalessiobotti@gmail.com" class="" target="_blank">lorenzoalessiobotti@gmail.com</a>]<br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Wednesday, December 02, 2015 10:20 AM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>MOAB dev<br class="">
<b class="">Cc:</b><span class="Apple-converted-space"> </span>Grindeanu, Iulian R.; Vijay S. Mahadevan<br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [MOAB-dev] problem with pcomm<br class="">
</font><br class="">
</div>
<div class=""></div>
<div class="">
<div class="">
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
=====================================</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
   MOAB 4.8.2: test/test-suite.log</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
=====================================</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# TOTAL: 35</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# PASS:  35</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# SKIP:  0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# XFAIL: 0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# FAIL:  0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# XPASS: 0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# ERROR: 0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
.. contents:: :depth: 2</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
</div>
<div class="">This is the sole failure.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
==============================================</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
   MOAB 4.8.2: test/parallel/test-suite.log</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
==============================================</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# TOTAL: 11</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# PASS:  10</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# SKIP:  0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# XFAIL: 0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# FAIL:  1</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# XPASS: 0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# ERROR: 0</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
.. contents:: :depth: 2</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
FAIL: parallel_hdf5_test</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
========================</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_write_elements ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_write_elements ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Warning: acis file has sequence numbers!</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Warning: acis file has sequence numbers!</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Warning: acis file has sequence numbers!</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_write_shared_sets ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_write_shared_sets ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Warning: acis file has sequence numbers!</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Warning: acis file has sequence numbers!</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Warning: acis file has sequence numbers!</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_var_length_parallel ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_var_length_parallel ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_elements ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_elements ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_elements_by_rank ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_elements_by_rank ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_tags ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_tags ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_global_tags ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_global_tags ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_sets ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_sets ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_sets_bcast_dups ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_sets_bcast_dups ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_sets_read_dups ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_sets_read_dups ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_bc_sets ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Running test_read_bc_sets ...</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
Fatal error in MPI_Reduce: Invalid datatype, error stack:</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MPI_Reduce(1258): MPI_Reduce(sbuf=0x7fff533896d4, rbuf=0x7fff533896c8, count=3, MPI_DATATYPE_NULL, MPI_SUM, root=0, MPI_COMM_WORLD) failed</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MPI_Reduce(1168): Datatype for argument datatype is a null datatype</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
FAIL parallel_hdf5_test (exit status: 3)</div>
<div class=""><br class="">
</div>
</div>
<div class=""><br class="">
</div>
<div class="">The whole code, without any MPI initialisation,</div>
<div class="">
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">#include<span class="Apple-converted-space"> </span></span>"moab/ParallelComm.hpp"</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">#include<span class="Apple-converted-space"> </span></span>"MBParallelConventions.h"</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">#include<span class="Apple-converted-space"> </span></span>"MBTagConventions.hpp"</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">#include<span class="Apple-converted-space"> </span></span>"moab/Core.hpp"</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">#include<span class="Apple-converted-space"> </span></span>"moab_mpi.h"</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,189,38); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(175,173,36)">using</span><span class="" style="color:rgb(245,245,245)"> </span>namespace<span class="" style="color:rgb(245,245,245)"><span class="Apple-converted-space"> </span>moab;</span></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(52,189,38)">int</span><span class="Apple-converted-space"> </span>main(<span class="" style="color:rgb(52,189,38)">int</span><span class="Apple-converted-space"> </span>argc,<span class="Apple-converted-space"> </span><span class="" style="color:rgb(52,189,38)">char</span><span class="Apple-converted-space"> </span>**argv)</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
{</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
  Core moab;</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
  Interface& imoab = moab;</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
  ParallelComm* pcomm = ParallelComm::get_pcomm(&moab,<span class="Apple-converted-space"> </span><span class="" style="color:rgb(206,121,36)">0</span>);</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
 <span class="Apple-converted-space"> </span><span class="" style="color:rgb(175,173,36)">if</span><span class="Apple-converted-space"> </span>(<span class="" style="color:rgb(206,121,36)">0</span><span class="Apple-converted-space"> </span>== pcomm)</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
  {</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
    pcomm =<span class="Apple-converted-space"> </span><span class="" style="color:rgb(175,173,36)">new</span><span class="Apple-converted-space"> </span>ParallelComm(&imoab, MPI_COMM_WORLD);</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
  }</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
 <span class="Apple-converted-space"> </span><span class="" style="color:rgb(175,173,36)">delete</span><span class="Apple-converted-space"> </span>pcomm;</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(245,245,245)"> <span class="Apple-converted-space"> </span></span><span class="" style="color:rgb(175,173,36)">return</span><span class="" style="color:rgb(245,245,245)"> </span>EXIT_SUCCESS<span class="" style="color:rgb(245,245,245)">;</span></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
};</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(83,48,225); background-color:rgb(0,0,0)">
<b class="">~         </b></div>
</div>
<div class=""><br class="">
</div>
<div class="">This is the Makefile</div>
<div class="">
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(52,187,199)"><b class="">MOAB_LIB_DIR<span class="Apple-converted-space"> </span></b></span>= /Users/ihabia/src2/moab-4.8.2/moab/</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">include</span><span class="Apple-converted-space"> </span><span class="" style="color:rgb(52,187,199)"><b class="">$(MOAB_LIB_DIR)</b></span>/lib/moab.make</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<b class="">%.o :</b><span class="" style="color:rgb(245,245,245)"> </span><b class="">%</b><span class="" style="color:rgb(245,245,245)">.cpp</span></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">        @</span>echo "Compiling ("<span class="" style="color:rgb(52,187,199)"><b class="">$(CXX)</b></span>") "<span class="" style="color:rgb(52,187,199)"><b class="">$<</b></span>" "</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">        @</span><b class="">$(CXX)</b><span class="" style="color:rgb(206,121,36)"> </span><b class="">${MOAB_INCLUDES}</b><span class="" style="color:rgb(206,121,36)"><span class="Apple-converted-space"> </span>-c<span class="Apple-converted-space"> </span></span><b class="">$<</b><span class="" style="color:rgb(206,121,36)"><span class="Apple-converted-space"> </span>-o<span class="Apple-converted-space"> </span></span><b class="">$@</b></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(52,187,199)"><b class="">CXX<span class="Apple-converted-space"> </span></b></span>= mpicxx -O2 -DNDEBUG</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<b class="">objects<span class="Apple-converted-space"> </span></b><span class="" style="color:rgb(245,245,245)">:=<span class="Apple-converted-space"> </span></span><b class="">$(</b><span class="" style="color:rgb(175,173,36)">patsubst</span><b class=""><span class="Apple-converted-space"> </span>%.cpp,%.o,$(</b><span class="" style="color:rgb(175,173,36)">wildcard</span><b class=""><span class="Apple-converted-space"> </span>./*.cpp))</b></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<b class="">mbtestrun :</b><span class="" style="color:rgb(245,245,245)"> </span><b class="">$(objects)</b></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(206,121,36); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">        @</span>echo "Linking "<span class="" style="color:rgb(52,187,199)"><b class="">$(CURDIR)</b></span>"/"<span class="" style="color:rgb(52,187,199)"><b class="">$@</b></span></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">        @</span><b class="">$(CXX)</b><span class="" style="color:rgb(206,121,36)"> </span><b class="">$(objects)</b><span class="" style="color:rgb(206,121,36)"><span class="Apple-converted-space"> </span>-o<span class="Apple-converted-space"> </span></span><b class="">$@</b><span class="" style="color:rgb(206,121,36)"> </span><b class="">$(MOAB_LIBS_LINK)</b><span class="" style="color:rgb(206,121,36)"> </span></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(175,173,36); background-color:rgb(0,0,0)">
.PHONY :<span class="" style="color:rgb(245,245,245)"><span class="Apple-converted-space"> </span>clean </span></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<b class="">clean :</b></div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
<span class="" style="color:rgb(213,59,211)">        @</span><span class="" style="color:rgb(206,121,36)">rm<span class="Apple-converted-space"> </span></span><b class="">$(objects)</b></div>
<div class=""><b class=""><br class="">
</b></div>
</div>
<div class=""><br class="">
</div>
<div class="">and this is mob.make</div>
<div class=""><br class="">
</div>
<div class="">
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# The values below are for an un-installed copy of MOAB used directly</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# from its build build directory.  These values will be overridden below</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# for installed copies of MOAB.</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_LIBDIR = /Users/ihabia/src2/moab-4.8.2/src/.libs</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_INCLUDES = -I/Users/ihabia/src2/moab-4.8.2/src \</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
                -I/Users/ihabia/src2/moab-4.8.2/src \</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
                -I/Users/ihabia/src2/moab-4.8.2/src/oldinc \</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
                -I/Users/ihabia/src2/moab-4.8.2/src/parallel \</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
                -I/Users/ihabia/src2/moab-4.8.2/src/parallel</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_INCLUDES +=</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_CPPFLAGS =        -I/Users/ihabia/src2/hdf5-1.8.16/hdf5//include -isystem /Users/ihabia/src2/hdf5-1.8.16/hdf5//include</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_CXXFLAGS =  -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -stdlib=libstdc++ -O2 -DNDEBUG</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_CFLAGS =  -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -O2 -DNDEBUG</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_FFLAGS =</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_FCFLAGS =</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_LDFLAGS =          -L/Users/ihabia/src2/hdf5-1.8.16/hdf5//lib  -stdlib=libstdc++</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_LIBS_LINK = ${MOAB_LDFLAGS} -L${MOAB_LIBDIR} -lMOAB    -lhdf5    -lc++ -lz -ldl -lm       -lc++ -lz -ldl -lm</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
DAGMC_LIBS_LINK = ${MOAB_LDFLAGS} -L${MOAB_LIBDIR}  -lMOAB    -lhdf5    -lc++ -lz -ldl -lm       -lc++ -lz -ldl -lm</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_CXX = /Users/ihabia/src2/mpich-3.2/mpich3//bin/mpicxx</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_CC  = /Users/ihabia/src2/mpich-3.2/mpich3//bin/mpicc</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_FC  =</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_F77  =</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# Override MOAB_LIBDIR and MOAB_INCLUDES from above with the correct</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(52,187,199); background-color:rgb(0,0,0)">
# values for the installed MOAB.</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0); min-height:16px">
<br class="">
</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_LIBDIR=/Users/ihabia/src2/moab-4.8.2/moab/lib</div>
<div class="" style="margin:0px; font-size:14px; font-family:Menlo; color:rgb(245,245,245); background-color:rgb(0,0,0)">
MOAB_INCLUDES=-I/Users/ihabia/src2/moab-4.8.2/moab/include</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 02 Dec 2015, at 16:17, Grindeanu, Iulian R. <<a href="mailto:iulian@mcs.anl.gov" class="" target="_blank">iulian@mcs.anl.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">Hi Lorenzo,<br class="">
<br class="">
Do you initialize MPI before using moab?<span class="Apple-converted-space"> </span><br class="">
<br class="">
<br class="">
Iulian<br class="">
<br class="">
________________________________________<br class="">
From:<span class="Apple-converted-space"> </span><a href="mailto:moab-dev-bounces@mcs.anl.gov" class="" target="_blank">moab-dev-bounces@mcs.anl.gov</a><span class="Apple-converted-space"> </span>[<a href="mailto:moab-dev-bounces@mcs.anl.gov" class="" target="_blank">moab-dev-bounces@mcs.anl.gov</a>]
 on behalf of Vijay S. Mahadevan [<a href="mailto:vijay.m@gmail.com" class="" target="_blank">vijay.m@gmail.com</a>]<br class="">
Sent: Wednesday, December 02, 2015 9:08 AM<br class="">
To: Lorenzo Alessio Botti<br class="">
Cc: MOAB dev<br class="">
Subject: Re: [MOAB-dev] problem with pcomm<br class="">
<br class="">
Lorenzo, we test your configuration very regularly (on buildbot and on<br class="">
linux machines) and I haven't seen any issues with ParallelComm. Does<br class="">
"make check" pass cleanly ?<br class="">
<br class="">
I'll see if I can replicate this on my Mac.<br class="">
<br class="">
Vijay<br class="">
<br class="">
On Wed, Dec 2, 2015 at 8:49 AM, Lorenzo Alessio Botti<br class="">
<<a href="mailto:lorenzoalessiobotti@gmail.com" class="" target="_blank">lorenzoalessiobotti@gmail.com</a>> wrote:<br class="">
<blockquote type="cite" class="">Dear All,<br class="">
I have a problem with the latest moab builds (both 4.8.2 and 4.9)…<br class="">
I cannot run the following code in an application linked to moab<br class="">
<br class="">
 Core moab;<br class="">
<br class="">
 Interface& imoab = moab;<br class="">
<br class="">
<br class="">
 ParallelComm* pcomm = ParallelComm::get_pcomm(&moab, 0);<br class="">
<br class="">
 if (0 == pcomm)<br class="">
<br class="">
 {<br class="">
<br class="">
   pcomm = new ParallelComm(&imoab, MPI_COMM_WORLD);<br class="">
<br class="">
 }<br class="">
<br class="">
 delete pcomm;<br class="">
<br class="">
<br class="">
It seems that a segmentation fault is triggered during the initialization of<br class="">
the pcomm in particular in this function<br class="">
<br class="">
 Tag ParallelComm::pcomm_tag(Interface *impl,<br class="">
<br class="">
                             bool create_if_missing)<br class="">
<br class="">
<br class="">
with create_if_missing = true.<br class="">
<br class="">
I’m building on OS X.<br class="">
Have you ever experienced this issue? What can I do?<br class="">
<br class="">
I attach the config.log below<br class="">
<br class="">
<br class="">
<br class="">
Bests<br class="">
Lorenzo</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>