smartdispatch icon indicating copy to clipboard operation
smartdispatch copied to clipboard

Don't use -V

Open bartvm opened this issue 8 years ago • 0 comments

Currently smart-dispatch exports the current environment to the job using -V. This is bad practice, see e.g. McGill's HPC guidelines:

We no longer recommend adding corresponding "module load ..." lines to your .bashrc file, or using "#PBS -V". A job is most reliably re-run if it is self-contained and has all information needed, instead of relying on the environment.

A more concrete example: Helios's Lua-based module system is broken, conflicting with any present Torch installation. The use of -V causes all module loading to fail whenever Torch was active in the launching environment.

bartvm avatar Feb 06 '17 16:02 bartvm