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

[HTCondor-users] Per-slot environment variables


Is it possible to define default job environment that will be inherited by jobs on per-slot basis?

For example, I'd like to automatically set the CUDA_VISIBLE_DEVICES environmental variable to 0 for slot1, 1 for slot2, etc., , without having users specify it in the submit file.

I tried STARTER_JOB_ENVIRONMENT, but it looks like it can't be used on per-slot basis.