1 |
|
Example: "4x4 Steady Global Simulation" |
2 |
|
======================================= |
3 |
|
|
4 |
|
To apply the changes to the default configuration of MITgcmUV: |
5 |
|
cd bin |
6 |
|
ln -s ../verification/exp2/code/SIZE.h ../bin/ |
7 |
|
ln -s ../verification/exp2/code/CPP_OPTIONS.h ../bin/ |
8 |
|
ln -s ../verification/exp2/code/CPP_EEOPTIONS.h ../bin/ |
9 |
|
ln -s ../verification/exp2/code/external_fields_load.F ../bin/ |
10 |
|
|
11 |
|
Configure and compile the code: |
12 |
|
cd ../bin |
13 |
|
../tools/genmake -makefile |
14 |
|
make depend |
15 |
|
make |
16 |
|
|
17 |
|
To run: |
18 |
|
cd ../exe |
19 |
|
cp ../verification/exp2/input/* . |
20 |
|
dmpirun -np 4 mitgcmuv ( Digital ) |
21 |
|
|
22 |
|
There is comparison output in two directories: |
23 |
|
../verification/exp2/results |
24 |
|
../verification/exp2/results.oldcode |
25 |
|
|
26 |
|
To obtain the "oldcode" numbers make the following changes |
27 |
|
to the older code: |
28 |
|
CPP_OPTIONS.h must have |
29 |
|
#define OLD_ADV_BCS |
30 |
|
#define OLD_UV_GEOMETRY |
31 |
|
calc_mom_rhs.F must have |
32 |
|
#undef NO_LATERAL_SLIP |
33 |
|
#define NO_BOTTOM_SLIP |
34 |
|
|
35 |
|
Comments: |
36 |
|
The input data is real*4. |