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

Contents of /MITgcm/tools/adjoint_options/adjoint_f95

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


Revision 1.18 - (show annotations) (download)
Fri Jan 3 17:11:56 2014 UTC (10 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64s, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.17: +6 -1 lines
switch to fastopt.net TAF server (instead of default fastopt.de).

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

  ViewVC Help
Powered by ViewVC 1.1.22