[Mauiusers] Re: Re: [torqueusers] how to forbid the user do not use torque submit job

rishi pathak mailmaverick666 at gmail.com
Wed Jul 9 23:32:15 MDT 2008


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, <zhyang at lzu.edu.cn> 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" <jbernstein at penguincomputing.com>
> > : 2008-07-10 04:09:29
> > : zhyang at lzu.edu.cn
> > :
> > : 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
> >
> >
> >
> > zhyang at lzu.edu.cn 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
> >
> > > torqueusers at supercluster.org
> >
> > > http://www.supercluster.org/mailman/listinfo/torqueusers
> >
> >
>
>
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers
>



-- 
Regards--
Rishi Pathak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20080710/a34c2f32/attachment.html


More information about the torqueusers mailing list