Skip to content

Commit

Permalink
Update run_noresm (#1)
Browse files Browse the repository at this point in the history
Changed the name of the folder containing the source code (now to be obtained from https://github.com/NorESMhub/NorESM.git)
This version was already modified to cope with AR
Also changed the location of the case folder (now in archive)
  • Loading branch information
j34ni authored Feb 4, 2021
1 parent f7d79a1 commit 966b4cd
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions run_noresm
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ export CESM_PES=4

sed -i -e "s/\$CESM_PES/$CESM_PES/g" /home/cesm/.cime/config_machines.xml

cd /home/cesm/packages/noresm-dev

sed -i.bak 's/# ARCHIVE COMMAND SIMILAR ACROSS ALL PLATFORMS/AR="$AR cq"/' cime/src/externals/mct/configure
cd /home/cesm/packages/NorESM

cd cime/scripts

./create_newcase --case /home/cesm/cases/cN1850 --compset \
./create_newcase --case /home/cesm/archive/cases/cN1850 --compset \
1850_CAM60%NORESM_CLM50%SP_CICE%PRES_DOCN%DOM_MOSART_SGLC_SWAV \
--res f19_tn14 --machine espresso --run-unsupported

cd /home/cesm/cases/cN1850
cd /home/cesm/archive/cases/cN1850

# Change the number of nodes per component
NUMNODES=-1
Expand All @@ -30,7 +28,3 @@ EOF
# Build and run
./case.build
./case.submit

mkdir -p /home/cesm/archive/cases

cp -R /home/cesm/cases/cN1850 /home/cesm/archive/cases/.

0 comments on commit 966b4cd

Please sign in to comment.