<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Dear all,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I have solved the problem by reinstalling ALPS with hdf5 v1.8.12. Maybe ALPS not supports hdf5 v1.10, ALPS Core project also met the same problem: <a href="https://github.com/ALPSCore/ALPSCore/wiki/Known-problems-and-workarounds#some-hdf5-related-tests-fail" class="OWAAutoLink" id="LPlnk358253" previewremoved="true">https://github.com/ALPSCore/ALPSCore/wiki/Known-problems-and-workarounds#some-hdf5-related-tests-fail</a></p>
<br>
<p style="margin-top:0;margin-bottom:0">Best regards,</p>
<p style="margin-top:0;margin-bottom:0">Rongyang Sun</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Comp-phys-alps-users <comp-phys-alps-users-bounces@lists.phys.ethz.ch> on behalf of Rongyang Sun <sun-rongyang@outlook.com><br>
<b>Sent:</b> Tuesday, November 14, 2017 4:23:47 PM<br>
<b>To:</b> comp-phys-alps-users@lists.phys.ethz.ch<br>
<b>Subject:</b> [ALPS-users] HDF5 runtime error when using mps_optim application with 'optimization' parameter set 'singlesite' on CentOS Linux</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Dear all,</p>
<p><br>
</p>
<p>The application mps_optim works well on OS X system which is installed by dmg package. But on Linux, it threw the following error when I set the 'optimization' parameter as 'singlesite':</p>
<p><br>
</p>
<p>*********************************************************************************</p>
<p>terminate called after throwing an instance of 'alps::hdf5::archive_error'</p>
<p>  what():  HDF5 error: -1</p>
<p>    #0 ../../hdf5-1.10.1/src/H5D.c line 145 in H5Dcreate2(): unable to create dataset</p>
<p>    #1 ../../hdf5-1.10.1/src/H5Dint.c line 490 in H5D__create_named(): unable to create and link to dataset</p>
<p>    #2 ../../hdf5-1.10.1/src/H5L.c line 1695 in H5L_link_object(): unable to create new link to object</p>
<p>    #3 ../../hdf5-1.10.1/src/H5L.c line 1939 in H5L_create_real(): can't insert link</p>
<p>    #4 ../../hdf5-1.10.1/src/H5Gtraverse.c line 867 in H5G_traverse(): internal path traversal failed</p>
<p>    #5 ../../hdf5-1.10.1/src/H5Gtraverse.c line 639 in H5G_traverse_real(): traversal operator failed</p>
<p>    #6 ../../hdf5-1.10.1/src/H5L.c line 1731 in H5L_link_cb(): name already exists</p>
<p><br>
</p>
<p>In /tmp/alps-2.3.0-src-with-boost/alps/src/alps/hdf5/archive.cpp on 133 in resource</p>
<p>    /opt/alps/lib/libalps.so.2(_ZN4alps4hdf56detail11check_errorEl+0x121) [0x7f44c5184db1]</p>
<p>    /opt/alps/lib/libalps.so.2(_ZNK4alps4hdf57archive5writeESsPKdSt6vectorImSaImEES6_S6_+0x168c) [0x7f44c526ddec]</p>
<p>    mps_optim(_ZN4alps4hdf54saveIdSt6vectorIdSaIdEEEEvRNS0_7archiveERKSsRKNS_7numeric6matrixIT_T0_EES2_ImSaImEESH_SH_+0x2bb) [0x51c7bb]</p>
<p>    mps_optim(_ZN4alps4hdf54saveINS_7numeric6matrixIdSt6vectorIdSaIdEEEESaIS7_EEEvRNS0_7archiveERKSsRKS4_IT_T0_ES4_ImSaImEESJ_SJ_+0x2e1) [0x51ce01]</p>
<p>    mps_optim(_ZN4alps4hdf5lsIRKSt6vectorINS_7numeric6matrixIdS2_IdSaIdEEEESaIS7_EEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESM_RKNS0_6detail14make_pvp_proxyISH_EE+0x6e) [0x51d3ae]</p>
<p>    mps_optim(_ZNK12block_matrixIN4alps7numeric6matrixIdSt6vectorIdSaIdEEEE12NU1_templateILi6EiEE4saveINS0_4hdf57archiveEEEvRT_+0x251) [0x571241]</p>
<p>    mps_optim(_ZN4alps4hdf54saveI12block_matrixINS_7numeric6matrixIdSt6vectorIdSaIdEEEE12NU1_templateILi6EiEEEEvRNS0_7archiveERKSsRKT_S5_ImSaImEESK_SK_+0xb2) [0x571492]</p>
<p>    mps_optim(_ZN4alps4hdf5lsIRK12block_matrixINS_7numeric6matrixIdSt6vectorIdSaIdEEEE12NU1_templateILi6EiEEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESO_RKNS0_6detail14make_pvp_proxyISJ_EE+0x6e)
 [0x57188e]</p>
<p>    mps_optim(_ZNK9MPSTensorIN4alps7numeric6matrixIdSt6vectorIdSaIdEEEE12NU1_templateILi6EiEE4saveINS0_4hdf57archiveEEEvRT_+0x158) [0x571a58]</p>
<p>    mps_optim(_ZN4alps4hdf54saveI9MPSTensorINS_7numeric6matrixIdSt6vectorIdSaIdEEEE12NU1_templateILi6EiEEEEvRNS0_7archiveERKSsRKT_S5_ImSaImEESK_SK_+0xb2) [0x571be2]</p>
<p>    mps_optim(_ZN4alps4hdf5lsIRK9MPSTensorINS_7numeric6matrixIdSt6vectorIdSaIdEEEE12NU1_templateILi6EiEEEEN5boost10disable_ifINS0_20has_complex_elementsINS_6detail10remove_cvrIT_E4typeEEERNS0_7archiveEE4typeESO_RKNS0_6detail14make_pvp_proxyISJ_EE+0x6e) [0x571fde]</p>
<p>    mps_optim() [0x47da4b]</p>
<p>    /usr/lib64/libgomp.so.1(+0x16435) [0x7f44c249e435]</p>
<p>    /usr/lib64/libpthread.so.0(+0x7e25) [0x7f44c389ae25]</p>
<p>    /usr/lib64/libc.so.6(clone+0x6d) [0x7f44c1fa734d]</p>
<div>*********************************************************************************<br>
</div>
<div><br>
</div>
<div>The error is always thrown after the first sweep procedure,i.e., the beginning of the second sweep procedure. I built the ALPS from source code without met any error. So anyone has any ideas? Thanks a lot!</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Rongyang Sun</div>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,'Apple Color Emoji','Segoe UI Emoji',NotoColorEmoji,'Segoe UI Symbol','Android Emoji',EmojiSymbols">
<p></p>
<p> </p>
<p><br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>