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

Annotation of /MITgcm/tools/adjoint_options/adjoint_default

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


Revision 1.34 - (hide annotations) (download)
Fri Aug 9 01:04:50 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.33: +7 -6 lines
comment out previous changes (not needed anymore)

1 edhill 1.2 #!/bin/bash
2     #
3 jmc 1.34 # $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_default,v 1.33 2013/08/08 17:49:55 jmc Exp $
4 edhill 1.2 # $Name: $
5    
6 jmc 1.28 # This AD option-file contains the default settings for the adjoint and
7 edhill 1.2 # tangent-linear compilers. If you need to change these settings,
8     # please make a separate (local) copy of this file.
9    
10 edhill 1.5 # TAMC=/data43/ralf/tamc/tamc
11     # TAF=~fastopt/bin/taf
12 edhill 1.2 # STAF=staf
13 edhill 1.5
14 heimbach 1.12 TAF=staf
15 edhill 1.5 TAMC=tamc
16 edhill 1.2
17 jmc 1.20 AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
18 jmc 1.33 FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
19     SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
20    
21 heimbach 1.32 AD_TAF_FLAGS="-reverse -server fastopt.net -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS"
22     FTL_TAF_FLAGS="-forward -server fastopt.net -i4 -r4 -intrinsic system,flush -l taf_ftl.log $FTL_TAF_FLAGS"
23     SVD_TAF_FLAGS="-reverse -forward -pure -server fastopt.net -i4 -r4 -intrinsic system,flush -l taf_svd.log $SVD_TAF_FLAGS"
24 edhill 1.2
25 jmc 1.34 #- in case we need to show some MPI code to TAF:
26     #if test "x$MPI" != x ; then
27     # AD_TAF_FLAGS="$AD_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
28     # FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
29     # SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
30     #fi
31 jmc 1.33
32 edhill 1.2 DIFF_FLAGS="-toplevel 'the_main_loop' \
33     -input 'xx_theta_dummy \
34     xx_salt_dummy \
35     xx_tr1_dummy \
36     xx_hflux_dummy \
37     xx_sflux_dummy \
38     xx_tauu_dummy \
39     xx_tauv_dummy \
40 heimbach 1.6 xx_atemp_dummy \
41     xx_aqh_dummy \
42 heimbach 1.8 xx_precip_dummy \
43 heimbach 1.9 xx_swflux_dummy \
44 heimbach 1.10 xx_swdown_dummy \
45 heimbach 1.13 xx_lwflux_dummy \
46     xx_lwdown_dummy \
47     xx_evap_dummy \
48     xx_snowprecip_dummy \
49     xx_apressure_dummy \
50     xx_runoff_dummy \
51 heimbach 1.6 xx_uwind_dummy \
52     xx_vwind_dummy \
53     xx_obcsn_dummy \
54     xx_obcss_dummy \
55     xx_obcsw_dummy \
56     xx_obcse_dummy \
57 edhill 1.2 xx_sst_dummy \
58     xx_sss_dummy \
59 heimbach 1.12 xx_depth_dummy \
60 edhill 1.2 xx_diffkr_dummy \
61     xx_kapgm_dummy \
62 mlosch 1.24 xx_kapredi_dummy \
63 gforget 1.18 xx_bottomdrag_dummy \
64 edhill 1.2 xx_efluxy_dummy \
65 heimbach 1.7 xx_efluxp_dummy \
66     xx_edtaux_dummy \
67     xx_edtauy_dummy \
68     xx_uvel_dummy \
69     xx_vvel_dummy \
70     xx_etan_dummy \
71 jmc 1.28 xx_gen2d_dummy \
72     xx_gen3d_dummy \
73 heimbach 1.29 xx_genarr2d_dummy \
74     xx_genarr3d_dummy \
75 heimbach 1.30 xx_gentim2d_dummy \
76 mlosch 1.24 xx_siarea_dummy \
77     xx_siheff_dummy \
78     xx_sihsnow_dummy \
79     xx_shifwflx_dummy \
80 heimbach 1.7 xx_relaxsst_dummy \
81 heimbach 1.27 xx_relaxsss_dummy \
82     xx_atemp_mean_dummy \
83     xx_aqh_mean_dummy \
84     xx_precip_mean_dummy \
85     xx_swdown_mean_dummy \
86     xx_uwind_mean_dummy \
87 jmc 1.28 xx_vwind_mean_dummy' \
88 edhill 1.2 -output 'fc'"
89    
90     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
91     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
92    
93     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
94     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
95    
96     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
97     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22