1 |
jmc |
1.2 |
Tutorial Example: "Barotropic gyre" |
2 |
jmc |
1.1 |
(Barotropic Ocean Gyre In Cartesian Coordinates) |
3 |
|
|
================================================ |
4 |
jmc |
1.2 |
(formerly "exp0" verification ; |
5 |
jmc |
1.1 |
also "barotropic_gyre_in_a_box" 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 |
jmc |
1.2 |
cd .. |
13 |
jmc |
1.1 |
|
14 |
|
|
To run: |
15 |
jmc |
1.2 |
cd run |
16 |
jmc |
1.1 |
ln -s ../input/* . |
17 |
jmc |
1.2 |
ln -s ../build/mitgcmuv . |
18 |
jmc |
1.1 |
./mitgcmuv > output.txt |
19 |
jmc |
1.2 |
cd .. |
20 |
jmc |
1.1 |
|
21 |
|
|
There is comparison output in the directory: |
22 |
|
|
results/output.txt |
23 |
|
|
|
24 |
|
|
Comments: |
25 |
|
|
The input data is real*8 and generated using the MATLAB script |
26 |
|
|
gendata.m. |