/[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.2 - (show annotations) (download)
Tue Oct 21 15:26:50 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.1: +45 -0 lines
 o various cleanups and new default files for the TAF/TAMC build targets

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

  ViewVC Help
Powered by ViewVC 1.1.22