forked from ufs-community/ufs-srweather-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to the way modules for the various workflow tasks are loaded …
…to make the process more flexible, as follows: 1) Rename the module files for several tasks (only for hera thus far) from ${filename} to ${filename}.hardcoded. These are for backup and will be removed once it is clear that the "dynamic" modulefile method (see #2 below) is working reliably. 2) Put in code in the experiment/workflow generation scripts that create links to "dynamic" versions of these files in the external repos. These are dynamic in the sense that they should be compatible with the version of code in the repository. This will (hopefully!) eliminate the need to maintain hard-coded module files in the workflow repository (at least for codes that are external to the repository). 3) Modify the load_modules_run_task.sh script so that some of the "dynamic" module files are sourced like a shells script instead of being loaded using "module load ...". This is because this subset of "dynamic" module files are in fact shell scripts because they contain shell commands (like "export ${SOME_VARIABLE}"). These module files need to be fixed in the external repos (notably in the UFS_UTILS repository) so that they are true Lua module files.
- Loading branch information
1 parent
4427da4
commit 8fed29a
Showing
8 changed files
with
84 additions
and
11 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters