1 |
Example: "4 Layer Double Gyre with Pressure Loading" |
Example: "4 Layer Double Gyre with Pressure Loading" |
2 |
==================================================== |
==================================================== |
3 |
|
|
4 |
To apply the changes to the default configuration of MITgcmUV: |
Comments: |
5 |
cp ../verification/inverted_barometer/code/SIZE.h ../model/inc/ |
The input data is real*8 and can be generated with the supplied |
6 |
cp ../verification/inverted_barometer/code/CPP_OPTIONS.h ../model/inc/ |
matlab script gendata.m |
7 |
cp ../verification/inverted_barometer/code/CPP_EEOPTIONS.h ../eesupp/inc/ |
To change the input precision to real*4 change readBinaryPrec=32 in |
8 |
|
data as well as in gendata.m |
|
Configure and compile the code: |
|
|
cd bin |
|
|
../tools/genmake -makefile |
|
|
make depend |
|
|
make |
|
9 |
|
|
10 |
To run: |
The experiment follow roughly the analytical analysis |
11 |
cd ../exe |
Wunsch and Stammer, Atmospheric loading and the oceanic "inverted |
12 |
cp ../verification/inverted_barometer/input/* . |
barometer" effect. Rev. Geophys., 35, pp. 79-107, 1997. |
|
dmpirun -np 4 mitgcmuv ( Digital ) |
|
13 |
|
|
|
There is comparison output in two directories: |
|
|
../verification/inverted_barometer/results |
|
14 |
|
|
|
Comments: |
|
|
The input data is real*8 and can be generated with the supplied |
|
|
matlab script gendata.m to change the input precision to |
|
|
real*4 change readBinaryPrec=32 in data as well as in gendata.m |
|