| 1 |
dimitri |
1.1 |
# Verification experiment, initially based on |
| 2 |
|
|
# MITgcm/verification/tutorial_global_oce_biogeo |
| 3 |
|
|
|
| 4 |
|
|
# ======== |
| 5 |
|
|
# Get code |
| 6 |
dimitri |
1.2 |
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm_code |
| 7 |
|
|
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co MITgcm_contrib/ecco_darwin/v4_3deg |
| 8 |
|
|
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "03/22/18" MITgcm_contrib/darwin/pkg/darwin |
| 9 |
|
|
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm/verification/tutorial_global_oce_biogeo |
| 10 |
|
|
cd MITgcm/pkg |
| 11 |
|
|
ln -sf ../../MITgcm_contrib/darwin/pkg/darwin . |
| 12 |
|
|
cd .. |
| 13 |
dimitri |
1.1 |
|
| 14 |
|
|
# ================ |
| 15 |
|
|
# Build executable |
| 16 |
|
|
mkdir build |
| 17 |
|
|
cd build |
| 18 |
|
|
../tools/genmake2 -mo ../../MITgcm_contrib/ecco_darwin/v4_3deg/code |
| 19 |
|
|
make depend |
| 20 |
|
|
make -j 8 |
| 21 |
dimitri |
1.2 |
cd .. |
| 22 |
dimitri |
1.1 |
|
| 23 |
|
|
# ====================== |
| 24 |
|
|
# Run verification setup |
| 25 |
|
|
mkdir run |
| 26 |
|
|
cd run |
| 27 |
|
|
ln -sf ../build/mitgcmuv . |
| 28 |
dimitri |
1.4 |
cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* . |
| 29 |
dimitri |
1.5 |
ln -sf ../verification/tutorial_global_oce_biogeo/input/*bin . |
| 30 |
dimitri |
1.6 |
rm lev_* shi_* tren_t* |
| 31 |
dimitri |
1.7 |
ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/runof* . |
| 32 |
|
|
ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/*_2000 . |
| 33 |
|
|
ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/*.0005184000 . |
| 34 |
dimitri |
1.1 |
./mitgcmuv > output.txt |
| 35 |
|
|
|
| 36 |
|
|
# ============================== |
| 37 |
|
|
# Compare to verification output |
| 38 |
|
|
diff output.txt ../../MITgcm_contrib/ecco_darwin/v4_3deg/results/output.txt |