/[MITgcm]/MITgcm/tools/adjoint_options/adjoint_state_final
ViewVC logotype

Contents of /MITgcm/tools/adjoint_options/adjoint_state_final

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.15 - (show annotations) (download)
Wed Apr 3 23:10:55 2013 UTC (11 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64l, checkpoint64g
Changes since 1.14: +4 -4 lines
Revert to old TAF version 2.3.8
following discontinuation of "-v1" flag in TAF version 2.4.0
None of the patches provided by Fastopt provided to date worked properly
even for our simple test cases, let alone for ECCO setups.
Fastopt is unwilling to resolve the issue through providing required
resources for proper testing.
One way of customer service...

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_state_final,v 1.14 2012/07/27 18:25:39 heimbach Exp $
4 # $Name: $
5 #
6
7 # This file is a template for SVD-type calculations
8 # where a vector-valued cost function (-dependent) is used,
9 # representing the final state (e.g. theta, salt or SST, SSS)
10 # Also, the ARPACK library is included via LIBS=-larpack
11 # heimbach@mit.edu
12
13 # TAMC=/data43/ralf/tamc/tamc
14 # TAF=~fastopt/bin/taf
15 # STAF=staf
16
17 TAF=taf
18 TAMC=tamc
19 LIBS="${LIBS} -larpack"
20
21 AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'
22 AD_TAF_FLAGS='-version 2.3.8 -v1 -reverse -admark ad -i4 -r4 -l taf_ad.log'
23 FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'
24 FTL_TAF_FLAGS='-version 2.3.8 -v1 -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log'
25 SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'
26 SVD_TAF_FLAGS='-version 2.3.8 -v1 -reverse -forward -pure -i4 -r4 -l taf_svd.log'
27
28 DIFF_FLAGS="-toplevel 'the_main_loop' \
29 -input 'xx_theta_dummy \
30 xx_salt_dummy \
31 xx_tr1_dummy \
32 xx_hflux_dummy \
33 xx_sflux_dummy \
34 xx_tauu_dummy \
35 xx_tauv_dummy \
36 xx_atemp_dummy \
37 xx_aqh_dummy \
38 xx_precip_dummy \
39 xx_swflux_dummy \
40 xx_swdown_dummy \
41 xx_lwflux_dummy \
42 xx_lwdown_dummy \
43 xx_evap_dummy \
44 xx_snowprecip_dummy \
45 xx_apressure_dummy \
46 xx_runoff_dummy \
47 xx_uwind_dummy \
48 xx_vwind_dummy \
49 xx_obcsn_dummy \
50 xx_obcss_dummy \
51 xx_obcsw_dummy \
52 xx_obcse_dummy \
53 xx_sst_dummy \
54 xx_sss_dummy \
55 xx_diffkr_dummy \
56 xx_kapgm_dummy \
57 xx_kapredi_dummy \
58 xx_bottomdrag_dummy \
59 xx_efluxy_dummy \
60 xx_efluxp_dummy \
61 xx_edtaux_dummy \
62 xx_edtauy_dummy \
63 xx_uvel_dummy \
64 xx_vvel_dummy \
65 xx_etan_dummy \
66 xx_gen2d_dummy \
67 xx_gen3d_dummy \
68 xx_genarr2d_dummy \
69 xx_genarr3d_dummy \
70 xx_relaxsst_dummy \
71 xx_relaxsss_dummy \
72 xx_atemp_mean_dummy \
73 xx_aqh_mean_dummy \
74 xx_precip_mean_dummy \
75 xx_swdown_mean_dummy \
76 xx_uwind_mean_dummy \
77 xx_vwind_mean_dummy' \
78 -output 'objf_state_final'"
79
80 AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
81 AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
82
83 FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
84 FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
85
86 SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
87 SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22