In mpirun.pg somewhere at line number 106 you can have a statement which checks for environment variable $PBS_NODEFILE and if found proceeds further else exits with an error.
if [ -z "$PBS_NODEFILE" ] ; then echo "Not Spawned through PBS so exiting." ; exit 1 ; fi On Thu, Jul 10, 2008 at 7:18 AM, <[EMAIL PROTECTED]> wrote: > Hi Joshua Bernstein > > Thanks for you comment. sorry I have not made myself clear. It means that > some user running mpirun program straight in head nodes,and not use Torque > assign nodes. so , I want to forbid the user to submit job in this way. our > cluster use NFS,all application program install NFS.so, I can not remove > it.I want know if have configure in Torque or maui can achieve this result. > > Thanks > > yang > > > > > : "Joshua Bernstein" <[EMAIL PROTECTED]> > > : 2008-07-10 04:09:29 > > : [EMAIL PROTECTED] > > : > > : Re: [torqueusers] how to forbid the user which do not use jobmanager > submit job > > Hi Yang, > > > > > > > > While I'm not exactly sure what you are asking for, I'll try to > take a > > > > stab at it. What exactly do you want to forbid the user from doing? > > > > > > > > If you want to forbid the user from lauching a program with mpirun, > > > > then the most straight forward approach is to simply remove mpirun from > > > > the headnode, by either excluding it from the users path, or just > > > > removing it all together. You'll of course need to provide mpirun on the > > > > compute nodes, but if the binary isn't on the system to begin with (or > > > > not accessible by the user), then there isn't a chance they can lauch it. > > > > > > > > -Joshua Bernstein > > > > Software Engineer > > > > Penguin Computing > > > > > > > > [EMAIL PROTECTED] wrote: > > > > > Hi > > > > > > > > > > I have a cluster, I do not want to user submit job without use > jobmanger(with mpirun..) in front nodes, so whether have configration in > Torque or Maui can solve this problems? > > > > > -- > > > > > > > > > > Thanks > > > > > > > > > > Best Regards > > > > > > > > > > yang > > > > > _______________________________________________ > > > > > torqueusers mailing list > > > > > [EMAIL PROTECTED] > > > > > http://www.supercluster.org/mailman/listinfo/torqueusers > > > > > > > _______________________________________________ > mauiusers mailing list > [email protected] > http://www.supercluster.org/mailman/listinfo/mauiusers > -- Regards-- Rishi Pathak
_______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
