[GE users] mpich sge and exporting env vars

Fred L Youhanaie fly at anydata.co.uk
Sat Jun 17 10:26:06 BST 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi,

michael bane wrote:
>>#$ is processed before the job starts, and not during its execution  
>>(although it would be a cool feature to specify and change e.g.  
>>resource requests during the runtime of the job).
>>
> 
> 
> maybe i spoke too soon since this didn't work:
> 
> 
> $ cat test.sh;export GRID_NAME=michael;qsub test.sh
> #!/bin/bash
> #$ -pe mpich 2
> #$ -l s_rt=1:00:00,h_rt=1:20:00 
> #$ -V 
> mpirun -batch -np $NSLOTS -machinefile \
> $TMPDIR/machines ./CCTM_radm2-ros3-PAR
> Your job 2169 ("test.sh") has been submitted.
> 
> gave:
> 
> $ less *2168
>      Value for GRID_NAME not defined; returning defaultval ':
> 'GRID_NAME'
>      Environment variable not set

In the above The job id from qsub is 2169,  but you are looking at *2168 
files.

Cheers
f.

---------------------------------------------------------------------
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