Skip to content

Commit

Permalink
Merge pull request #31 from thomas-robinson/2021.02_withContainer
Browse files Browse the repository at this point in the history
2021.02 with container
  • Loading branch information
thomas-robinson authored May 26, 2021
2 parents ce0671f + 59aa51e commit 82b339f
Show file tree
Hide file tree
Showing 5 changed files with 529 additions and 483 deletions.
8 changes: 4 additions & 4 deletions container/Singularity.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Stage: build
mkdir -p /opt/AM4
cd /opt
## Build the AM4 from github
git clone --recursive https://github.com/NOAA-GFDL/AM4.git -b xanadu_2021.01
git clone --recursive https://github.com/NOAA-GFDL/AM4.git -b 2021.02
cd AM4/exec
make -j 20 gcc=on HDF_INCLUDE=-I/opt/hdf5/include SH=sh CLUBB=off
cp am4_xanadu_2021.01.x /opt/AM4
cp am4_xanadu_2021.02.x /opt/AM4
make clean_all
chmod 777 /opt/AM4/am4_xanadu_2021.01.x
chmod 777 /opt/AM4/am4_xanadu_2021.02.x

## Add the AM4 executable to the path
%environment
Expand All @@ -24,5 +24,5 @@ ENV PATH=/opt/AM4/:${PATH}
## Run AM4
%runscript
ulimit -s unlimited
/opt/AM4/am4_xanadu_2021.01.x
/opt/AM4/am4_xanadu_2021.02.x

2 changes: 1 addition & 1 deletion container/Singularity.intel_am4
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ export F_UFMTENDIAN=big
## Run AM4
%runscript
ulimit -s unlimited
/opt/AM4/am4_xanadu_2021.01.x
/opt/AM4/am4_xanadu_2021.02.x

Loading

0 comments on commit 82b339f

Please sign in to comment.