Benjamin POUSSIN a écrit :
-J range Declares that this job is an array job. Sets job's array attribute to TRUE. The argument range identi- fies the integers greater than or equal to zero that are associated with the subjobs of the array. range is specified in the form X-Y[:Z] where X is the first index, Y is the upper bound on the indices and Z is the stepping factor. For example, 2-7:2 will produce indices of 2, 4, and 6. If Z is not specified, it is taken to be 1.
service4>1015% cat toto echo $PBS_ARRAYID >out.$PBS_ARRAYID sleep 100 service4>1016% qsub -J 1:1
Hi tina. I can't make it working. "qsub -J 1:2 toto.seq" launch two times toto.seq script. But in my script : echo ${PBS_ARRAYID} > out.${PBS_ARRAYID} The environement variable ${PBS_ARRAYID} is always empty :( -- Éric <chatellier@codelutin.com> Tel: 02 40 50 29 28 http://www.codelutin.com