1 |
heimbach |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
heimbach |
1.3 |
# $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_dic,v 1.2 2009/10/14 20:08:28 heimbach Exp $ |
4 |
heimbach |
1.1 |
# $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=/data43/ralf/tamc/tamc |
12 |
|
|
# TAF=~fastopt/bin/taf |
13 |
|
|
# STAF=staf |
14 |
|
|
|
15 |
|
|
TAF=staf |
16 |
|
|
TAMC=tamc |
17 |
|
|
|
18 |
|
|
AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log' |
19 |
|
|
AD_TAF_FLAGS='-reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log' |
20 |
|
|
FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log' |
21 |
|
|
FTL_TAF_FLAGS='-forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log' |
22 |
|
|
SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log' |
23 |
|
|
SVD_TAF_FLAGS='-reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log' |
24 |
|
|
|
25 |
|
|
DIFF_FLAGS="-toplevel 'the_main_loop' \ |
26 |
|
|
-input 'xx_dic \ |
27 |
heimbach |
1.2 |
xx_gen2d_dummy' \ |
28 |
heimbach |
1.3 |
-output 'fc' " |
29 |
heimbach |
1.1 |
|
30 |
|
|
AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS" |
31 |
|
|
AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS" |
32 |
|
|
|
33 |
|
|
FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS" |
34 |
|
|
FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS" |
35 |
|
|
|
36 |
|
|
SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS" |
37 |
|
|
SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS" |