Sorry I'm late to the party on this, but I thought $TMPDIR was set by
the job shepherd in SGE, that you didn't need to set it explicitly
anywhere else. Any given job would have a slightly different $TMPDIR
like /scratch/tmp/`jobid`.`some_gumpf`
Not that (I think) there's any harm in also setting this in the
grid-env.sh, but I don't think it's needed. At least not for SGE (or LSF).
Cheers,
(The other) Matt
On 01/30/2014 03:50 PM, Matt RB wrote:
> On 30/01/14 15:28, Daniel Traynor wrote:
>> so at QM the gridengine queue has tmp Directory set to /scratch/tmp
>>
>>
>> in the site-info.conf we also have
>>
>>
>> # Set this if you want a scratch directory for jobs
>> EDG_WL_SCRATCH="/scratch/tmp"
>>
>>
>> I'm not sure it actually does anything?
>
> Thanks, I've set this now at the queue level too, as that is definitely
> the simplest and I think is what John was suggesting me to do earlier
> anyhow before I got sidetracked trying to find something to do this in
> yaim.
>
> Thanks everyone for all the help.
>
> Matt
|