[torqueusers] Re: [torquedev] pbsdsh oddity

Garrick Staples garrick at usc.edu
Wed Jul 16 01:35:22 MDT 2008


On Wed, Jul 16, 2008 at 04:53:28PM +1000, Chris Samuel alleged:
> 
> ----- "Garrick Staples" <garrick at usc.edu> wrote:
> 
> Hi Garrick,
> 
> > That's a good idea.  Can you try this simple version?
> 
> I'd pondered that method myself, but that might give
> a false match if the user does something silly, like
> trying to address the host "tango" - they'd match the
> first host reported (say tango085) rather than getting
> an error that tango isn't assigned to their job.

Silly?  Or handy short pattern matches!


 
> Make sense ?
> 
> My current kludge is to add to the script:
> 
> if [ `echo $node | fgrep -c . ` == 0 ]; then
>         node=`echo ${node}.vpac.org`
> fi
> 
> Which works but doesn't propogate the PATH which might
> confuse some things.
> 
> cheers,
> Chris
> -- 
> Christopher Samuel - (03) 9925 4751 - Systems Manager
>  The Victorian Partnership for Advanced Computing
>  P.O. Box 201, Carlton South, VIC 3053, Australia
> VPAC is a not-for-profit Registered Research Agency
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20080716/36bf297d/attachment-0001.bin


More information about the torqueusers mailing list