1 |
mlosch |
1.1 |
Example: "4 Layer Double Gyre with Pressure Loading" |
2 |
|
|
==================================================== |
3 |
|
|
|
4 |
|
|
To apply the changes to the default configuration of MITgcmUV: |
5 |
|
|
cp ../verification/inverted_barometer/code/SIZE.h ../model/inc/ |
6 |
|
|
cp ../verification/inverted_barometer/code/CPP_OPTIONS.h ../model/inc/ |
7 |
|
|
cp ../verification/inverted_barometer/code/CPP_EEOPTIONS.h ../eesupp/inc/ |
8 |
|
|
|
9 |
|
|
Configure and compile the code: |
10 |
|
|
cd bin |
11 |
|
|
../tools/genmake -makefile |
12 |
|
|
make depend |
13 |
|
|
make |
14 |
|
|
|
15 |
|
|
To run: |
16 |
|
|
cd ../exe |
17 |
|
|
cp ../verification/inverted_barometer/input/* . |
18 |
|
|
dmpirun -np 4 mitgcmuv ( Digital ) |
19 |
|
|
|
20 |
|
|
There is comparison output in two directories: |
21 |
|
|
../verification/inverted_barometer/results |
22 |
|
|
|
23 |
|
|
Comments: |
24 |
|
|
The input data is real*8 and can be generated with the supplied |
25 |
|
|
matlab script gendata.m to change the input precision to |
26 |
|
|
real*4 change readBinaryPrec=32 in data as well as in gendata.m |