Skip to content

Commit

Permalink
Move submodule updates to getting started instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
cticenhour committed Aug 1, 2024
1 parent 5f78fcc commit d1b0527
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 9 additions & 1 deletion doc/content/getting_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,16 @@ git submodule update --init tmap8
git submodule update --init cardinal
```

Next, some Cardinal dependencies need to be downloaded:

Then, to download OpenMC cross sections needed for OpenMC-based Cardinal runs, run:
```bash
cd ~/projects/FENIX/cardinal
git submodule update --init --recursive contrib/openmc
git submodule update --init contrib/DAGMC
git submodule update --init contrib/moab
```

To download OpenMC cross sections needed for OpenMC-based Cardinal runs, run:

```bash
cd ~/projects/FENIX/cardinal
Expand Down
6 changes: 0 additions & 6 deletions scripts/build_cardinal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ cd ${CARDINAL_DIR}
export ENABLE_NEK=no
export ENABLE_DAGMC=yes # Also enables MOAB

# Download all cardinal dependencies
echo "INFO: Updating OpenMC, DAGMC, and MOAB submodules..."
git submodule update --init --recursive contrib/openmc
git submodule update --init contrib/DAGMC
git submodule update --init contrib/moab

if [[ -z "${OPENMC_CROSS_SECTIONS}" ]]; then
echo -e "${YELLOW}"
echo "If you are using OpenMC, remember that you need to set OPENMC_CROSS_SECTIONS to point to a cross_sections.xml file!"
Expand Down

0 comments on commit d1b0527

Please sign in to comment.