Dear Professors£¬<div>&nbsp; &nbsp; I have two question.</div><div>One:<br><div>&nbsp; &nbsp; &nbsp;Now, we need to record some information of processed nodes.</div><div>&nbsp; &nbsp; &nbsp;I tried using a std::vector to hold some Member variables like bellow&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp;in the&nbsp;function&nbsp;of Alps/scr/AlpsSubTree.cpp &nbsp;AlpsReturnStatus&nbsp;AlpsSubTree::exploreUnitWork(),</div><div>&nbsp; &nbsp; &nbsp;in the while loop, when the status of activeNode_ is AlpsNodeStatusPregnant and&nbsp;AlpsNodeStatusFathomed</div>
<div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;nodevec.push_back(activeNode_-&gt;getIndex());</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nodevec.push_back(activeNode_-&gt;getParentIndex());</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nodevec.push_back(activeNode_-&gt;getDepth());</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nodevec.push_back(activeNode_-&gt;getStatus());</div><div>&nbsp; &nbsp; &nbsp;the nodevec is vector&lt;int&gt;.</div><div>&nbsp; &nbsp; &nbsp;There is nothing wrong when&nbsp;compiling.</div><div>&nbsp; &nbsp; &nbsp;But when I&nbsp;<span style="background-color:rgb(255,255,255)"><font face="arial, sans-serif"><span style="white-space:nowrap">execute jobs the program will exit with some wrong&nbsp;signal&nbsp;like this:</span></font></span></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap"><br></span></font></div><div><span style="background-color:rgb(255,255,255)"><div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] *** Process received signal ***</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] Signal: Segmentation fault (11)</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] Signal code: Address not mapped (1)</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] Failing at address: (nil)</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 0] /lib64/libpthread.so.0(+0xf5d0) [0x2afac505d5d0]</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 1] /dawnfs/users/zhan/Blis/bin/blis(_ZN11AlpsSubTree15exploreUnitWorkEbidR14AlpsExitStatusRiRSt6vectorIiSaIiEES6_S2_S2_S2_Rb+0x940) [0x4b5940]</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 2] /dawnfs/users/zhan/Blis/bin/blis(_ZN22AlpsKnowledgeBrokerMPI13doOneUnitWorkEidR14AlpsExitStatusRiRSt6vectorIiSaIiEES6_S2_Rb+0x20d) [0x4d7e6d]</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 3] /dawnfs/users/zhan/Blis/bin/blis(_ZN22AlpsKnowledgeBrokerMPI10workerMainEv+0x92e) [0x4cc03e]</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 4] /dawnfs/users/zhan/Blis/bin/blis(_ZN22AlpsKnowledgeBrokerMPI10rootSearchEP12AlpsTreeNode+0x7c) [0x4bc7ec]</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 5] /dawnfs/users/zhan/Blis/bin/blis(_ZN22AlpsKnowledgeBrokerMPI6searchEP9AlpsModel+0x37) [0x4bc767]</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 6] /dawnfs/users/zhan/Blis/bin/blis(main+0x50d) [0x46bc4d]</span></font></div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 7] /lib64/libc.so.6(__libc_start_main+0xe6) [0x2afac5289bc6]</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">[node101:08891] [ 8] /dawnfs/users/zhangtong/Blis/bin/blis() [0x46b679]</span></font></div>
<div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></div></div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">&nbsp; &nbsp; &nbsp;Every worker has this signal.</div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">
Why is this?</div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap"><br></div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">Two:</div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">
&nbsp; &nbsp; &nbsp;I need to pass some information of every TreeNode on the search tree of every worker.</div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">&nbsp; &nbsp; &nbsp;And mainly, I want to this just like worker passing NumNodesProcessed to hub and then hub report to master.</div>
<div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">&nbsp; &nbsp; &nbsp;My question is that are there any other ways to do this?</div><div style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">&nbsp; &nbsp; &nbsp;Will the subtreepool or nodepool helps?</div>
<div><font face="arial, sans-serif"><span style="white-space:nowrap">&nbsp; &nbsp; &nbsp;For they are used to store&nbsp;uncompleted&nbsp;subtree or unexplored nodes.</span></font></div><div><font face="arial, sans-serif"><span style="white-space:nowrap">&nbsp; &nbsp; &nbsp;While I need processed Nodes, and they are either fathomed or&nbsp;branched&nbsp;nodes. &nbsp; &nbsp;</span></font></div>
</span></div></div>