[GE users] mpich sge and exporting env vars

michael bane michael.bane at manchester.ac.uk
Sat Jun 17 00:15:23 BST 2006


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

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