/[MITgcm]/MITgcm/adjoint/adjoint_ecco
ViewVC logotype

Contents of /MITgcm/adjoint/adjoint_ecco

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


Revision 1.2 - (show annotations) (download)
Fri Jul 13 13:25:44 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
o Updated makefile to incorporate new routines and flow directives
o Added "make adtaf" for usage of TAF instead of TAMC.
o Bug fix in adjoint_ecco_sed.com
o Removed some adjoint prototype code

1 SHELL = /bin/tcsh
2 RM = rm -f
3 LOC = $(PWD)
4 TAMC = /data43/ralf/tamc/tamc
5 DEST = .
6 SOURCE_CODE = ../bin
7 ADJOINT_SCRIPT = ../adjoint
8 BASE = ..
9 TAMCFLAGS = -adjoint
10
11
12 DIFF_FLAGS = -module ecco_main \
13 -input 'xx_theta xx_salt \
14 xx_hfl xx_sfl xx_tauu xx_tauv ' \
15 -output 'fc'
16
17 TAMCFLAG = $(TAMCFLAGS) $(DIFF_FLAGS) -l list_uv -admark ad
18
19
20 # Source files for the MITgcmUV
21 SRC_MODEL = $(BASE)/packages/autodiff/read_write.flow \
22 $(BASE)/packages/autodiff/read_write_fld.flow \
23 $(BASE)/packages/autodiff/read_write_rec.flow \
24 $(BASE)/packages/autodiff/cg2d.flow \
25 $(BASE)/packages/autodiff/initialisation.flow \
26 $(BASE)/packages/autodiff/diags.flow \
27 $(BASE)/packages/autodiff/eesupp.flow \
28 $(BASE)/packages/autodiff/active_file.flow \
29 $(BASE)/packages/autodiff/write_state.flow \
30 $(BASE)/packages/autodiff/exch_ad.flow \
31 $(BASE)/packages/autodiff/global_sum_ad.flow \
32 $(BASE)/packages/autodiff/global_max_ad.flow \
33 $(BASE)/packages/autodiff/mdsio.flow \
34 $(BASE)/packages/autodiff/checkpoint.flow \
35 $(BASE)/packages/autodiff/check_exp.flow \
36 $(BASE)/packages/autodiff/print_message.flow \
37 \
38 $(SOURCE_CODE)/calc_buoyancy.f \
39 $(SOURCE_CODE)/calc_common_factors.f \
40 $(SOURCE_CODE)/calc_diffusivity.f \
41 $(SOURCE_CODE)/calc_div_ghat.f \
42 $(SOURCE_CODE)/calc_grad_eta_surf.f \
43 $(SOURCE_CODE)/calc_gs.f \
44 $(SOURCE_CODE)/calc_gt.f \
45 $(SOURCE_CODE)/calc_isoslopes.f \
46 $(SOURCE_CODE)/calc_ivdc.f \
47 $(SOURCE_CODE)/calc_mom_rhs.f \
48 $(SOURCE_CODE)/calc_phi_hyd.f \
49 $(SOURCE_CODE)/comm_stats.f \
50 $(SOURCE_CODE)/config_summary.f \
51 $(SOURCE_CODE)/convect.f \
52 $(SOURCE_CODE)/correction_step.f \
53 $(SOURCE_CODE)/different_multiple.f \
54 $(SOURCE_CODE)/do_gterm_blocking_exchanges.f \
55 $(SOURCE_CODE)/do_the_model_io.f \
56 $(SOURCE_CODE)/dynamics.f \
57 $(SOURCE_CODE)/external_forcing.f \
58 $(SOURCE_CODE)/find_rho.f \
59 $(SOURCE_CODE)/freeze.f \
60 $(SOURCE_CODE)/get_offline_fields.f \
61 $(SOURCE_CODE)/impldiff.f \
62 $(SOURCE_CODE)/ini_cartesian_grid.f \
63 $(SOURCE_CODE)/ini_cg2d.f \
64 $(SOURCE_CODE)/ini_communication_patterns.f \
65 $(SOURCE_CODE)/ini_cori.f \
66 $(SOURCE_CODE)/ini_depths.f \
67 $(SOURCE_CODE)/ini_fields.f \
68 $(SOURCE_CODE)/ini_forcing.f \
69 $(SOURCE_CODE)/ini_grid.f \
70 $(SOURCE_CODE)/ini_masks_etc.f \
71 $(SOURCE_CODE)/ini_predictor.f \
72 $(SOURCE_CODE)/ini_procs.f \
73 $(SOURCE_CODE)/ini_psurf.f \
74 $(SOURCE_CODE)/ini_salt.f \
75 $(SOURCE_CODE)/ini_spherical_polar_grid.f \
76 $(SOURCE_CODE)/ini_theta.f \
77 $(SOURCE_CODE)/ini_uvel.f \
78 $(SOURCE_CODE)/ini_vertical_grid.f \
79 $(SOURCE_CODE)/ini_vvel.f \
80 $(SOURCE_CODE)/initialise_varia.f \
81 $(SOURCE_CODE)/load_external_fields.f \
82 $(SOURCE_CODE)/modeldata_example.f \
83 $(SOURCE_CODE)/plot_field.f \
84 $(SOURCE_CODE)/solve_for_pressure.f \
85 $(SOURCE_CODE)/state_summary.f \
86 $(SOURCE_CODE)/timeaver_1fld_xyz.f \
87 $(SOURCE_CODE)/timeaver_2fld_xyz.f \
88 $(SOURCE_CODE)/timeaver_final_xy.f \
89 $(SOURCE_CODE)/timeaver_final_xyz.f \
90 $(SOURCE_CODE)/timeaver_ini_xy.f \
91 $(SOURCE_CODE)/timeaver_ini_xyz.f \
92 $(SOURCE_CODE)/timeaver_inter_xy.f \
93 $(SOURCE_CODE)/timeaver_inter_xyz.f \
94 $(SOURCE_CODE)/timestep.f \
95 \
96 $(SOURCE_CODE)/cost_averagesfields.f \
97 $(SOURCE_CODE)/cost_averagesfinal.f \
98 $(SOURCE_CODE)/cost_averagesflags.f \
99 $(SOURCE_CODE)/cost_averagesinit.f \
100 $(SOURCE_CODE)/cost_final.f \
101 $(SOURCE_CODE)/cost_forcing.f \
102 $(SOURCE_CODE)/cost_geoid.f \
103 $(SOURCE_CODE)/cost_heatflux.f \
104 $(SOURCE_CODE)/cost_hyd.f \
105 $(SOURCE_CODE)/cost_initvaria.f \
106 $(SOURCE_CODE)/cost_merstress.f \
107 $(SOURCE_CODE)/cost_readers.f \
108 $(SOURCE_CODE)/cost_readsstfields.f \
109 $(SOURCE_CODE)/cost_readtopex.f \
110 $(SOURCE_CODE)/cost_readtopexmean.f \
111 $(SOURCE_CODE)/cost_salt.f \
112 $(SOURCE_CODE)/cost_saltflux.f \
113 $(SOURCE_CODE)/cost_ssh.f \
114 $(SOURCE_CODE)/cost_theta.f \
115 $(SOURCE_CODE)/cost_zonstress.f \
116 \
117 $(SOURCE_CODE)/ctrl_getheatflux.f \
118 $(SOURCE_CODE)/ctrl_getmerstress.f \
119 $(SOURCE_CODE)/ctrl_getrec.f \
120 $(SOURCE_CODE)/ctrl_getsaltflux.f \
121 $(SOURCE_CODE)/ctrl_getzonstress.f \
122 $(SOURCE_CODE)/ctrl_map.f \
123 $(SOURCE_CODE)/ctrl_state2xxall.f \
124 $(SOURCE_CODE)/ctrl_state2xxhfl.f \
125 $(SOURCE_CODE)/ctrl_state2xxsalt.f \
126 $(SOURCE_CODE)/ctrl_state2xxsfl.f \
127 $(SOURCE_CODE)/ctrl_state2xxtauu.f \
128 $(SOURCE_CODE)/ctrl_state2xxtauv.f \
129 $(SOURCE_CODE)/ctrl_state2xxtheta.f \
130 $(SOURCE_CODE)/ctrl_xx2stateall.f \
131 $(SOURCE_CODE)/ctrl_xx2statehfl.f \
132 $(SOURCE_CODE)/ctrl_xx2statesalt.f \
133 $(SOURCE_CODE)/ctrl_xx2statesfl.f \
134 $(SOURCE_CODE)/ctrl_xx2statetauu.f \
135 $(SOURCE_CODE)/ctrl_xx2statetauv.f \
136 $(SOURCE_CODE)/ctrl_xx2statetheta.f \
137 \
138 $(SOURCE_CODE)/ecco_main.f \
139 \
140 $(SOURCE_CODE)/ymds_daily.f \
141 $(SOURCE_CODE)/ymds_integrate.f \
142 $(SOURCE_CODE)/ymds_monthly.f \
143 $(SOURCE_CODE)/ymds_postdaily.f \
144 $(SOURCE_CODE)/ymds_postmonthly.f \
145 $(SOURCE_CODE)/ymds_poststep.f \
146 $(SOURCE_CODE)/ymds_postyearly.f \
147 $(SOURCE_CODE)/ymds_predaily.f \
148 $(SOURCE_CODE)/ymds_premonthly.f \
149 $(SOURCE_CODE)/ymds_prestep.f \
150 $(SOURCE_CODE)/ymds_preyearly.f \
151 $(SOURCE_CODE)/ymds_step.f \
152 $(SOURCE_CODE)/ymds_yearly.f \
153 \
154 $(SOURCE_CODE)/exf_bulkcdn.f \
155 $(SOURCE_CODE)/exf_bulkqsat.f \
156 $(SOURCE_CODE)/exf_bulkrhn.f \
157 $(SOURCE_CODE)/exf_getffields.f \
158 $(SOURCE_CODE)/exf_getffieldsrec.f \
159 $(SOURCE_CODE)/exf_getforcing.f \
160 $(SOURCE_CODE)/exf_getsaltclim.f \
161 $(SOURCE_CODE)/exf_getsaltclimlambda.f \
162 $(SOURCE_CODE)/exf_getsaltclimrec.f \
163 $(SOURCE_CODE)/exf_getsssclim.f \
164 $(SOURCE_CODE)/exf_getsssclimlambda.f \
165 $(SOURCE_CODE)/exf_getsssclimrec.f \
166 $(SOURCE_CODE)/exf_getsstclim.f \
167 $(SOURCE_CODE)/exf_getsstclimlambda.f \
168 $(SOURCE_CODE)/exf_getsstclimrec.f \
169 $(SOURCE_CODE)/exf_getsurfacefluxes.f \
170 $(SOURCE_CODE)/exf_gettempclim.f \
171 $(SOURCE_CODE)/exf_gettempclimlambda.f \
172 $(SOURCE_CODE)/exf_gettempclimrec.f \
173 $(SOURCE_CODE)/exf_mapfields.f \
174 $(SOURCE_CODE)/exf_readatmprecip.f \
175 $(SOURCE_CODE)/exf_readatmqh.f \
176 $(SOURCE_CODE)/exf_readatmtemp.f \
177 $(SOURCE_CODE)/exf_readheatflux.f \
178 $(SOURCE_CODE)/exf_readlwflux.f \
179 $(SOURCE_CODE)/exf_readmerstress.f \
180 $(SOURCE_CODE)/exf_readmerwind.f \
181 $(SOURCE_CODE)/exf_readsaltclim.f \
182 $(SOURCE_CODE)/exf_readsaltflux.f \
183 $(SOURCE_CODE)/exf_readsssclim.f \
184 $(SOURCE_CODE)/exf_readsstclim.f \
185 $(SOURCE_CODE)/exf_readswflux.f \
186 $(SOURCE_CODE)/exf_readtempclim.f \
187 $(SOURCE_CODE)/exf_readzonstress.f \
188 $(SOURCE_CODE)/exf_readzonwind.f \
189 $(SOURCE_CODE)/exf_relaxsalt.f \
190 $(SOURCE_CODE)/exf_relaxsss.f \
191 $(SOURCE_CODE)/exf_relaxsst.f \
192 $(SOURCE_CODE)/exf_relaxtheta.f \
193 $(SOURCE_CODE)/exf_swapffields.f \
194 \
195 $(SOURCE_CODE)/cal_addtime.f \
196 $(SOURCE_CODE)/cal_checkdate.f \
197 $(SOURCE_CODE)/cal_compdates.f \
198 $(SOURCE_CODE)/cal_convdate.f \
199 $(SOURCE_CODE)/cal_copydate.f \
200 $(SOURCE_CODE)/cal_daysformonth.f \
201 $(SOURCE_CODE)/cal_dayspermonth.f \
202 $(SOURCE_CODE)/cal_fulldate.f \
203 $(SOURCE_CODE)/cal_getdate.f \
204 $(SOURCE_CODE)/cal_getmonthsrec.f \
205 $(SOURCE_CODE)/cal_intdays.f \
206 $(SOURCE_CODE)/cal_intmonths.f \
207 $(SOURCE_CODE)/cal_intsteps.f \
208 $(SOURCE_CODE)/cal_intyears.f \
209 $(SOURCE_CODE)/cal_isleap.f \
210 $(SOURCE_CODE)/cal_monthsforyear.f \
211 $(SOURCE_CODE)/cal_monthsperyear.f \
212 $(SOURCE_CODE)/cal_nstepday.f \
213 $(SOURCE_CODE)/cal_numints.f \
214 $(SOURCE_CODE)/cal_printdate.f \
215 $(SOURCE_CODE)/cal_printerror.f \
216 $(SOURCE_CODE)/cal_stepsforday.f \
217 $(SOURCE_CODE)/cal_stepsperday.f \
218 $(SOURCE_CODE)/cal_subdates.f \
219 $(SOURCE_CODE)/cal_timeinterval.f \
220 $(SOURCE_CODE)/cal_timepassed.f \
221 $(SOURCE_CODE)/cal_timestamp.f \
222 $(SOURCE_CODE)/cal_toseconds.f \
223 $(SOURCE_CODE)/cal_weekday.f
224
225
226
227 #--------------------------------------------------------
228 # rules
229 #--------------------------------------------------------
230
231 adcode:
232 cd $(DEST) ; cat $(SRC_MODEL) >! tamc_code_ecco.f
233 admodel:
234 cd $(DEST) ; $(TAMC) $(TAMCFLAG) tamc_code_ecco.f \
235 >! tamc_code_ecco.prot
236
237 adchange:
238 ${ADJOINT_SCRIPT}/adjoint_ecco_sed.com \
239 >! tamc_code_ecco_sed_ad.f ; \
240 cp ../model/src/adjoint_model.F \
241 ../model/src/adjoint_model.F_old ; \
242 cat tamc_code_ecco_sed_ad.f >> ../model/src/adjoint_model.F
243 adrestore:
244 cp ../model/src/adjoint_model.F_template \
245 ../model/src/adjoint_model.F
246 adall: adcode admodel

  ViewVC Help
Powered by ViewVC 1.1.22