1 |
heimbach |
1.1 |
Example: Subtropical North Atlantic Subduction area |
2 |
jmc |
1.4 |
==================================================== |
3 |
heimbach |
1.1 |
- with KPP & shortwave heating |
4 |
|
|
- no GMRedi |
5 |
|
|
|
6 |
|
|
Configure and compile the code: |
7 |
jmc |
1.4 |
cd build |
8 |
|
|
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
9 |
heimbach |
1.1 |
make depend |
10 |
|
|
make |
11 |
jmc |
1.4 |
cd .. |
12 |
heimbach |
1.1 |
|
13 |
|
|
To run: |
14 |
jmc |
1.4 |
cd run |
15 |
|
|
ln -s ../input/* . |
16 |
|
|
../input/prepare_run |
17 |
|
|
ln -s ../build/mitgcmuv . |
18 |
|
|
./mitgcmuv > output.txt |
19 |
|
|
cd .. |
20 |
heimbach |
1.1 |
|
21 |
jmc |
1.4 |
There is comparison output in the directory: |
22 |
|
|
results/output.txt |
23 |
heimbach |
1.1 |
|
24 |
jmc |
1.4 |
---------------------------------------------------- |
25 |
heimbach |
1.1 |
A FORTRAN program provides a verification procedure. |
26 |
|
|
It is based on the boundary layer depth and will either issue: |
27 |
|
|
'North Atlantic test passed. KPPhbl file is unchanged.' |
28 |
|
|
or: |
29 |
|
|
'North Atlantic test failed. KPPhbl file has changed.' |
30 |
|
|
|
31 |
jmc |
1.4 |
cd run |
32 |
|
|
ln -sf ../output/KPPhbl.001.001.data KPPhbl_orig |
33 |
|
|
f77 ../results/comp_orig.F -o comp_orig |
34 |
heimbach |
1.1 |
comp_orig |
35 |
|
|
|
36 |
jmc |
1.4 |
N.B.: On ORIGIN 2000 use f77 -bytereclen |
37 |
heimbach |
1.1 |
|
38 |
jmc |
1.4 |
A matlab script, matlab/comp_output.m, creates plots for |
39 |
heimbach |
1.1 |
reference (c32) and new surface temperature, boundary layer depth, |
40 |
jmc |
1.4 |
meridional section of tracer diffusivities, and |
41 |
heimbach |
1.1 |
corresponding differences. |
42 |
|
|
|
43 |
|
|
Comments: |
44 |
|
|
The input data is real*4. |