Skip to content

Option to include commands in the job script before the modules are loaded #1734

@branfosj

Description

@branfosj

For jobs scripts to be accepted on our system we have to include:

module purge
module load bluebear

and this has to appear before any module load foo commands.

Can we have an option to add a custom command (in my case the module purge part) early in the job script? (I can handle the module load bluebear by adding bluebear to the start of the list of modules to load.)

(At the moment I work around the issue by adding the module purge into the prerun_cmds and then generate my own module load list.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions