Reproducing Simulations

All v2.LR simulations were run on E3SM’s chrysalis cluster. Most v2.NARRM were run on chrysalis as well, except for three historical members that were run on NERSC cori-knl.

Original simulations can be reproduced BFB (bit-for-bit) on the same machines. While you can rerun simulations on a different machines as well, the results with not be BFB due to hardware and software differences.

Below are detailed instructions on how to reproduce v2.LR.piControl on chrysalis. It should be reasonably simple to adapt for other simulations and/or machines.

Files are usually stored in two locatations: scripts and source code in the home file system (~/E3SMv2_test) and model files in the scratch file syatem (/lcrc/group/e3sm/$USER/E3SMv2_test).

# Load E3SM unified to make zstash available
source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified_chrysalis.sh
# Replace with the case you're running.
# CASE_NAME is what's listed in the "Simulation" column below.
CASE_NAME="v2.LR.piControl"

# (1) Retrieve run script
mkdir -p ~/E3SMv2_test/scripts
cd ~/E3SMv2_test/scripts
# The Github address is what's listed in the "Script" column below.
wget https://raw.githubusercontent.com/E3SM-Project/e3sm_data_docs/main/run_scripts/v2/reproduce/run.v2.LR.piControl.sh
vi run.${CASE_NAME}.sh
#--> customize as needed
# If you named your directory, something other than "E3SMv2_test",
# you'll need to update those references in this script.
# If you already have compiled code, set: `do_fetch_code=false`

# (2) Retrieve initial conditions from NERSC HPSS
mkdir -p /lcrc/group/e3sm/${USER}/E3SMv2_test/${CASE_NAME}
cd /lcrc/group/e3sm/${USER}/E3SMv2_test/${CASE_NAME}
# If you're reproducing a NAARM run, replace the "LR" with "NARRM"
zstash extract -v --hpss=globus://nersc/home/projects/e3sm/www/WaterCycle/E3SMv2/LR/${CASE_NAME} "init/*"

# Remove zstash cache
rm -rf zstash

# (3) Compile and run test
cd ~/E3SMv2_test/scripts
./run.${CASE_NAME}.sh

# (4) After the job completed, check resuls
cd /lcrc/group/e3sm/${USER}/E3SMv2_test/${CASE_NAME}/tests
for test in *_*_ndays
do
  gunzip -c ${test}/run/atm.log.*.gz | grep '^ nstep, te ' | uniq > atm_${test}.txt
done
wc -l atm_*.txt
482 atm_XS_1x10_ndays.txt
#--> each should have 482 lines, corresponding to 10 simulated days
md5sum atm_*.txt
7547932242025fdf92014d06d6f9eec2  atm_XS_1x10_ndays.txt
# Checksum matches reference simulation (see "10 day checksum" column below),
# so results are BFB with original code.

The table below provides link to scripts, original machine and md5 checksum for the original E3SMv2 simulations:

Simulation

Machine

Script

10 day checksum

Water Cycle (low-resolution) > DECK

v2.LR.piControl

chrysalis

v2.LR.piControl

7547932242025fdf92014d06d6f9eec2

v2.LR.piControl_land

chrysalis

v2.LR.abrupt-4xCO2_0101

chrysalis

v2.LR.abrupt-4xCO2_0101

86bc7dfbdc6a71e4bd2925943a15c474

v2.LR.abrupt-4xCO2_0301

chrysalis

v2.LR.abrupt-4xCO2_0301

cd61cc01cfbd03913fafcb6cbe18a8bc

v2.LR.1pctCO2_0101

chrysalis

v2.LR.1pctCO2_0101

3300255fc76bc13433fafea37fb36570

Water Cycle (low-resolution) > Historical

v2.LR.historical_0101

chrysalis

v2.LR.historical_0101

61a7f492bdcc6e6cd4a2b41c92546219

v2.LR.historical_0151

chrysalis

v2.LR.historical_0151

6b17c91b7e07d31c162adbfbe7782d42

v2.LR.historical_0201

chrysalis

v2.LR.historical_0201

e79dda36bb76507cc6fdf88292e8ced9

v2.LR.historical_0251

chrysalis

v2.LR.historical_0251

6ad002ff6f198f6ba936171da48bc5b2

v2.LR.historical_0301

chrysalis

v2.LR.historical_0301

42ffbf170db587dc25d84d5d2ec7bc12

v2.LR.historical_0101_bonus

chrysalis

d23e455ba5bef0bf87211468570b6835

Water Cycle (low-resolution) > Historical LE

v2.LR.historical_0111

cori-knl

v2.LR.historical_0121

cori-knl

v2.LR.historical_0131

cori-knl

v2.LR.historical_0141

cori-knl

v2.LR.historical_0161

cori-knl

v2.LR.historical_0171

cori-knl

v2.LR.historical_0181

cori-knl

v2.LR.historical_0191

cori-knl

v2.LR.historical_0211

cori-knl

v2.LR.historical_0221

cori-knl

v2.LR.historical_0231

cori-knl

v2.LR.historical_0241

cori-knl

v2.LR.historical_0261

cori-knl

v2.LR.historical_0271

cori-knl

v2.LR.historical_0281

cori-knl

v2.LR.historical_0291

cori-knl

Water Cycle (low-resolution) > SSP370 LE

v2.LR.SSP370_0101

cori-knl

v2.LR.SSP370_0151

cori-knl

v2.LR.SSP370_0201

cori-knl

v2.LR.SSP370_0251

cori-knl

v2.LR.SSP370_0301

cori-knl

v2.LR.SSP370_0111

cori-knl

v2.LR.SSP370_0121

cori-knl

v2.LR.SSP370_0131

cori-knl

v2.LR.SSP370_0141

cori-knl

v2.LR.SSP370_0161

cori-knl

v2.LR.SSP370_0171

cori-knl

v2.LR.SSP370_0181

cori-knl

v2.LR.SSP370_0191

cori-knl

v2.LR.SSP370_0211

cori-knl

v2.LR.SSP370_0221

cori-knl

v2.LR.SSP370_0231

cori-knl

v2.LR.SSP370_0241

cori-knl

v2.LR.SSP370_0261

cori-knl

v2.LR.SSP370_0271

cori-knl

v2.LR.SSP370_0281

cori-knl

v2.LR.SSP370_0291

cori-knl

Water Cycle (low-resolution) > Single-forcing (DAMIP-like)

v2.LR.hist-GHG_0101

chrysalis

v2.LR.hist-GHG_0101

5cc8d0d76887740d8a82568e13e2ff36

v2.LR.hist-GHG_0151

chrysalis

v2.LR.hist-GHG_0201

chrysalis

v2.LR.hist-GHG_0201

9098a4135bfda91ccef99d3f701fd5e5

v2.LR.hist-GHG_0251

chrysalis

v2.LR.hist-GHG_0251

7924e97a4abf55bbd7be708987e29153

v2.LR.hist-GHG_0301

chrysalis

v2.LR.hist-GHG_0301

d461a8bbddd3afc9f8d701943609b83c

v2.LR.hist-aer_0101

chrysalis

v2.LR.hist-aer_0101

c00ea4f726194ced3669a7f0ae0bac27

v2.LR.hist-aer_0151

chrysalis

v2.LR.hist-aer_0151

v2.LR.hist-aer_0201

chrysalis

v2.LR.hist-aer_0201

7feaa4d32a7a888ff969106e48ed9db7

v2.LR.hist-aer_0251

chrysalis

v2.LR.hist-aer_0251

849376c7d30ad2dd296f4b4e16eeccf0

v2.LR.hist-aer_0301

chrysalis

v2.LR.hist-aer_0301

d35d92f676c4b312e227415cf19b3316

v2.LR.hist-all-xGHG-xaer_0101

