[torqueusers] $tmp dir in $WORKDIR

Chris Samuel csamuel at vpac.org
Wed Jan 14 20:41:33 MST 2009


----- "Arnau Bria" <arnaubria at pic.es> wrote:

> Ok, thanks for your replies, tomorrow I'll play with prologue again
> and just set:
> $WORKDIR to /somedir
> then
> $TMPDIR to $WORKDIR/tmp

As Garrick said the job is not the child of the prologue,
so any environment variables you set here will not be
visible in your batch script.

Even with TMPDIR set it is up to the code you are running
to take notice of it and use it as (for instance) part of
the template for library calls like mkstemp(3).

cheers!
Chris
-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency


More information about the torqueusers mailing list