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.)