chrysalis

v2.LR.hist-all-xGHG-xaer_0101

a5768c505bb12f778b2606ae8f5705ce

v2.LR.hist-all-xGHG-xaer_0151

chrysalis

v2.LR.hist-all-xGHG-xaer_0201

chrysalis

v2.LR.hist-all-xGHG-xaer_0201

363ecb08227bdfd972e5f058dd12b434

v2.LR.hist-all-xGHG-xaer_0251

chrysalis

v2.LR.hist-all-xGHG-xaer_0251

6a9465b94bef49a235defbd44db273bd

v2.LR.hist-all-xGHG-xaer_0301

chrysalis

v2.LR.hist-all-xGHG-xaer_0301

16a900d361d1edcbd24813445d7d1cd6

Water Cycle (low-resolution) > AMIP

v2.LR.amip_0101

chrysalis

v2.LR.amip_0101

a6cff5ea277dd3a08be6bbc4b1c84a69

v2.LR.amip_0201

chrysalis

v2.LR.amip_0201

64e0fae59c1f6a48da0cae534c8be4a1

v2.LR.amip_0301

chrysalis

6ae0ba340ef42b945c8573e9e5d7a0c7

v2.LR.amip_0101_bonus

chrysalis

c4b1c7337e89134fca7420437992ea97

Water Cycle (low-resolution) > RFMIP

v2.LR.piClim-control

chrysalis

v2.LR.piClim-control

6ce41c36ea2f86e984d12d364085323e

v2.LR.piClim-histall_0021

chrysalis

v2.LR.piClim-histall_0021

c932625975561731c96124c4b3105b44

v2.LR.piClim-histall_0031

chrysalis

v2.LR.piClim-histall_0041

chrysalis

v2.LR.piClim-histall_0041

0e9d9fbc8a132299fed161bd833fdd43

v2.LR.piClim-histaer_0021

chrysalis

v2.LR.piClim-histaer_0021

442ebb4ff467d8c9f57c5d5b4ec37bd9

v2.LR.piClim-histaer_0031

chrysalis

v2.LR.piClim-histaer_0041

chrysalis

v2.LR.piClim-histaer_0041

a67cf4f46aa6ca5f568b5a14f0b2f887

Water Cycle (low-resolution) > Other

v2_ndgclim_t6h_1850aer

v2_ndgclim_t6h_2010aer

Water Cycle (NARRM) > DECK

v2.NARRM.piControl

chrysalis

v2.NARRM.piControl

c18df3c0834abd2b5c63899e37559ccd

v2.NARRM.abrupt-4xCO2_0101

chrysalis

1eb5423d852764bbcd1bf67b180efc43

v2.NARRM.1pctCO2_0101

chrysalis

80e6c83b39d58cb00876506deabfd8c2

Water Cycle (NARRM) > Historical

v2.NARRM.historical_0101

chrysalis

v2.NARRM.historical_0101

4a9ccd61766640b4a4f4b15dc5f5b956

v2.NARRM.historical_0151

cori-knl

v2.NARRM.historical_0201

cori-knl

v2.NARRM.historical_0251

cori-knl

v2.NARRM.historical_0301

chrysalis

v2.NARRM.historical_0301

24147fbb5d601e1bd6fcae6ace72968c

v2.NARRM.historical_0101_bonus

chrysalis

Water Cycle (NARRM) > AMIP

v2.NARRM.amip_0101

chrysalis

930b7fc7e946910c3c8e716f733d0f31

v2.NARRM.amip_0201

chrysalis

a8326dd3922cbf32dccedb494fcedffb

v2.NARRM.amip_0301

chrysalis

f8bcd50a7e9c5ef8253908b73ee7471c

v2.NARRM.amip_0101_bonus

chrysalis

Water Cycle (NARRM) > Other

v2.NA.F20TR.6h.f1.1850aer

v2.NA.F20TR.6h.f1.2010aer