Skip to content

Commit

Permalink
Merge branch 'neams-th-coe:devel' into rxn_rate_scores
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearkevin authored Oct 4, 2024
2 parents ea80e97 + f8d57f5 commit ecbe69b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/download-openmc-cross-sections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set +ex

if [[ -z "${OPENMC_CROSS_SECTIONS}" ]]; then
echo ""
echo "You must now set:"
echo -e "\e[31mYou must now set:\e[0m"
echo ""
echo "export OPENMC_CROSS_SECTIONS=${XS_DIR}/cross_sections.xml"
echo ""
Expand Down
14 changes: 10 additions & 4 deletions scripts/get-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,24 @@ set +ex

if [[ -z "${OPENMC_CROSS_SECTIONS}" ]]; then
echo ""
echo "If you are using OpenMC, remember that you need to set OPENMC_CROSS_SECTIONS to point to a cross_sections.xml file!"
echo "To get the ENDF/b-7.1 dataset, please run:"
echo -e "\e[31mIf you are using OpenMC, remember that you need to set OPENMC_CROSS_SECTIONS to point to a cross_sections.xml file! To get the ENDF/b-7.1 dataset, please run:\e[0m"
echo ""
echo "$SCRIPT_DIR/scripts/download-openmc-cross-sections.sh"
echo ""
fi

if [[ -z "${NEKRS_HOME}" ]]; then
echo ""
echo "If you are using NekRS, remember that you need to set NEKRS_HOME to point to your NekRS install!"
echo "If you are using the NekRS submodule, please set:"
echo -e "\e[31mIf you are using NekRS, remember that you need to set NEKRS_HOME to point to your NekRS install! If you are using the NekRS submodule, please set:\e[0m"
echo ""
echo "export NEKRS_HOME=$SCRIPT_DIR/install"
echo ""
fi

if [[ -z "${LIBMESH_JOBS}" ]]; then
echo ""
echo -e "\e[32mTo save time and build in parallel, you can build libMesh in parallel with 8 cores (just an example) by setting:\e[0m"
echo ""
echo "export LIBMESH_JOBS=8"
echo ""
fi

0 comments on commit ecbe69b

Please sign in to comment.