Skip to content

Commit

Permalink
Add additional python dependencies to CSD3 build for ampere nodes for…
Browse files Browse the repository at this point in the history
… running XMLDiff tests
  • Loading branch information
alexanderianblair committed Jul 30, 2024
1 parent 2fe07e3 commit feecc9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
10 changes: 7 additions & 3 deletions scripts/build-platypus-csd3-ampere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ install_spack_deps() {
spack install py-setuptools
spack load py-setuptools arch=${ARCH}

spack install py-deepdiff
spack load py-deepdiff arch=${ARCH}

spack install py-xmltodict
spack load py-xmltodict arch=${ARCH}
}

install_gslib() {
Expand All @@ -150,8 +155,7 @@ install_mfem() {
cd "${BUILD_PATH}" || exit 1
git clone https://github.com/mfem/mfem.git
cd mfem || exit 1
# This is just until MFEM merges Edward's changes. Without this, GPU build crashes!
git checkout EdwardPalmer99/add-missing-header-to-exodus-writer-fix
git checkout master
mkdir build
cd build || exit 1
echo "Building MFEM"
Expand Down Expand Up @@ -254,7 +258,7 @@ install_platypus() {
git clone https://github.com/aurora-multiphysics/platypus.git
cd platypus || exit 1
make -j"$compile_cores"

./run_tests -j"$compile_cores"
}

load_modules
Expand Down
9 changes: 1 addition & 8 deletions scripts/build-platypus-csd3-sapphire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ function load_modules() {
module load python/3.8
module load ninja

module load py-pyaml
module load py-jinja2
module load py-packaging
module load py-setuptools
module load py-deepdiff
module load py-xmltodict

STACK_SRC=$(mktemp -d /tmp/moose_stack_src.XXXXXX)
export STACK_SRC

Expand Down Expand Up @@ -61,7 +54,7 @@ function load_modules() {

export PATH=${BUILD_PATH}:${PATH}

cd "{$WORKDIR}" || exit
cd "${WORKDIR}" || exit

#Need to set some compiler flags via config file"
echo "-std=c++17" >> icpx.cfg
Expand Down

0 comments on commit feecc9c

Please sign in to comment.