Skip to content

Commit

Permalink
Merge pull request #12 from oelbert/feature/make_c5
Browse files Browse the repository at this point in the history
Update Example Build Script for c5
  • Loading branch information
bensonr authored Jul 14, 2023
2 parents 11e2299 + d927d68 commit 279feca
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module load boost/1.72.0
module load python/3.9

# clone Pace and update submodules
git clone --recursive https://github.com/ai2cm/pace
git clone --recursive https://github.com/NOAA-GFDL/pace
cd pace

# create a conda environment for pace
Expand Down
27 changes: 27 additions & 0 deletions examples/build_scripts/build_gaea_c5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

# Example bash script to install Pace to run bare-metal on Gaea's c4 cluster

set -e -x

# module load necessary system software
module rm PrgEnv-intel
module load PrgEnv-gnu
module rm gcc
module load gcc/12.2.0
module load boost/1.79.0
module load python/3.9

# clone Pace and update submodules
git clone --recursive https://github.com/NOAA-GFDL/pace
cd pace

# create a conda environment for pace
conda create -y --name my_name python=3.8

# enter the environment and update it
conda activate my_name
pip3 install --upgrade pip setuptools wheel

# install the Pace dependencies, GT4Py, and Pace
pip3 install -r requirements_dev.txt -c constraints.txt

0 comments on commit 279feca

Please sign in to comment.