Hi Stephen,
>>Arguably the lcgpbs and pbs job managers ought to support the notion
>>of running the job in a $TMPDIR subdirectory whenever possible.
>>You could open a bug about that, but the gLite customization trick
>>may well prove sufficient.
>
>
> I think there are already about half a dozen bugs and tickets about it!
Indeed, for example:
https://savannah.cern.ch/bugs/index.php?19138
It refers e.g. to this bug:
https://savannah.cern.ch/bugs/?3905
Its discussion contains an argument by David Smith that $TMPDIR
actually could be a rather _dangerous_ choice for jobs to use.
The notion of a specific scratch area for jobs remains valid, though.
The CREAM and WMS job wrappers could check for a new GLITE_WL_SCRATCH
variable, but the GLITE_LOCAL_CUSTOMIZATION_DIR already gives the
admin a generic hook for such functionality, as explained here:
https://savannah.cern.ch/bugs/?18325
The lcg-CE ought to have such functionality for jobs not submitted
via the WMS, but apparently this has not been a big problem...
|