Skip to content

Don't use -V #157

@bartvm

Description

@bartvm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions