| 32 | 
 ----------------------- | 
 ----------------------- | 
| 33 | 
 T.B.D. | 
 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 |