3 |
|
|
4 |
# ======== |
# ======== |
5 |
# Get code |
# Get code |
6 |
cvs co MITgcm_contrib/ecco_darwin/v4_3deg |
cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm_code |
7 |
git clone git@github.com:MITgcm/MITgcm.git |
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 |
|
|
14 |
# ================ |
# ================ |
15 |
# Build executable |
# Build executable |
|
cd MITgcm |
|
16 |
mkdir build |
mkdir build |
17 |
cd build |
cd build |
18 |
../tools/genmake2 -mo ../../MITgcm_contrib/ecco_darwin/v4_3deg/code |
../tools/genmake2 -mo ../../MITgcm_contrib/ecco_darwin/v4_3deg/code |
19 |
make depend |
make depend |
20 |
make -j 8 |
make -j 8 |
21 |
|
cd .. |
22 |
|
|
23 |
# ====================== |
# ====================== |
24 |
# Run verification setup |
# Run verification setup |
|
cd .. |
|
25 |
mkdir run |
mkdir run |
26 |
cd run |
cd run |
27 |
ln -sf ../build/mitgcmuv . |
ln -sf ../build/mitgcmuv . |
28 |
cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/* . |
cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* . |
29 |
ln -sf ../verification/tutorial_global_oce_biogeo/input/*.bin . |
ln -sf ../verification/tutorial_global_oce_biogeo/input/*bin . |
30 |
ln -sf ../verification/tutorial_global_oce_biogeo/input/pickup* . |
rm lev_* shi_* tren_t* |
31 |
|
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 |
|
ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/ptracers* . |
35 |
|
ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/3deg* . |
36 |
./mitgcmuv > output.txt |
./mitgcmuv > output.txt |
37 |
|
|
38 |
# ============================== |
# ============================== |