/[MITgcm]/MITgcm_contrib/ecco_darwin/v4_3deg/readme.txt
ViewVC logotype

Contents of /MITgcm_contrib/ecco_darwin/v4_3deg/readme.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.16 - (show annotations) (download)
Fri Feb 28 21:24:00 2020 UTC (5 years, 5 months ago) by dimitri
Branch: MAIN
Changes since 1.15: +0 -3 lines
File MIME type: text/plain
adding bathy.bin to v4_3deg/data so it does not need to be obtained
from tutorial_global_oce_biogeo

1 # Verification experiment, initially based on
2 # MITgcm/verification/tutorial_global_oce_biogeo
3
4 # ========
5 # 1. Get code
6 cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "11/28/17" MITgcm_code
7 cvs co MITgcm_contrib/ecco_darwin/v4_3deg
8 cvs co MITgcm_contrib/ecco_darwin/v4_llc270
9 cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -D "03/22/18" MITgcm_contrib/darwin/pkg/darwin
10 cd MITgcm/pkg
11 ln -sf ../../MITgcm_contrib/darwin/pkg/darwin .
12 cd ..
13 mkdir build run
14
15 # ================
16 # 2. Build executable
17 # Prerequisite: 1. Get code
18 cd build
19 ../tools/genmake2 -ieee -mo \
20 '../../MITgcm_contrib/ecco_darwin/v4_3deg/code ../../MITgcm_contrib/ecco_darwin/v4_llc270/code_darwin ../../MITgcm_contrib/ecco_darwin/v4_llc270/code'
21 make depend
22 make -j 8
23
24 # ======================
25 # 3. Run verification setup
26 # Prerequisite: 2. Build executable
27 cd ../run
28 ln -sf ../build/mitgcmuv .
29 cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input/data* .
30 cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input_darwin/data* .
31 cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* .
32 ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/* .
33 ./mitgcmuv > output.txt
34 # Compare to verification output
35 diff output.txt ../../MITgcm_contrib/ecco_darwin/v4_3deg/results/output.txt
36
37 # ============================
38 # 4. Build and run MPI executable
39 # Prerequisite: 1. Get code
40 cd build
41 rm *
42 cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/code/SIZE.h_mpi SIZE.h
43 ../tools/genmake2 -mpi -mo \
44 '../../MITgcm_contrib/ecco_darwin/v4_3deg/code ../../MITgcm_contrib/ecco_darwin/v4_llc270/code_darwin ../../MITgcm_contrib/ecco_darwin/v4_llc270/code'
45 make depend
46 make -j 8
47 cd ../run
48 mkdir diags
49 ln -sf ../build/mitgcmuv .
50 cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input/data* .
51 cp ../../MITgcm_contrib/ecco_darwin/v4_llc270/input_darwin/data* .
52 cp ../../MITgcm_contrib/ecco_darwin/v4_3deg/input/*data* .
53 mv data_mpi data
54 ln -sf ../../MITgcm_contrib/ecco_darwin/v4_3deg/data/* .
55 mpirun -np 8 ./mitgcmuv &
56 # Monitor run
57 tail -f STDOUT.0000 | grep advcfl_W
58
59 # ============================
60 # 5. MATLAB code for computing volume, salt, salinity, and DIC budgets
61 # Prerequisite: 4. Build and run MPI executable
62 # Can be executed as soon as 3 or more months of output are available
63 cd ../../MITgcm_contrib/ecco_darwin/v4_3deg/matlab
64 # start matlab
65 # if using gcmfaces: budget_v4_3deg_with_gcmfaces
66 # if not using gcmfaces: budget_v4_3deg_without_gcmfaces

  ViewVC Help
Powered by ViewVC 1.1.22