forked from neams-th-coe/cardinal
-
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.
Add apptainer context for generating an apptainer image of cardinal
Refs neams-th-coe#813
- 25994_main
- (neams-th-coe/cardinal#814)
- 813_add_context
- (neams-th-coe/cardinal#814)
- 919_run_tests
- (neams-th-coe/cardinal#814)
- apptainer_xs
- (neams-th-coe/cardinal#814)
- better_install
- (neams-th-coe/cardinal#814)
- moose
- (neams-th-coe/cardinal#814)
- radiant_depletion
- (neams-th-coe/cardinal#921, neams-th-coe/cardinal#814)
- update_moose_return
- (neams-th-coe/cardinal#814)
1 parent
0fe8e06
commit 2c412fc
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Contents in this directory are used for the generation of apptainer images using the `ApptainerGenerator` script found in MOOSE at `scripts/apptainer_generator.py`. | ||
|
||
In particular: | ||
|
||
- `app_envrionment`: Appends to the environment in the container to add `NEKRS_HOME` | ||
- `app_post_pre_make`: Sets extra variables for the build and builds the extra dependencies (nekrs, openmc, dagmc) before the main build so that the `MAKEFLAGS` variable can be set for parallel builds. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export NEKRS_HOME=/opt/cardinal/contrib |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export CONTRIB_INSTALL_DIR=/opt/cardinal/contrib | ||
export NEKRS_HOME=${CONTRIB_INSTALL_DIR} | ||
export HDF5_ROOT=${PETSC_DIR} | ||
export ENABLE_DAGMC=ON | ||
make build_nekrs MAKEFLAGS=-j${MOOSE_JOBS} | ||
make build_openmc MAKEFLAGS=-j${MOOSE_JOBS} | ||
make build_dagmc MAKEFLAGS=-j${MOOSE_JOBS} |