<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px"><font color="#333333" face="Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:15px">Hey Guys, </span></font></div><div style="font-family:arial,sans-serif;font-size:13px">

<font color="#333333" face="Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:15px"><br></span></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#333333" face="Arial, Helvetica, sans-serif"><span style="font-size:12px;line-height:15px">Hopefully my last question, I'm so close. </span></font></div>

<div style="font-family:arial,sans-serif;font-size:13px"><font color="#333333" face="Arial, Helvetica, sans-serif"><span style="line-height:15px"><div>Test c code by running the example cpi.c</div><div>>mpiexec -f machinefile -n 2 ~/mpich_build/examples/cpi</div>

<div>[mpiexec@NI-myRIO-1900-03037f65] control_cb (/home/admin/mpich-3.1.1/src/pm/hydra/pm/pmiserv/pmserv_cb.c:200): assert (!closed) failed</div><div>[mpiexec@NI-myRIO-1900-03037f65] HYDT_dmxu_poll_wait_for_event (/home/admin/mpich-3.1.1/src/pm/ydra/tools/demux/demux_poll.c:76): callback returned error status</div>

<div>[mpiexec@NI-myRIO-1900-03037f65] HYD_pmci_wait_for_completion (/home/admin/mpich-3.1.1/src/pm/hdra/pm/pmiserv/pmiserv_pmci.c:198): error waiting for event</div><div>[mpiexec@NI-myRIO-1900-03037f65] main (/home/admin/mpich-3.1.1/src/pm/hydra/ui/mpich/mpiexec.c:44): process manager error waiting for completion</div>

<div><br></div><div>I try to recompile and run cpi.c and it still gets the above error. I tried running a simple hello world example that compiles fine in mpicc and I get the same errors. GCC and g++* compilers work fine. I can run the cpi example by ./ just fine. G++ I discovered wasn't working when I tried to configure openmpi, created a link to the library and resolved the error in openmpi. This was after I configured and installed mpich. MPIexec throws same error. mpiexec -f machinefile -n # hostname works fine. So mpiexec is working its something to do when calling c code. </div>

<div><br></div><div>1. I can try to reconfigure mpich to see if this resolves the error and its a configuration mistake.</div><div>2. It seems like this was reproduced in March. <a href="http://lists.mpich.org/pipermail/discuss/2014-March/002396.html" target="_blank">http://lists.mpich.org/pipermail/discuss/2014-March/002396.html</a></div>

<div>    I'm not sure if this was resolved other than modifying code but this is the example and even simple code breaks. </div><div>3. This is a dual core arm processor so I can see if disabling the second core can help since it looks like it is a timing issue. </div>

<div><br></div><div>Any other ideas?</div><div>Thanks,<br>Kyle Hartley</div></span></font></div></div>