mpiexec and interactive read
Pete Wyckoff
pw at osc.edu
Thu May 15 12:52:21 EDT 2003
bfp at purdue.edu said on Thu, 15 May 2003 11:11 -0500:
> On Thu, 15 May 2003, Pete Wyckoff wrote:
> > If you have not applied a patch to PBS and restarted the pbs_mom on the
> > node where your code is run, this stdin redirection will not work. See
> > patch/pbs-2.3.12-mpiexec.diff and README for instructions on how to
> > apply it.
>
> Yes, perhaps that's the problem. We haven't applied the PBS patch. We're
> running the latest version (5?) of PBSPro. I'll look into applying that
> patch. Is the patch needed for this to work only on node 0, or is it
> needed only if I want to do this on all nodes (which I don't).
Even if you only want to talk to node 0 you still need the patch I'm
afraid. The problem is that pbs_mom stdin to /dev/null, but mpiexec
wants it to be connected to a socket back to the job script or terminal,
hence the patch. You can always rewrite your code to read from a file,
but that may not be too fun either.
-- Pete
More information about the mpiexec
mailing list