1 |
jmc |
1.1 |
Tutorial Example: "Global Ocean State Estimation" |
2 |
|
|
(Global Ocean State Estimation at 4.o Resolution) |
3 |
|
|
================================================ |
4 |
|
|
|
5 |
|
|
Configure and compile the code: |
6 |
|
|
cd build |
7 |
dfer |
1.2 |
../../../tools/genmake2 -mods=../code_ad -adof=../code_ad/adjoint_hfluxm [-of my_platform_optionFile] |
8 |
jmc |
1.1 |
make depend |
9 |
|
|
make adall |
10 |
|
|
|
11 |
|
|
To run: |
12 |
|
|
cd build |
13 |
|
|
ln -s ../input_ad/* . |
14 |
|
|
ln -s ../input/* . |
15 |
|
|
./mitgcmuv_ad > output.txt_adm |
16 |
|
|
|
17 |
|
|
There is comparison output in the directory: |
18 |
|
|
results/output.txt_adm |
19 |
|
|
grep for grdchk output: |
20 |
dfer |
1.3 |
grep 'grdchk output' output_adm.txt |
21 |
jmc |
1.1 |
|
22 |
|
|
Comments: |