| 1 |
Tutorial Example: "Centennial Time Scale Tracer Injection" |
| 2 |
================================================ |
| 3 |
(formerly "carbon" verification ; |
| 4 |
also "tracer_adjoint_sensitivity" in release.1 branch) |
| 5 |
|
| 6 |
Configure and compile the code: |
| 7 |
cd build |
| 8 |
../../../tools/genmake2 -mods ../code_ad -adof=../../../tools/adjoint_options/adjoint_staf [-of my_platform_optionFile] |
| 9 |
make depend |
| 10 |
make adall |
| 11 |
|
| 12 |
To run: |
| 13 |
cd build |
| 14 |
ln -s ../input_ad/* . |
| 15 |
ln -s ../input/* . |
| 16 |
./mitgcmuv_ad > output.txt_adm |
| 17 |
|
| 18 |
There is comparison output in the directory: |
| 19 |
results/output.txt_adm |
| 20 |
grep for grdchk output: |
| 21 |
grep 'precision_grdchk_result' output.txt_adm |
| 22 |
|
| 23 |
Comments: |
| 24 |
The input data is real*4 |