<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear all,<div class="">I’m stuck with this problem since some time and I like to know if someone has a solution, or just a hint of what is going wrong.</div><div class=""><br class=""></div><div class="">If I compile MOAB with HDF5 support I’m forced to use an outdated version of the latter (hdf5 1.8.12 works just fine) because a newer version (I tried both 1.8.18 and 1.10.1) produces the following runtime error</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*** The MPI_Comm_dup() function was called before MPI_INIT was invoked.</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*** This is disallowed by the MPI standard.</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">*** Your MPI job will now abort.</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[<a href="http://dlm249-158.unibg.it:1072" class="">dlm249-158.unibg.it:1072</a>] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!</span></div></div><div class=""><br class=""></div><div class="">This happens when the MOAB function load_file(filename.h5m,...) gets called from my application.</div><div class="">All the MOAB tests run just fine, in particular the parallel tests involving hdf5 are successful. </div><div class="">I guess that’s a linking issue but I really don’t know how to solve it.</div><div class=""><br class=""></div><div class="">My makefile is really basic</div><div class=""><br class=""></div><div class="">I do</div><div class=""><span style="color: rgb(244, 244, 244); font-family: Menlo; font-size: 14px; background-color: rgba(0, 0, 0, 0.921569);" class="">MOAB_LIB_DIR = /Users/digihabia/src2/moab-4.9.2/moab/</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">include $(MOAB_LIB_DIR)/lib/moab.make</span></div><div class="">…</div><div class=""><br class=""></div><div class="">I compile my library spafedte with</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">%.o : %.cpp</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        @echo "Compiling ("$(CXX)") "$<" "</span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        @$(CXX) $(spafedte_INCLUDE) $(petsc_INCLUDE) ${MOAB_INCLUDES} $(muparser_INCLUDE) $(metis_INCLUDE) $(mgridgen_INCLUDE) $(eigen_INCLUDE) -c $< -o $@</span></div></div><div class=""><br class=""></div><div class="">And build the executable with</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(52, 187, 200); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">laplace_test :</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #f4f4f4" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(objects)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #f4f4f4" class=""> </span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(205, 121, 35); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class="">        @</span><span style="font-variant-ligatures: no-common-ligatures" class="">echo "Linking "</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class=""><b class="">$(CURDIR)</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">"/"</span><span style="font-variant-ligatures: no-common-ligatures; color: #34bbc8" class=""><b class="">$@</b></span></div><div style="margin: 0px; font-size: 14px; line-height: normal; font-family: Menlo; color: rgb(52, 187, 200); background-color: rgba(0, 0, 0, 0.921569);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class="">        @</span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(CXX)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(objects)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> -o </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$@</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(spafedte_LIB)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(PETSC_SNES_LIB)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(MOAB_LIBS_LINK)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(MGRIDGEN_LIB)</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #cd7923" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">$(METIS_LIB)</b></span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Any help is appreciated. </div><div class="">Bests</div><div class="">Lorenzo</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>