sdtio with mpiexec and PBSPro

Pete Wyckoff pw at osc.edu
Tue May 11 16:29:10 EDT 2004


pedro at teor.fis.uc.pt wrote on Tue, 11 May 2004 10:54 +0100:
> We have here a cluster of Intel machines running Linux RH 9.0 and PBSPro 
> 5.4.
> As described in your web page, mpiexec (version 0.76) does work with PBSPro 
> but we have not been able to use standard i/o, i.e., to use redirectors < 
> or >
> in the command line with mpiexec. Do you know any way of solving this 
> problem?

You are stuck, unless you have source to PBSPro, in which case you
should follow instruction number 1 in the README of mpiexec.  It tells
you to apply the patch pbs-2.3.12-mpiexec.diff against your PBS source
tree and rebuild PBS.

Without the patch, PBS sets things up to connect stdin to /dev/null and
stdout and stderr to your PBS output files (myjob.o37473, e.g.) via the
pbs_demux program.  It is theoretically possible to modify your
application to connect back to mpiexec, perhaps even doing so as part of
a LD_PRELOAD library rather than in open code, but that's not a very
attractive alternative in my opinion.

		-- Pete



More information about the mpiexec mailing list