1 |
Example: Subtropical North Atlantic Subduction area |
2 |
=================================================== |
3 |
- with KPP & shortwave heating |
4 |
- no GMRedi |
5 |
|
6 |
To apply the changes to the default configuration of MITgcmUV: |
7 |
cd bin |
8 |
ln -s ../verification/natl_box/code/SIZE.h ../bin/ |
9 |
ln -s ../verification/natl_box/code/CPP_OPTIONS.h ../bin/ |
10 |
ln -s ../verification/natl_box/code/CPP_EEOPTIONS.h ../bin/ |
11 |
ln -s ../verification/natl_box/code/KPP_OPTIONS.h ../bin/ |
12 |
ln -s ../verification/natl_box/code/external_fields_* ../bin/ |
13 |
|
14 |
Configure and compile the code: |
15 |
cd ../bin |
16 |
../tools/genmake -makefile |
17 |
make depend |
18 |
make |
19 |
|
20 |
To run: |
21 |
cd ../exe |
22 |
cp ../verification/natl_box/input/* . |
23 |
mitgcmuv >&! run.out |
24 |
|
25 |
There is comparison output in: |
26 |
../verification/natl_box/output/run.out |
27 |
|
28 |
A FORTRAN program provides a verification procedure. |
29 |
It is based on the boundary layer depth and will either issue: |
30 |
'North Atlantic test passed. KPPhbl file is unchanged.' |
31 |
or: |
32 |
'North Atlantic test failed. KPPhbl file has changed.' |
33 |
|
34 |
cd ../exe |
35 |
ln -sf ../verification/natl_box/output/KPPhbl.001.001.data \ |
36 |
KPPhbl_orig |
37 |
f77 ../verification/natl_box/output/comp_orig.F -o comp_orig |
38 |
comp_orig |
39 |
|
40 |
N.B.: On ORIGIN 2000 use f77 -bytereclen |
41 |
|
42 |
A matlab script, comp_output.m, creates plots for |
43 |
reference (c32) and new surface temperature, boundary layer depth, |
44 |
meridional section of tracer diffusivities, and |
45 |
corresponding differences. |
46 |
|
47 |
Comments: |
48 |
The input data is real*4. |