Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use -V #157

Open
bartvm opened this issue Feb 6, 2017 · 0 comments
Open

Don't use -V #157

bartvm opened this issue Feb 6, 2017 · 0 comments

Comments

@bartvm
Copy link

bartvm commented Feb 6, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant