[GE users] back to the basics... 6.2beta

Reuti reuti at Staff.Uni-Marburg.DE
Tue Jul 1 15:39:35 BST 2008


Hi,

Am 01.07.2008 um 16:27 schrieb Alexandre Racine:

> Hi all,
>
> I am trying to run a simple interactive job with the new qrsh. See  
> below for the content of the file. Running it on the command line  
> work very well, but with qrsh I get a not found error. Did I forget  
> something? Thanks.
>
> TORQUE1 programmeinteractif # qstat -f
> queuename                      qtype resv/used/tot. load_avg  
> arch          states
> ---------------------------------------------------------------------- 
> -----------
> all.q at torque1.rg.local         BIP   0/0/1          -NA-     lx24- 
> x86      au
> ---------------------------------------------------------------------- 
> -----------
> all.q at torque2.statgen.local    BIP   0/0/2          0.00     lx24-x86
> TORQUE1 programmeinteractif # qrsh script.sh
> bash: script.sh: command not found

seems the $PATH is not set like with a plain login. Can you specify  
the complete PATH to the script?

-- Reuti


>
>
> -------File-------
> #!/bin/sh
>
> #$-cwd
> #$-V
>
>
> echo .
> echo "Je roule sur le serveur `hostname`..."
> sleep 3
>
> Pause()
> {
>     key=""
>     echo -n Hit any key to continue....
>     stty -icanon
>     key=`dd count=1 2>/dev/null`
>     stty icanon
> }
>
> # Simple input
> echo
> echo -n "Enter something: "
> read ANSWER
> echo You typed: "$ANSWER"
> Pause                           # invoke the function Pause.
>
>
>
> echo "Fin du programme"
>
> exit
>
> #FIN
>
>
> --------FIN---------
>
>
>
>
> Alexandre Racine
> alexandre.racine at mhicc.org
> 514-461-1300 poste 3303
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list