[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] STARTER_SCRATCH_DIR_VARS proposal



On 8/11/23 16:07, Anderson, Stuart B. wrote:
This is a proposal for STARTER_SCRATCH_DIR_VARS following the idea of STARTER_NUM_THREADS_ENV_VARS [1].

The initial motivation is better support for compiled Matlab jobs by adding MCR_CACHE_ROOT to the default value, or making it easy for site admins to add that specifically for their local pool. However, I can easily imagine there are other software packages that would benefit from having an application specific environment variable set to the a job's local scratch/sandbox space. In particular, this would hopefully help get rid of evil wrapper scripts like,

Note that we can do this in submit now with


executable = something

environment = MCR_CACHE_ROOT=$$(CondorScratchDir)

....
queue