redir-helper testing [was Re: mpiexec & PBS Professional 7.1: "PBS reports fewer hosts than TM"]

Thomas Zeiser thomas.zeiser at rrze.uni-erlangen.de
Tue Apr 4 14:59:20 EDT 2006


Hello Pete,

I only did some very quick testing with non-mpi applications so far ...

- the name-mangling now works fine
- the redir-helper is correctly found in the directory where
  mpiexec is if mpiexec is called with
  complete path rather than through $PATH
- HOWEVER, when redir-helper is activated, the application also is
  not search via $PATH, i.e. with redir-helper
     /opt/mpiexec-0.81-pre4-redir/bin/mpiexec -n 4 -comm=none hostname
     mpiexec-redir-helper: Error: execv.
  while without redir-helper "hostname" is automatically found
     /opt/mpiexec-0.81-pre4-noredir/bin/mpiexec -n 4 -comm=none hostname
  of course "/bin/hostname" works in both cases.
  I'm not sure which behaviour is more appropriate - but probably
  people might expect that the application is search via $PATH in
  both cases
- but anyway, stdin redirection works with PBS Pro7.1 and
  redire-helper:
  /opt/MpCCI/mpiexec-0.81-pre4/bin/mpiexec -n 4 -comm=none -allstdin /bin/cat < some-text.dat
  give 4 time the contents of "some-text.dat"


Regards,

thomas


On Tue, Apr 04, 2006 at 10:25:48AM -0400, Pete Wyckoff wrote:
> pw at osc.edu wrote on Mon, 03 Apr 2006 16:43 -0400:
> > thomas.zeiser at rrze.uni-erlangen.de wrote on Mon, 03 Apr 2006 12:05 +0200:
> > > However, "--enable-pbspro-helper" does not work yet:
> > [..]
> > > mpiexec obviously gets confused by the node properties added to
> > > exec_host.
> > 
> > Okay, I see.  A related PBSpro oddity that should be easy to
> > fixup.
> 
> Another pre-release is available at
> 
>     http://www.osc.edu/~pw/mpiexec/mpiexec-0.81-pre4.tgz
> 
> if you would be willing to test it on your PBSPro system.  It should
> fix the name-mangling, by stripping everything after the first colon.
> It also adds your suggestion of looking for the redir-helper in the
> same directory as the mpiexec executable, if invoked explicitly
> rather than through $PATH search.
> 
> 		-- Pete

-- 
Dipl.-Ing. Thomas ZEISER
Regionales Rechenzentrum Erlangen
Martensstr. 1, 91058 Erlangen, GERMANY


More information about the mpiexec mailing list