Skip to content

Commit ee313b8

Browse files
Natalie PerlinNatalie Perlin
authored andcommitted
Updates for container option: generalized wflow_*.lua, updated wflow_<platform>.lua, removed container_<platoform>.yaml templates
1 parent 38bfba8 commit ee313b8

19 files changed

Lines changed: 12 additions & 456 deletions

doc/UsersGuide/BuildingRunningTesting/ContainerQuickstart.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ consistent workflows across different systems and cloud platforms.
1515
This section distinguishes the following container workflows:
1616

1717
* **Intel-based pre-built SRW runtime container workflow:**
18-
This workflow uses a container that includes a pre-built SRW App v3.0
18+
this workflow uses a container that includes a pre-built SRW App v3.0
1919
executable and its runtime environment. The pre-built application is staged
2020
from the container and then used to run the community test case.
2121

2222
* **Containerized software-stack workflow for building and running the SRW App:**
23-
This workflow uses a container that provides the software stack needed to
23+
this workflow uses a container that provides the software stack needed to
2424
build and run the UFS SRW App from source. The first step depends on the
2525
container option being used. Users may use a staged GNU-based or Intel-based
2626
software-stack container available on Tier 1 NOAA RDHPC platforms, or they may
2727
build a GNU-based or Intel-capable Singularity/Apptainer image from Docker
28-
Hub on another supported system. After the container is available, the
28+
Hub on non-supported systems. After the container is available, the
2929
remaining steps are the same for all of these options: clone the SRW App
3030
source code, build the application using the containerized software stack, and
3131
run the community test case.
@@ -129,7 +129,7 @@ binary-compatible MPI implementation on the host system.
129129

130130
* The **Intel-based container** requires Intel compilers and Intel MPI (or the
131131
Intel oneAPI toolkit).
132-
* The **GNU-based container** may need GNU compilers (GCC 12+ recommended), an
132+
* The **GNU-based container** may need GNU compilers (GCC 12+ recommended), a
133133
binary-level-compatible version of MPI library, or MPI initialization tool
134134
(e.g., host system OpenMPI or Slurm-based PMI/PMIx plugin).
135135

@@ -833,4 +833,4 @@ After allocation:
833833
834834
ssh <hostname>
835835
836-
Larger experiments may require multiple compute nodes.
836+
Larger experiments may require multiple compute nodes.

modulefiles/build_gaeac6_intel.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ load(pathJoin("nco", os.getenv("nco_ver") or "5.2.4"))
2828
load(pathJoin("prod_util", os.getenv("prod_util_ver") or "2.1.1"))
2929

3030
setenv("LD_PRELOAD", "/usr/lib64/libstdc++.so.6")
31+
pushenv("MKLROOT", "/opt/intel/oneapi/mkl/2023.2.0/")
3132

3233
unload("darshan-runtime")
3334

modulefiles/wflow_container_derecho_gnu.lua

Lines changed: 0 additions & 22 deletions
This file was deleted.

modulefiles/wflow_container_gaeac6.lua

Lines changed: 0 additions & 15 deletions
This file was deleted.

modulefiles/wflow_container_hercules.lua

Lines changed: 0 additions & 16 deletions
This file was deleted.

modulefiles/wflow_container_noaacloud.lua

Lines changed: 0 additions & 14 deletions
This file was deleted.

modulefiles/wflow_container_orion.lua

Lines changed: 0 additions & 16 deletions
This file was deleted.

modulefiles/wflow_container_ursa.lua

Lines changed: 0 additions & 14 deletions
This file was deleted.

modulefiles/wflow_derecho.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ load("conda")
1414

1515

1616
if mode() == "load" then
17-
LmodMsgRaw([===[Please do the following to activate conda:
18-
> conda activate srw_app
19-
]===])
17+
execute{cmd="conda activate srw_app", modeA={"load"}}
2018
end
2119

modulefiles/wflow_gaeac6.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ prepend_path("MODULEPATH","/ncrc/proj/epic/c6/modulefiles/")
1010
load("rocoto/1.3.7")
1111
load("conda")
1212

13-
pushenv("MKLROOT", "/opt/intel/oneapi/mkl/2023.2.0/")
14-
1513
if mode() == "load" then
16-
LmodMsgRaw([===[Please do the following to activate conda:
17-
> conda activate srw_app
18-
]===])
14+
execute{cmd="conda activate srw_app", modeA={"load"}}
1915
end

0 commit comments

Comments
 (0)