Andrew,
That worked like a champ. Now my users can have it both ways. For the
record, my control statements looked like the following:
/opt/openmpi-1.2.4/bin/mpirun -mca pls ^tm -np $NP -hostfile $PBS_NODEFILE
$my_binary_path
My job works just fine and reports no errors. This version of OpenMPI was
built with "--with-tm=/usr/local/pbs".
Thanks for your help,
Pat
J.W. (Pat) O'Bryant,Jr.
Business Line Infrastructure
Technical Systems, HPC
Office: 713-431-7022
"Caird, Andrew
J"
<acaird@umich. To
edu> "Open MPI Users"
Sent by: <[email protected]>
users-bounces@ cc
open-mpi.org <[email protected]>
Subject
Re: [OMPI users] Torque and OpenMPI
12/19/07 07:59 1.2
AM
Please respond
to
Open MPI Users
<users@open-mp
i.org>
oops, I meant -mca, not -mcs
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Caird, Andrew J
> Sent: Wednesday, December 19, 2007 8:57 AM
> To: Open MPI Users
> Cc: [email protected]
> Subject: Re: [OMPI users] Torque and OpenMPI 1.2
>
> Does OMPI built with TM but run with:
> -mcs pls ^tm
>
> give the same effect?
>
> --andy
>
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of
> > pat.o'[email protected]
> > Sent: Wednesday, December 19, 2007 8:47 AM
> > To: Open MPI Users
> > Cc: Open MPI Users; [email protected]
> > Subject: Re: [OMPI users] Torque and OpenMPI 1.2
> >
> > Terry,
> > Your suggestion worked. So long as I specifically state
> > "--without-tm",
> > the OpenMPI 1.2.4 build allows the use of "-hostfile".
> Apparently, by
> > default, OpenMPI 1.2.4 will incorporate Torque if it
> exists, so it is
> > necessary to specifically request "no Torque support". I
> > used the normal
> > Torque processes to submit the job and specified "-hostfile
> > $PBS_NODEFILE".
> > Everything worked.
> > Thanks for your help,
> > Pat
> >
> > J.W. (Pat) O'Bryant,Jr.
> > Business Line Infrastructure
> > Technical Systems, HPC
> > Office: 713-431-7022
> >
> >
> >
> >
> >
> > Terry
> >
> > Frankcombe
> >
> > <[email protected]
> > To
> > .se> Open MPI Users
> > <[email protected]>
> > Sent by:
> > cc
> > users-bounces@
> >
> > open-mpi.org
> > Subject
> > Re: [OMPI users] Torque
> > and OpenMPI
> > 1.2
> >
> > 12/18/07 01:45
> >
> > PM
> >
> >
> >
> >
> >
> > Please respond
> >
> > to
> >
> > Open MPI Users
> >
> > <users@open-mp
> >
> > i.org>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, 2007-12-18 at 11:59 -0700, Ralph H Castain wrote:
> > > Hate to be a party-pooper, but the answer is "no" in
> OpenMPI 1.2. We
> > don't
> > > allow the use of a hostfile in a Torque environment in
> that version.
> > >
> > > We have changed this for v1.3, but you'll have to wait for
> > that release.
> >
> >
> > Can one not build OpenMPI without tm support and spawn remote
> > jobs using
> > the other mechanisms, using only $PBS_NODEFILE (or a
> derivative of the
> > file that that points to) in the script?
> >
> > Ciao
> > Terry
> >
> >
> > --
> > Dr Terry Frankcombe
> > Physical Chemistry, Department of Chemistry
> > Göteborgs Universitet
> > SE-412 96 Göteborg Sweden
> > Ph: +46 76 224 0887 Skype: terry.frankcombe
> > <[email protected]>
> >
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
> >
> >
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
> >
>
> _______________________________________________
> users mailing list
> [email protected]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
_______________________________________________
users mailing list
[email protected]
http://www.open-mpi.org/mailman/listinfo.cgi/users