4 |
# $Name$ |
# $Name$ |
5 |
# |
# |
6 |
|
|
7 |
# This file contains the default settings for the adjoint and |
# This AD option-file contains the default settings for the divided adjoint (DIVA) |
8 |
# tangent-linear compilers. If you need to change these settings, |
# and tangent-linear compilers. If you need to change these settings, |
9 |
# please make a separate (local) copy of this file. |
# please make a separate (local) copy of this file. |
10 |
|
|
11 |
# TAMC=/data43/ralf/tamc/tamc |
# TAMC=/data43/ralf/tamc/tamc |
16 |
TAF=staf |
TAF=staf |
17 |
TAMC=tamc |
TAMC=tamc |
18 |
|
|
19 |
|
AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS" |
20 |
AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log' |
FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS" |
21 |
AD_TAF_FLAGS="-z -pure -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log -nonew_arg" |
SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS" |
22 |
FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log' |
|
23 |
FTL_TAF_FLAGS='-z -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log -nonew_arg' |
AD_TAF_FLAGS="-reverse -pure -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS" |
24 |
SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log' |
FTL_TAF_FLAGS="-forward -i4 -r4 -intrinsic system,flush -l taf_ftl.log $FTL_TAF_FLAGS" |
25 |
SVD_TAF_FLAGS='-z -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log -nonew_arg' |
SVD_TAF_FLAGS="-reverse -forward -pure -i4 -r4 -intrinsic system,flush -l taf_svd.log $SVD_TAF_FLAGS" |
26 |
|
|
27 |
|
#- switch to fastopt.net TAF server (instead of default fastopt.de): |
28 |
|
AD_TAF_FLAGS="-server fastopt.net $AD_TAF_FLAGS" |
29 |
|
FTL_TAF_FLAGS="-server fastopt.net $FTL_TAF_FLAGS" |
30 |
|
SVD_TAF_FLAGS="-server fastopt.net $SVD_TAF_FLAGS" |
31 |
|
|
32 |
|
#- using DIVA, we need to show some MPI code to TAF: |
33 |
|
if test "x$MPI" != x ; then |
34 |
|
AD_TAF_FLAGS="$AD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/' |
35 |
|
FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/' |
36 |
|
SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/' |
37 |
|
fi |
38 |
|
|
39 |
DIFF_FLAGS="-toplevel 'the_main_loop' \ |
DIFF_FLAGS="-toplevel 'the_main_loop' \ |
40 |
-input 'xx_theta_dummy \ |
-input 'xx_theta_dummy \ |
63 |
xx_obcse_dummy \ |
xx_obcse_dummy \ |
64 |
xx_sst_dummy \ |
xx_sst_dummy \ |
65 |
xx_sss_dummy \ |
xx_sss_dummy \ |
66 |
|
xx_depth_dummy \ |
67 |
xx_diffkr_dummy \ |
xx_diffkr_dummy \ |
68 |
xx_kapgm_dummy \ |
xx_kapgm_dummy \ |
69 |
|
xx_kapredi_dummy \ |
70 |
|
xx_bottomdrag_dummy \ |
71 |
xx_efluxy_dummy \ |
xx_efluxy_dummy \ |
72 |
xx_efluxp_dummy \ |
xx_efluxp_dummy \ |
73 |
|
xx_edtaux_dummy \ |
74 |
|
xx_edtauy_dummy \ |
75 |
xx_uvel_dummy \ |
xx_uvel_dummy \ |
76 |
xx_vvel_dummy \ |
xx_vvel_dummy \ |
77 |
xx_etan_dummy \ |
xx_etan_dummy \ |
78 |
xx_siarea_dummy \ |
xx_gen2d_dummy \ |
79 |
xx_siheff_dummy \ |
xx_gen3d_dummy \ |
80 |
xx_sihsnow_dummy \ |
xx_genarr2d_dummy \ |
81 |
|
xx_genarr3d_dummy \ |
82 |
|
xx_gentim2d_dummy \ |
83 |
|
xx_siarea_dummy \ |
84 |
|
xx_siheff_dummy \ |
85 |
|
xx_sihsnow_dummy \ |
86 |
|
xx_shifwflx_dummy \ |
87 |
xx_relaxsst_dummy \ |
xx_relaxsst_dummy \ |
88 |
xx_relaxsss_dummy' \ |
xx_relaxsss_dummy \ |
89 |
|
xx_atemp_mean_dummy \ |
90 |
|
xx_aqh_mean_dummy \ |
91 |
|
xx_precip_mean_dummy \ |
92 |
|
xx_swdown_mean_dummy \ |
93 |
|
xx_uwind_mean_dummy \ |
94 |
|
xx_vwind_mean_dummy' \ |
95 |
-output 'fc'" |
-output 'fc'" |
96 |
|
|
97 |
AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS" |
AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS" |