2 |
RM = rm -f |
RM = rm -f |
3 |
LOC = $(PWD) |
LOC = $(PWD) |
4 |
TAMC = tamc |
TAMC = tamc |
5 |
TAF = ~fastopt/bin/taf |
###TAMC = /data43/ralf/tamc/tamc |
6 |
|
TAF = taf |
7 |
|
###TAF = ~fastopt/bin/taf |
8 |
DEST = . |
DEST = . |
9 |
SOURCE_CODE = ../bin |
SOURCE_CODE = ../bin |
10 |
ADJOINT_SCRIPT = ../adjoint |
ADJOINT_SCRIPT = ../adjoint |
11 |
BASE = .. |
BASE = .. |
12 |
|
TAMCFLAGS = -reverse -i4 -r4 |
13 |
|
TAFFLAGS = -reverse -i4 -r4 -nonew_arg |
14 |
PKG = $(BASE)/pkg |
PKG = $(BASE)/pkg |
|
ADTAMCFLAGS = -reverse -i4 -r4 -admark ad |
|
|
ADTAFFLAGS = -reverse -i4 -r4 -admark ad |
|
|
TLTAMCFLAGS = -forward -i4 -r4 -ftlmark g_ |
|
|
TLTAFFLAGS = -forward -i4 -r4 -ftlmark g_ |
|
|
# -warn_step -flow taf_flow.log |
|
15 |
|
|
16 |
DIFF_FLAGS = -toplevel the_main_loop \ |
DIFF_FLAGS = -toplevel the_main_loop \ |
17 |
-input ' xx_theta_dummy \ |
-input ' xx_theta_dummy \ |
18 |
xx_salt_dummy \ |
xx_salt_dummy \ |
|
xx_tr1_dummy \ |
|
19 |
xx_hflux_dummy \ |
xx_hflux_dummy \ |
20 |
xx_sflux_dummy \ |
xx_sflux_dummy \ |
21 |
xx_tauu_dummy \ |
xx_tauu_dummy \ |
22 |
xx_tauv_dummy \ |
xx_tauv_dummy \ |
23 |
xx_sss_dummy \ |
xx_atemp_dummy \ |
24 |
xx_sst_dummy \ |
xx_aqh_dummy \ |
25 |
xx_diffkr_dummy \ |
xx_uwind_dummy \ |
26 |
xx_kapgm_dummy' \ |
xx_vwind_dummy \ |
27 |
|
xx_obcsn_dummy \ |
28 |
|
xx_obcss_dummy \ |
29 |
|
xx_obcsw_dummy \ |
30 |
|
xx_obcse_dummy' \ |
31 |
-output 'fc' |
-output 'fc' |
32 |
|
|
33 |
ADTAMCFLAG = $(ADTAMCFLAGS) $(DIFF_FLAGS) |
TAMCFLAG = $(TAMCFLAGS) $(DIFF_FLAGS) -admark ad |
34 |
ADTAFFLAG = $(ADTAFFLAGS) $(DIFF_FLAGS) |
|
35 |
|
TAFFLAG = $(TAFFLAGS) $(DIFF_FLAGS) -admark ad |
36 |
|
|
|
TLTAMCFLAG = $(TLTAMCFLAGS) $(DIFF_FLAGS) |
|
|
TLTAFFLAG = $(TLTAFFLAGS) $(DIFF_FLAGS) |
|
37 |
|
|
38 |
# Source files for the MITgcmUV |
# Source files for the MITgcmUV |
39 |
SRC_MODEL = \ |
SRC_MODEL = \ |
40 |
$(PKG)/autodiff/read_write.flow \ |
$(PKG)/autodiff/read_write.flow \ |
41 |
$(PKG)/autodiff/read_write_fld.flow \ |
$(PKG)/autodiff/read_write_fld.flow \ |
42 |
$(PKG)/autodiff/read_write_rec.flow \ |
$(PKG)/autodiff/read_write_rec.flow \ |
|
$(PKG)/autodiff/diags.flow \ |
|
43 |
$(PKG)/autodiff/cg2d.flow \ |
$(PKG)/autodiff/cg2d.flow \ |
44 |
|
$(PKG)/autodiff/diags.flow \ |
45 |
$(PKG)/autodiff/debug.flow \ |
$(PKG)/autodiff/debug.flow \ |
46 |
$(PKG)/autodiff/dummy_in_stepping.flow \ |
$(PKG)/autodiff/dummy_in_stepping.flow \ |
47 |
$(PKG)/autodiff/external_fields_load.flow \ |
$(PKG)/autodiff/external_fields_load.flow \ |
57 |
$(PKG)/autodiff/initialisation.flow \ |
$(PKG)/autodiff/initialisation.flow \ |
58 |
$(PKG)/autodiff/mdsio.flow \ |
$(PKG)/autodiff/mdsio.flow \ |
59 |
$(PKG)/autodiff/monitor.flow \ |
$(PKG)/autodiff/monitor.flow \ |
60 |
|
$(PKG)/autodiff/obcs.flow \ |
61 |
$(PKG)/autodiff/checkpoint.flow \ |
$(PKG)/autodiff/checkpoint.flow \ |
|
$(PKG)/autodiff/print_message.flow \ |
|
62 |
$(PKG)/autodiff/open_copy_data_file.flow\ |
$(PKG)/autodiff/open_copy_data_file.flow\ |
63 |
$(PKG)/autodiff/timeave.flow \ |
$(PKG)/autodiff/timeave.flow \ |
64 |
\ |
\ |
67 |
$(SOURCE_CODE)/calc_common_factors.f \ |
$(SOURCE_CODE)/calc_common_factors.f \ |
68 |
$(SOURCE_CODE)/calc_diffusivity.f \ |
$(SOURCE_CODE)/calc_diffusivity.f \ |
69 |
$(SOURCE_CODE)/calc_div_ghat.f \ |
$(SOURCE_CODE)/calc_div_ghat.f \ |
70 |
|
$(SOURCE_CODE)/calc_exact_eta.f \ |
71 |
$(SOURCE_CODE)/calc_grad_phi_surf.f \ |
$(SOURCE_CODE)/calc_grad_phi_surf.f \ |
72 |
$(SOURCE_CODE)/calc_gs.f \ |
$(SOURCE_CODE)/calc_gs.f \ |
73 |
$(SOURCE_CODE)/calc_gt.f \ |
$(SOURCE_CODE)/calc_gt.f \ |
75 |
$(SOURCE_CODE)/calc_ivdc.f \ |
$(SOURCE_CODE)/calc_ivdc.f \ |
76 |
$(SOURCE_CODE)/calc_phi_hyd.f \ |
$(SOURCE_CODE)/calc_phi_hyd.f \ |
77 |
$(SOURCE_CODE)/calc_viscosity.f \ |
$(SOURCE_CODE)/calc_viscosity.f \ |
|
$(SOURCE_CODE)/comm_stats.f \ |
|
78 |
$(SOURCE_CODE)/convect.f \ |
$(SOURCE_CODE)/convect.f \ |
79 |
$(SOURCE_CODE)/convective_adjustment.f \ |
$(SOURCE_CODE)/convective_adjustment.f \ |
80 |
$(SOURCE_CODE)/convective_adjustment_ini.f \ |
$(SOURCE_CODE)/convective_adjustment_ini.f \ |
88 |
$(SOURCE_CODE)/external_forcing_surf.f \ |
$(SOURCE_CODE)/external_forcing_surf.f \ |
89 |
$(SOURCE_CODE)/find_alpha.f \ |
$(SOURCE_CODE)/find_alpha.f \ |
90 |
$(SOURCE_CODE)/find_rho.f \ |
$(SOURCE_CODE)/find_rho.f \ |
|
$(SOURCE_CODE)/forward_step.f \ |
|
91 |
$(SOURCE_CODE)/freeze.f \ |
$(SOURCE_CODE)/freeze.f \ |
92 |
\ |
\ |
93 |
$(SOURCE_CODE)/gad_advection.f \ |
$(SOURCE_CODE)/gad_advection.f \ |
121 |
\ |
\ |
122 |
$(SOURCE_CODE)/grad_sigma.f \ |
$(SOURCE_CODE)/grad_sigma.f \ |
123 |
$(SOURCE_CODE)/impldiff.f \ |
$(SOURCE_CODE)/impldiff.f \ |
124 |
|
$(SOURCE_CODE)/ini_autodiff.f \ |
125 |
$(SOURCE_CODE)/ini_cartesian_grid.f \ |
$(SOURCE_CODE)/ini_cartesian_grid.f \ |
126 |
$(SOURCE_CODE)/ini_cg2d.f \ |
$(SOURCE_CODE)/ini_cg2d.f \ |
|
$(SOURCE_CODE)/ini_communication_patterns.f \ |
|
127 |
$(SOURCE_CODE)/ini_cori.f \ |
$(SOURCE_CODE)/ini_cori.f \ |
128 |
$(SOURCE_CODE)/ini_curvilinear_grid.f \ |
$(SOURCE_CODE)/ini_curvilinear_grid.f \ |
129 |
$(SOURCE_CODE)/ini_depths.f \ |
$(SOURCE_CODE)/ini_depths.f \ |
135 |
$(SOURCE_CODE)/ini_mixing.f \ |
$(SOURCE_CODE)/ini_mixing.f \ |
136 |
$(SOURCE_CODE)/ini_p_ground.f \ |
$(SOURCE_CODE)/ini_p_ground.f \ |
137 |
$(SOURCE_CODE)/ini_pnh.f \ |
$(SOURCE_CODE)/ini_pnh.f \ |
|
$(SOURCE_CODE)/ini_procs.f \ |
|
138 |
$(SOURCE_CODE)/ini_psurf.f \ |
$(SOURCE_CODE)/ini_psurf.f \ |
139 |
$(SOURCE_CODE)/ini_salt.f \ |
$(SOURCE_CODE)/ini_salt.f \ |
140 |
$(SOURCE_CODE)/ini_spherical_polar_grid.f \ |
$(SOURCE_CODE)/ini_spherical_polar_grid.f \ |
159 |
$(SOURCE_CODE)/mom_u_adv_vu.f \ |
$(SOURCE_CODE)/mom_u_adv_vu.f \ |
160 |
$(SOURCE_CODE)/mom_u_adv_wu.f \ |
$(SOURCE_CODE)/mom_u_adv_wu.f \ |
161 |
$(SOURCE_CODE)/mom_u_bottomdrag.f \ |
$(SOURCE_CODE)/mom_u_bottomdrag.f \ |
162 |
|
$(SOURCE_CODE)/mom_u_coriolis.f \ |
163 |
$(SOURCE_CODE)/mom_u_del2u.f \ |
$(SOURCE_CODE)/mom_u_del2u.f \ |
164 |
$(SOURCE_CODE)/mom_u_metric_nh.f \ |
$(SOURCE_CODE)/mom_u_metric_nh.f \ |
165 |
$(SOURCE_CODE)/mom_u_metric_sphere.f \ |
$(SOURCE_CODE)/mom_u_metric_sphere.f \ |
171 |
$(SOURCE_CODE)/mom_v_adv_vv.f \ |
$(SOURCE_CODE)/mom_v_adv_vv.f \ |
172 |
$(SOURCE_CODE)/mom_v_adv_wv.f \ |
$(SOURCE_CODE)/mom_v_adv_wv.f \ |
173 |
$(SOURCE_CODE)/mom_v_bottomdrag.f \ |
$(SOURCE_CODE)/mom_v_bottomdrag.f \ |
174 |
|
$(SOURCE_CODE)/mom_v_coriolis.f \ |
175 |
$(SOURCE_CODE)/mom_v_del2v.f \ |
$(SOURCE_CODE)/mom_v_del2v.f \ |
176 |
$(SOURCE_CODE)/mom_v_metric_nh.f \ |
$(SOURCE_CODE)/mom_v_metric_nh.f \ |
177 |
$(SOURCE_CODE)/mom_v_metric_sphere.f \ |
$(SOURCE_CODE)/mom_v_metric_sphere.f \ |
199 |
$(SOURCE_CODE)/state_summary.f \ |
$(SOURCE_CODE)/state_summary.f \ |
200 |
$(SOURCE_CODE)/timestep.f \ |
$(SOURCE_CODE)/timestep.f \ |
201 |
$(SOURCE_CODE)/the_correction_step.f \ |
$(SOURCE_CODE)/the_correction_step.f \ |
|
$(SOURCE_CODE)/the_main_loop.f \ |
|
202 |
$(SOURCE_CODE)/thermodynamics.f \ |
$(SOURCE_CODE)/thermodynamics.f \ |
203 |
$(SOURCE_CODE)/timestep_tracer.f \ |
$(SOURCE_CODE)/timestep_tracer.f \ |
204 |
$(SOURCE_CODE)/swfrac.f \ |
$(SOURCE_CODE)/swfrac.f \ |
215 |
\ |
\ |
216 |
$(SOURCE_CODE)/gmredi_calc_diff.f \ |
$(SOURCE_CODE)/gmredi_calc_diff.f \ |
217 |
$(SOURCE_CODE)/gmredi_calc_tensor.f \ |
$(SOURCE_CODE)/gmredi_calc_tensor.f \ |
218 |
|
$(SOURCE_CODE)/gmredi_calc_psi_b.f \ |
219 |
$(SOURCE_CODE)/gmredi_diags.f \ |
$(SOURCE_CODE)/gmredi_diags.f \ |
220 |
$(SOURCE_CODE)/gmredi_init.f \ |
$(SOURCE_CODE)/gmredi_init.f \ |
221 |
$(SOURCE_CODE)/gmredi_rtransport.f \ |
$(SOURCE_CODE)/gmredi_rtransport.f \ |
222 |
$(SOURCE_CODE)/gmredi_slope_limit.f \ |
$(SOURCE_CODE)/gmredi_slope_limit.f \ |
223 |
|
$(SOURCE_CODE)/gmredi_slope_psi.f \ |
224 |
$(SOURCE_CODE)/gmredi_xtransport.f \ |
$(SOURCE_CODE)/gmredi_xtransport.f \ |
225 |
$(SOURCE_CODE)/gmredi_ytransport.f \ |
$(SOURCE_CODE)/gmredi_ytransport.f \ |
226 |
\ |
\ |
|
$(SOURCE_CODE)/ctrl_map_ini.f \ |
|
|
$(SOURCE_CODE)/ctrl_map_forcing.f \ |
|
227 |
\ |
\ |
228 |
|
$(SOURCE_CODE)/cost_aqh.f \ |
229 |
|
$(SOURCE_CODE)/cost_argo_salt.f \ |
230 |
|
$(SOURCE_CODE)/cost_argo_theta.f \ |
231 |
|
$(SOURCE_CODE)/cost_atemp.f \ |
232 |
|
$(SOURCE_CODE)/cost_atlantic.f \ |
233 |
|
$(SOURCE_CODE)/cost_averagesfields.f \ |
234 |
|
$(SOURCE_CODE)/cost_averagesfinal.f \ |
235 |
|
$(SOURCE_CODE)/cost_averagesflags.f \ |
236 |
|
$(SOURCE_CODE)/cost_averagesinit.f \ |
237 |
|
$(SOURCE_CODE)/cost_ctds.f \ |
238 |
|
$(SOURCE_CODE)/cost_ctdt.f \ |
239 |
|
$(SOURCE_CODE)/cost_drift.f \ |
240 |
|
$(SOURCE_CODE)/cost_drifter.f \ |
241 |
|
$(SOURCE_CODE)/cost_driftw.f \ |
242 |
$(SOURCE_CODE)/cost_final.f \ |
$(SOURCE_CODE)/cost_final.f \ |
243 |
$(SOURCE_CODE)/cost_init.f \ |
$(SOURCE_CODE)/cost_forcing.f \ |
244 |
$(SOURCE_CODE)/cost_tile.f \ |
$(SOURCE_CODE)/cost_geoid.f \ |
245 |
$(SOURCE_CODE)/cost_test.f \ |
$(SOURCE_CODE)/cost_heatflux.f \ |
246 |
$(SOURCE_CODE)/cost_tracer.f \ |
$(SOURCE_CODE)/cost_hyd.f \ |
247 |
|
$(SOURCE_CODE)/cost_initvaria.f \ |
248 |
|
$(SOURCE_CODE)/cost_merstress.f \ |
249 |
|
$(SOURCE_CODE)/cost_readers.f \ |
250 |
|
$(SOURCE_CODE)/cost_readsssfields.f \ |
251 |
|
$(SOURCE_CODE)/cost_readsstfields.f \ |
252 |
|
$(SOURCE_CODE)/cost_readscatxfields.f \ |
253 |
|
$(SOURCE_CODE)/cost_readscatyfields.f \ |
254 |
|
$(SOURCE_CODE)/cost_readtopex.f \ |
255 |
|
$(SOURCE_CODE)/cost_readtopexmean.f \ |
256 |
|
$(SOURCE_CODE)/cost_salt.f \ |
257 |
|
$(SOURCE_CODE)/cost_salt0.f \ |
258 |
|
$(SOURCE_CODE)/cost_saltflux.f \ |
259 |
|
$(SOURCE_CODE)/cost_scat.f \ |
260 |
|
$(SOURCE_CODE)/cost_ssh.f \ |
261 |
|
$(SOURCE_CODE)/cost_ssh_mean.f \ |
262 |
|
$(SOURCE_CODE)/cost_sss.f \ |
263 |
|
$(SOURCE_CODE)/cost_sst.f \ |
264 |
|
$(SOURCE_CODE)/cost_theta.f \ |
265 |
|
$(SOURCE_CODE)/cost_theta0.f \ |
266 |
|
$(SOURCE_CODE)/cost_uwind.f \ |
267 |
|
$(SOURCE_CODE)/cost_vwind.f \ |
268 |
|
$(SOURCE_CODE)/cost_xbt.f \ |
269 |
|
$(SOURCE_CODE)/cost_zonstress.f \ |
270 |
|
$(SOURCE_CODE)/cost_obcs.f \ |
271 |
|
$(SOURCE_CODE)/cost_obcsn.f \ |
272 |
|
$(SOURCE_CODE)/cost_obcss.f \ |
273 |
|
$(SOURCE_CODE)/cost_obcsw.f \ |
274 |
|
$(SOURCE_CODE)/cost_obcse.f \ |
275 |
|
$(SOURCE_CODE)/sw_ptmp.f \ |
276 |
|
$(SOURCE_CODE)/sw_adtg.f \ |
277 |
|
\ |
278 |
|
$(SOURCE_CODE)/ctrl_getheatflux.f \ |
279 |
|
$(SOURCE_CODE)/ctrl_getsaltflux.f \ |
280 |
|
$(SOURCE_CODE)/ctrl_getzonstress.f \ |
281 |
|
$(SOURCE_CODE)/ctrl_getmerstress.f \ |
282 |
|
$(SOURCE_CODE)/ctrl_getatemp.f \ |
283 |
|
$(SOURCE_CODE)/ctrl_getaqh.f \ |
284 |
|
$(SOURCE_CODE)/ctrl_getuwind.f \ |
285 |
|
$(SOURCE_CODE)/ctrl_getvwind.f \ |
286 |
|
$(SOURCE_CODE)/ctrl_getobcsn.f \ |
287 |
|
$(SOURCE_CODE)/ctrl_getobcss.f \ |
288 |
|
$(SOURCE_CODE)/ctrl_getobcsw.f \ |
289 |
|
$(SOURCE_CODE)/ctrl_getobcse.f \ |
290 |
|
$(SOURCE_CODE)/ctrl_getrec.f \ |
291 |
|
$(SOURCE_CODE)/ctrl_init_variables.f \ |
292 |
|
$(SOURCE_CODE)/ctrl_map.f \ |
293 |
|
\ |
294 |
|
$(SOURCE_CODE)/ecco_init.f \ |
295 |
|
$(SOURCE_CODE)/ecco_the_main_loop.f \ |
296 |
\ |
\ |
297 |
|
$(SOURCE_CODE)/exf_init.f \ |
298 |
|
$(SOURCE_CODE)/exf_init_runoff.f \ |
299 |
|
$(SOURCE_CODE)/exf_readparms.f \ |
300 |
|
$(SOURCE_CODE)/exf_summary.f \ |
301 |
|
$(SOURCE_CODE)/exf_bulkcdn.f \ |
302 |
|
$(SOURCE_CODE)/exf_bulkqsat.f \ |
303 |
|
$(SOURCE_CODE)/exf_bulkrhn.f \ |
304 |
|
$(SOURCE_CODE)/exf_getffields.f \ |
305 |
|
$(SOURCE_CODE)/exf_getffieldrec.f \ |
306 |
|
$(SOURCE_CODE)/exf_getforcing.f \ |
307 |
|
$(SOURCE_CODE)/exf_mapfields.f \ |
308 |
|
$(SOURCE_CODE)/exf_getobcs.f \ |
309 |
|
$(SOURCE_CODE)/exf_getsurfacefluxes.f \ |
310 |
|
$(SOURCE_CODE)/exf_swapffields.f \ |
311 |
|
$(SOURCE_CODE)/exf_filter_rl.f \ |
312 |
|
$(SOURCE_CODE)/exf_filter_rs.f \ |
313 |
|
$(SOURCE_CODE)/exf_set_aqh.f \ |
314 |
|
$(SOURCE_CODE)/exf_set_atemp.f \ |
315 |
|
$(SOURCE_CODE)/exf_set_evap.f \ |
316 |
|
$(SOURCE_CODE)/exf_set_hflux.f \ |
317 |
|
$(SOURCE_CODE)/exf_set_lwflux.f \ |
318 |
|
$(SOURCE_CODE)/exf_set_precip.f \ |
319 |
|
$(SOURCE_CODE)/exf_set_sflux.f \ |
320 |
|
$(SOURCE_CODE)/exf_set_swflux.f \ |
321 |
|
$(SOURCE_CODE)/exf_set_ustress.f \ |
322 |
|
$(SOURCE_CODE)/exf_set_uwind.f \ |
323 |
|
$(SOURCE_CODE)/exf_set_vstress.f \ |
324 |
|
$(SOURCE_CODE)/exf_set_vwind.f \ |
325 |
|
$(SOURCE_CODE)/exf_set_obcs.f \ |
326 |
|
\ |
327 |
|
$(SOURCE_CODE)/exf_clim_init.f \ |
328 |
|
$(SOURCE_CODE)/exf_clim_readparms.f \ |
329 |
|
$(SOURCE_CODE)/exf_clim_summary.f \ |
330 |
|
$(SOURCE_CODE)/exf_getclim.f \ |
331 |
|
$(SOURCE_CODE)/exf_set_climsalt.f \ |
332 |
|
$(SOURCE_CODE)/exf_set_climtemp.f \ |
333 |
|
$(SOURCE_CODE)/exf_set_climsss.f \ |
334 |
|
$(SOURCE_CODE)/exf_set_climsst.f \ |
335 |
|
\ |
336 |
|
$(SOURCE_CODE)/cal_addtime.f \ |
337 |
|
$(SOURCE_CODE)/cal_checkdate.f \ |
338 |
|
$(SOURCE_CODE)/cal_compdates.f \ |
339 |
|
$(SOURCE_CODE)/cal_convdate.f \ |
340 |
|
$(SOURCE_CODE)/cal_copydate.f \ |
341 |
|
$(SOURCE_CODE)/cal_daysformonth.f \ |
342 |
|
$(SOURCE_CODE)/cal_dayspermonth.f \ |
343 |
|
$(SOURCE_CODE)/cal_fulldate.f \ |
344 |
|
$(SOURCE_CODE)/cal_getdate.f \ |
345 |
|
$(SOURCE_CODE)/cal_getmonthsrec.f \ |
346 |
|
$(SOURCE_CODE)/cal_intdays.f \ |
347 |
|
$(SOURCE_CODE)/cal_intmonths.f \ |
348 |
|
$(SOURCE_CODE)/cal_intsteps.f \ |
349 |
|
$(SOURCE_CODE)/cal_intyears.f \ |
350 |
|
$(SOURCE_CODE)/cal_isleap.f \ |
351 |
|
$(SOURCE_CODE)/cal_monthsforyear.f \ |
352 |
|
$(SOURCE_CODE)/cal_monthsperyear.f \ |
353 |
|
$(SOURCE_CODE)/cal_nstepday.f \ |
354 |
|
$(SOURCE_CODE)/cal_numints.f \ |
355 |
|
$(SOURCE_CODE)/cal_printdate.f \ |
356 |
|
$(SOURCE_CODE)/cal_printerror.f \ |
357 |
|
$(SOURCE_CODE)/cal_stepsforday.f \ |
358 |
|
$(SOURCE_CODE)/cal_stepsperday.f \ |
359 |
|
$(SOURCE_CODE)/cal_subdates.f \ |
360 |
|
$(SOURCE_CODE)/cal_timeinterval.f \ |
361 |
|
$(SOURCE_CODE)/cal_timepassed.f \ |
362 |
|
$(SOURCE_CODE)/cal_timestamp.f \ |
363 |
|
$(SOURCE_CODE)/cal_toseconds.f \ |
364 |
|
$(SOURCE_CODE)/cal_weekday.f \ |
365 |
|
\ |
366 |
|
$(SOURCE_CODE)/obcs_apply_sloc.f \ |
367 |
|
$(SOURCE_CODE)/obcs_apply_tloc.f \ |
368 |
|
$(SOURCE_CODE)/obcs_apply_ts.f \ |
369 |
|
$(SOURCE_CODE)/obcs_apply_uv.f \ |
370 |
|
$(SOURCE_CODE)/obcs_calc.f \ |
371 |
|
$(SOURCE_CODE)/obcs_init_variables.f \ |
372 |
|
$(SOURCE_CODE)/obcs_sponge.f |
373 |
|
|
374 |
|
|
375 |
#-------------------------------------------------------- |
#-------------------------------------------------------- |
376 |
# rules |
# rules |
377 |
#-------------------------------------------------------- |
#-------------------------------------------------------- |
378 |
|
|
379 |
allcode: |
small_f: |
380 |
cd $(DEST) ; cat $(SRC_MODEL) >! tamc_code_ecco.f |
cd $(SOURCE_CODE); $(MAKE) depend; $(MAKE) small_f |
381 |
|
|
382 |
|
adcode: |
383 |
|
cd $(DEST) ; cat $(SRC_MODEL) >! tamc_code_ecco.f |
384 |
admodeltamc: |
admodeltamc: |
385 |
cd $(DEST) ; $(TAMC) $(ADTAMCFLAG) tamc_code_ecco.f \ |
cd $(DEST) ; $(TAMC) $(TAMCFLAG) tamc_code_ecco.f \ |
386 |
>! tamc_code_ecco_ad.prot |
>! tamc_code_ecco_ad.prot |
387 |
|
|
388 |
admodeltaf: |
admodeltaf: |
389 |
cd $(DEST) ; $(TAF) $(ADTAFFLAG) tamc_code_ecco.f |
cd $(DEST) ; $(TAF) $(TAFFLAG) tamc_code_ecco.f |
390 |
|
|
391 |
tlmodeltamc: |
adrestore: |
392 |
cd $(DEST) ; $(TAMC) $(TLTAMCFLAG) tamc_code_ecco.f \ |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
393 |
>! tamc_code_ecco_tl.prot |
$(PKG)/autodiff/adjoint_model.F |
|
|
|
|
tlmodeltaf: |
|
|
cd $(DEST) ; $(TAF) $(TLTAFFLAG) tamc_code_ecco.f |
|
394 |
|
|
395 |
adchange: |
adchange: |
396 |
${ADJOINT_SCRIPT}/adjoint_ecco_sed.com \ |
${ADJOINT_SCRIPT}/adjoint_ecco_sed.com \ |
397 |
>! tamc_code_ecco_sed_ad.f ; \ |
>! tamc_code_ecco_sed_ad.f ; \ |
398 |
cp $(PKG)/autodiff/adjoint_model.F \ |
cp $(PKG)/autodiff/adjoint_model.F \ |
399 |
$(PKG)/autodiff/adjoint_model.F_old ; \ |
$(PKG)/autodiff/adjoint_model.F_old ; \ |
|
cat tamc_code_ecco_sed_ad.f >> $(PKG)/autodiff/adjoint_model.F |
|
|
adrestore: |
|
400 |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
401 |
$(PKG)/autodiff/adjoint_model.F |
$(PKG)/autodiff/adjoint_model.F; \ |
402 |
|
cat tamc_code_ecco_sed_ad.f >> $(PKG)/autodiff/adjoint_model.F |
|
tltamc: allcode tlmodeltamc |
|
|
|
|
|
tltaf: allcode tlmodeltaf |
|
403 |
|
|
404 |
adtamc: adrestore allcode admodeltamc |
adtamc: adrestore small_f adcode admodeltamc |
405 |
|
|
406 |
adtaf: adrestore allcode admodeltaf |
adtaf: adrestore small_f adcode admodeltaf |