[GE users] mpich sge and exporting env vars

michael bane michael.bane at manchester.ac.uk
Sat Jun 17 12:27:24 BST 2006


On Sat, 2006-06-17 at 10:26 +0100, Fred L Youhanaie wrote:
> 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.

sorry. but 2169 o/p is the same!

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