cedadev / swallow

Swallow - a Birdhouse WPS for running the NAME Trajectory code.
Other
0 stars 1 forks source link

getting module loading working properly #42

Closed alaniwi closed 2 years ago

alaniwi commented 2 years ago

modules were failing in model wrapper script:

intel/17.0.2(76):ERROR:102: Tcl command execution failed: source "/apps/modulefiles/.modulefiles_include.tcl"

Now working, but noting the fix here: the USER environment variable was not set in the Slurm environment, and this is needed by the module processing.

Fixed by inserting the following into the wrapper script (this is in a separate git repository):

export USER=$(id -un)