1 |
Example: "4x4 Steady Global Simulation" |
Example: "4x4 Steady Global Simulation" |
2 |
======================================= |
======================================= |
3 |
|
|
4 |
To apply the changes to the default configuration of MITgcmUV: |
The notes for this experiment are now on-line. Please see the third |
5 |
cd bin |
chapter ("Getting started with MITgcm") which is available at: |
|
ln -s ../verification/exp2/code/SIZE.h ../bin/ |
|
|
ln -s ../verification/exp2/code/CPP_OPTIONS.h ../bin/ |
|
|
ln -s ../verification/exp2/code/CPP_EEOPTIONS.h ../bin/ |
|
|
ln -s ../verification/exp2/code/external_fields_load.F ../bin/ |
|
6 |
|
|
7 |
Configure and compile the code: |
http://mitgcm.org/pelican/online_documents/node1.html |
|
cd ../bin |
|
|
../tools/genmake -makefile |
|
|
make depend |
|
|
make |
|
8 |
|
|
|
To run: |
|
|
cd ../exe |
|
|
cp ../verification/exp2/input/* . |
|
|
dmpirun -np 4 mitgcmuv ( Digital ) |
|
9 |
|
|
|
There is comparison output in two directories: |
|
|
../verification/exp2/results |
|
|
../verification/exp2/results.oldcode |
|
|
|
|
|
To obtain the "oldcode" numbers make the following changes |
|
|
to the older code: |
|
|
CPP_OPTIONS.h must have |
|
|
#define OLD_ADV_BCS |
|
|
#define OLD_UV_GEOMETRY |
|
|
calc_mom_rhs.F must have |
|
|
#undef NO_LATERAL_SLIP |
|
|
#define NO_BOTTOM_SLIP |
|
|
|
|
|
Comments: |
|
|
The input data is real*4. |
|