[torqueusers] feature request

Roy Dragseth roy.dragseth at cc.uit.no
Fri Feb 26 05:31:49 MST 2010


> We have a similar wrapper, also without much error checking - it assumes 
very simple ssh syntax only:
> > cat /tools/ascutils/bin/pbsssh
> 
> #!/bin/bash
> 
> usage="usage: $0 <node name> <command>"
> 
> if [ $# -lt 2 ]
> then
>         echo $usage
>         exit
> fi
> 
> node=$1
> 
> shift
> 
> pbsdsh -h $node $*

I found that I had to remap the hostnames in $PBS_NODEFILE to match the exact 
hostname of the node to make pbsdsh work.  On our cluster $PBS_NODEFILE 
contains names like cX-Y, while the real hostname of the node is cX-Y.local.

r.


More information about the torqueusers mailing list