/[MITgcm]/MITgcm/verification/tutorial_dic_adjoffline/code_ad/ad_optfile.local
ViewVC logotype

Annotation of /MITgcm/verification/tutorial_dic_adjoffline/code_ad/ad_optfile.local

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


Revision 1.4 - (hide annotations) (download)
Fri Jan 15 18:37:55 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, HEAD
Changes since 1.3: +15 -3 lines
adjusted after TAF default changed on Jan 14, 2016

1 jmc 1.1 #!/bin/bash
2     #
3 jmc 1.4 # $Header: /u/gcmpack/MITgcm/verification/tutorial_dic_adjoffline/code_ad/ad_optfile.local,v 1.3 2013/08/07 16:23:32 heimbach Exp $
4 jmc 1.1 # $Name: $
5    
6     # This AD option-file contains the settings for the adjoint and
7     # tangent-linear compilers to use for this particular setup.
8     # It is similar to the default AD-optfile except
9     # for the list of controls (DIFF_FLAGS)
10    
11     # TAMC=/data43/ralf/tamc/tamc
12     # TAF=~fastopt/bin/taf
13     # STAF=staf
14    
15     TAF=staf
16     TAMC=tamc
17    
18 heimbach 1.3 AD_TAMC_FLAGS="-reverse -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
19 jmc 1.4 FTL_TAMC_FLAGS="-forward -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
20     SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
21    
22 heimbach 1.3 AD_TAF_FLAGS="-reverse -i4 -r4 -l taf_ad.log $AD_TAF_FLAGS"
23     FTL_TAF_FLAGS="-forward -i4 -r4 -l taf_ftl.log $FTL_TAF_FLAGS"
24     SVD_TAF_FLAGS="-reverse -forward -pure -i4 -r4 -l taf_svd.log $SVD_TAF_FLAGS"
25 jmc 1.1
26 jmc 1.4 #- after Jan 14, 2016, TAF default is "-f95"
27     if test "x$ALWAYS_USE_F90" = "x1" ; then
28     AD_TAF_FLAGS="-f90 $AD_TAF_FLAGS"
29     FTL_TAF_FLAGS="-f90 $FTL_TAF_FLAGS"
30     SVD_TAF_FLAGS="-f90 $SVD_TAF_FLAGS"
31     else
32     AD_TAF_FLAGS="-f77 $AD_TAF_FLAGS"
33     FTL_TAF_FLAGS="-f77 $FTL_TAF_FLAGS"
34     SVD_TAF_FLAGS="-f77 $SVD_TAF_FLAGS"
35     fi
36    
37 jmc 1.1 DIFF_FLAGS="-toplevel 'the_main_loop' \
38     -input 'xx_dic \
39     xx_gen2d_dummy' \
40     -output 'fc' "
41    
42     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
43     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
44    
45     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
46     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
47    
48     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
49     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22