Capturing return values from concurrent mpiexecs

Martin Schafföner martin.schaffoener at e-technik.uni-magdeburg.de
Tue Nov 8 11:09:40 EST 2005


We have a bunch of perl scripts which help us split the job into small chunks 
which are then distributed to the job's nodes using fork()/exec(). A separate 
"mpiexec -server" process is forked, and individual chunks are started using 
"mpiexec -n 1 -comm none ...". The problem is that even though there are 
multiple concurrent processes spawned through "mpiexec -n 1", none of their 
return codes make it through its respective mpiexec process.

How would it be possible to at least propagate the return value from the 
"master" process of each concurrent parallel chunk, especially if there is 
also the infamous "mpiexec -server" running? Also, would there be any way to 
combine the return values of all processes in a parallel task?

Regards,
-- 
Martin Schafföner

Cognitive Systems Group, Institute of Electronics, Signal Processing and 
Communication Technologies, Department of Electrical Engineering, 
Otto-von-Guericke University Magdeburg
Phone: +49 391 6720063


More information about the mpiexec mailing list