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

Annotation of /MITgcm/tools/adjoint_options/adjoint_state_final

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


Revision 1.2 - (hide annotations) (download)
Wed Feb 2 22:15:19 2005 UTC (19 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57e_post, checkpoint57f_pre, eckpoint57e_pre, checkpoint57f_post
Changes since 1.1: +2 -2 lines
Dont overwrite LIBS settings.

1 heimbach 1.1 #!/bin/bash
2     #
3 heimbach 1.2 # $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_state_final,v 1.1 2004/10/22 11:46:03 heimbach Exp $
4 heimbach 1.1 # $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 heimbach 1.2 LIBS="${LIBS} -larpack"
20 heimbach 1.1
21     AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'
22     AD_TAF_FLAGS='-reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log -nonew_arg'
23     FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'
24     FTL_TAF_FLAGS='-forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log -nonew_arg'
25     SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'
26     SVD_TAF_FLAGS='-reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log -nonew_arg'
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_uwind_dummy \
39     xx_vwind_dummy \
40     xx_obcsn_dummy \
41     xx_obcss_dummy \
42     xx_obcsw_dummy \
43     xx_obcse_dummy \
44     xx_sst_dummy \
45     xx_sss_dummy \
46     xx_diffkr_dummy \
47     xx_kapgm_dummy \
48     xx_efluxy_dummy \
49     xx_efluxp_dummy' \
50     -output 'objf_state_final'"
51    
52     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
53     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
54    
55     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
56     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
57    
58     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
59     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22