1 |
Example: Subtropical North Atlantic Subduction area |
2 |
==================================================== |
3 |
- with KPP & shortwave heating |
4 |
- no GMRedi |
5 |
|
6 |
Configure and compile the code: |
7 |
cd build |
8 |
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
9 |
make depend |
10 |
make |
11 |
cd .. |
12 |
|
13 |
To run: |
14 |
cd run |
15 |
ln -s ../input/* . |
16 |
../input/prepare_run |
17 |
ln -s ../build/mitgcmuv . |
18 |
./mitgcmuv > output.txt |
19 |
cd .. |
20 |
|
21 |
There is comparison output in the directory: |
22 |
results/output.txt |
23 |
|
24 |
---------------------------------------------------- |
25 |
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 |
cd run |
32 |
ln -sf ../output/KPPhbl.001.001.data KPPhbl_orig |
33 |
f77 ../results/comp_orig.F -o comp_orig |
34 |
comp_orig |
35 |
|
36 |
N.B.: On ORIGIN 2000 use f77 -bytereclen |
37 |
|
38 |
A matlab script, matlab/comp_output.m, creates plots for |
39 |
reference (c32) and new surface temperature, boundary layer depth, |
40 |
meridional section of tracer diffusivities, and |
41 |
corresponding differences. |
42 |
|
43 |
Comments: |
44 |
The input data is real*4. |