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

Annotation of /MITgcm/tools/adjoint_options/adjoint_default

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


Revision 1.17 - (hide annotations) (download)
Sun Nov 25 23:26:33 2007 UTC (16 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59m, checkpoint59l, checkpoint59k
Changes since 1.16: +3 -2 lines
this is a test: append to compiler FLAGS instead of setting it
 - FLAGS are already initialised (empty) in genmake2 => should be safe
 - allows to add some specific option (through file genmake_local) for a
   particular experiment/set-up (e.g.: extended source for bottom_ctrl_5x5)

1 edhill 1.2 #!/bin/bash
2     #
3 jmc 1.17 # $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_default,v 1.16 2007/10/12 11:43:17 heimbach Exp $
4 edhill 1.2 # $Name: $
5     #
6    
7     # This file contains the default settings for the adjoint and
8     # tangent-linear compilers. If you need to change these settings,
9     # please make a separate (local) copy of this file.
10    
11 edhill 1.5 # TAMC=/data43/ralf/tamc/tamc
12     # TAF=~fastopt/bin/taf
13 edhill 1.2 # STAF=staf
14 edhill 1.5
15 heimbach 1.12 TAF=staf
16 edhill 1.5 TAMC=tamc
17 edhill 1.2
18 edhill 1.4 AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'
19 jmc 1.17 #AD_TAF_FLAGS='-z -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log -nonew_arg'
20     AD_TAF_FLAGS="-z -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log -nonew_arg $AD_TAF_FLAGS"
21 edhill 1.4 FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'
22 heimbach 1.11 FTL_TAF_FLAGS='-z -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log -nonew_arg'
23 edhill 1.4 SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'
24 heimbach 1.11 SVD_TAF_FLAGS='-z -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log -nonew_arg'
25 edhill 1.2
26     DIFF_FLAGS="-toplevel 'the_main_loop' \
27     -input 'xx_theta_dummy \
28     xx_salt_dummy \
29     xx_tr1_dummy \
30     xx_hflux_dummy \
31     xx_sflux_dummy \
32     xx_tauu_dummy \
33     xx_tauv_dummy \
34 heimbach 1.6 xx_atemp_dummy \
35     xx_aqh_dummy \
36 heimbach 1.8 xx_precip_dummy \
37 heimbach 1.9 xx_swflux_dummy \
38 heimbach 1.10 xx_swdown_dummy \
39 heimbach 1.13 xx_lwflux_dummy \
40     xx_lwdown_dummy \
41     xx_evap_dummy \
42     xx_snowprecip_dummy \
43     xx_apressure_dummy \
44     xx_runoff_dummy \
45 heimbach 1.6 xx_uwind_dummy \
46     xx_vwind_dummy \
47     xx_obcsn_dummy \
48     xx_obcss_dummy \
49     xx_obcsw_dummy \
50     xx_obcse_dummy \
51 edhill 1.2 xx_sst_dummy \
52     xx_sss_dummy \
53 heimbach 1.12 xx_depth_dummy \
54 edhill 1.2 xx_diffkr_dummy \
55     xx_kapgm_dummy \
56     xx_efluxy_dummy \
57 heimbach 1.7 xx_efluxp_dummy \
58     xx_edtaux_dummy \
59     xx_edtauy_dummy \
60     xx_uvel_dummy \
61     xx_vvel_dummy \
62     xx_etan_dummy \
63 heimbach 1.14 xx_siarea_dummy \
64     xx_siheff_dummy \
65     xx_sihsnow_dummy \
66 heimbach 1.7 xx_relaxsst_dummy \
67     xx_relaxsss_dummy' \
68 edhill 1.2 -output 'fc'"
69    
70     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
71     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
72    
73     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
74     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
75    
76     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
77     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22