1 |
Tutorial Example: "Baroclinic gyre" |
2 |
(Four Layer Baroclinic Ocean Gyre In Spherical Coordinates) |
3 |
============================================================ |
4 |
(formerly "exp1" verification ; |
5 |
also "baroclinic_gyre_on_a_sphere" in release.1 branch) |
6 |
|
7 |
Configure and compile the code: |
8 |
cd build |
9 |
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
10 |
make depend |
11 |
make |
12 |
cd .. |
13 |
|
14 |
To run: |
15 |
cd run |
16 |
ln -s ../input/* . |
17 |
../build/mitgcmuv > output.txt |
18 |
|
19 |
There is comparison output in the directory: |
20 |
results/output.txt |
21 |
|
22 |
Comments: |
23 |
The input data is real*8 and can be generated with the supplied |
24 |
matlab script gendata.m |
25 |
To change the input precision to real*4 change readBinaryPrec=32 |
26 |
in data as well as in gendata.m |