1 |
Run arctic40km adjoint |
2 |
###################### |
3 |
|
4 |
Current setup is 1-year 1979, on 15 procs |
5 |
----------------------------------------- |
6 |
o cost terms are |
7 |
* theta/salt climatology (incl. annual cycle) |
8 |
* SST, SSS |
9 |
* daily seaice concentration |
10 |
(see code_ad/ECCO_CPPOPTIONS.h, |
11 |
input_ad/data.ecco, input_ad/data.seaice) |
12 |
o forward part has all kpp, gmredi, seaice, |
13 |
adjoint part has SEAICEuseDYNAMICS=.FALSE., see |
14 |
code_ad/autodiff_inadmode_set_ad.F |
15 |
code_ad/autodiff_inadmode_unset_ad.F |
16 |
|
17 |
To build code (on columbia): |
18 |
--------------------------- |
19 |
cd build/ |
20 |
../../../tools/genmake2 -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas -mods ../code_ad |
21 |
make depend |
22 |
make adtaf |
23 |
make -j adall |
24 |
|
25 |
To run the code: |
26 |
--------------- |
27 |
Currently: |
28 |
Need input parameter files from input_ad/ |
29 |
Need input fields from /nobackup2a/heimbach/ecco/arctic40km/data/input/ |
30 |
|
31 |
Optimization/linesearch: |
32 |
----------------------- |
33 |
T.B.D. |
34 |
|
35 |
#################################################################### |
36 |
|
37 |
Instructions for 10-year 1979-1988 arctic40km adjoint, on 15 procs |
38 |
last modified by D. Menemenlis (menemenlis@jpl.nasa.gov) on 07/03/06 |
39 |
-------------------------------------------------------------------- |
40 |
o cost terms are |
41 |
* theta/salt climatology (incl. annual cycle) |
42 |
* SST, SSS |
43 |
* daily seaice concentration |
44 |
(see code_ad/ECCO_CPPOPTIONS.h, |
45 |
input_ad/data.ecco, input_ad/data.seaice) |
46 |
o forward part has all kpp, gmredi, seaice, |
47 |
adjoint part has SEAICEuseDYNAMICS=.FALSE., see |
48 |
code_ad/autodiff_inadmode_set_ad.F |
49 |
code_ad/autodiff_inadmode_unset_ad.F |
50 |
|
51 |
To get code: |
52 |
------------ |
53 |
cvs co MITgcm_code |
54 |
cd MITgcm |
55 |
cvs co -d arctic40km MITgcm_contrib/arctic40km |
56 |
cd arctic40km/input_ad |
57 |
wget -nd -r -A"ICECONC*" http://mit.ecco-group.org/datasets/MITgcm_input_files/MITgcm_contrib/arctic40km/input |
58 |
wget -nd -r -A"*.bin" http://mit.ecco-group.org/datasets/MITgcm_input_files/MITgcm_contrib/arctic40km/input |
59 |
wget -nd -r -A"topog.bin_130_102" http://mit.ecco-group.org/datasets/MITgcm_input_files/MITgcm_contrib/arctic40km/input |
60 |
wget -nd -r -A"*.phc_130_102_25_12" http://mit.ecco-group.org/datasets/MITgcm_input_files/MITgcm_contrib/arctic40km/input |
61 |
cd ../.. |
62 |
|
63 |
Also need to have "ncep_rgau" directory available at same level as MITgcm |
64 |
ncep_rgau files are available at http://ecco2.org/products/model_setups/ncep_rgau |
65 |
------------------------------------------------------------------------- |
66 |
|
67 |
To build code (on columbia): |
68 |
--------------------------- |
69 |
mkdir bin |
70 |
cd bin |
71 |
\rm * |
72 |
../tools/genmake2 -of ../tools/build_options/linux_ia64_ifort+mpi_altix_nas -mods ../arctic40km/code_ad |
73 |
make depend |
74 |
make adtaf |
75 |
make -j adall |
76 |
|
77 |
To run the code: |
78 |
--------------- |
79 |
cd .. |
80 |
\cp arctic40km/input_ad/runarctic.csh . |
81 |
qsub runarctic.csh |