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

Contents of /MITgcm/tools/adjoint_options/adjoint_default

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


Revision 1.1.2.1 - (show annotations) (download)
Mon Oct 20 04:01:31 2003 UTC (20 years, 7 months ago) by edhill
Branch: tg2-branch
Changes since 1.1: +48 -0 lines
 o initial steps towards adding "autodiff" targets to genmake2

1 #!/bin/bash
2 #
3 # $Header: $
4 # $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 TAMC=tamc
12 TAF=taf
13 # STAF=staf
14
15 AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4'
16 AD_TAF_FLAGS='-reverse -admark ad -i4 -r4 \
17 -l taf_ad.log -flow taf_ad_flow.log -nonew_arg'
18 FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4'
19 FTL_TAF_FLAGS='-forward -ftlmark g_ -i4 -r4 \
20 -l taf_ftl.log -flow taf_ftl_flow.log -nonew_arg'
21 SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4'
22 SVD_TAF_FLAGS='-reverse -forward -pure -i4 -r4 \
23 -flow taf_flow.log -nonew_arg'
24
25 DIFF_FLAGS="-toplevel 'the_main_loop' \
26 -input 'xx_theta_dummy \
27 xx_salt_dummy \
28 xx_tr1_dummy \
29 xx_hflux_dummy \
30 xx_sflux_dummy \
31 xx_tauu_dummy \
32 xx_tauv_dummy \
33 xx_sst_dummy \
34 xx_sss_dummy \
35 xx_diffkr_dummy \
36 xx_kapgm_dummy \
37 xx_efluxy_dummy \
38 xx_efluxp_dummy' \
39 -output 'fc'"
40
41 AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
42 AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
43
44 FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
45 FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
46
47 SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
48 SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22