| 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 |
|
| 8 |
Configure and compile the code: |
| 9 |
cd build |
| 10 |
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
| 11 |
make depend |
| 12 |
make |
| 13 |
|
| 14 |
To run: |
| 15 |
cd build |
| 16 |
ln -s ../input/* . |
| 17 |
./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 |