9 |
SOURCE_CODE = ../bin |
SOURCE_CODE = ../bin |
10 |
ADJOINT_SCRIPT = ../adjoint |
ADJOINT_SCRIPT = ../adjoint |
11 |
BASE = .. |
BASE = .. |
|
TAMCFLAGS = -reverse -i4 -r4 |
|
|
TAFFLAGS = -reverse -i4 -r4 -nonew_arg |
|
12 |
PKG = $(BASE)/pkg |
PKG = $(BASE)/pkg |
13 |
|
# |
14 |
|
ADTAMCFLAGS = -reverse -admark ad -i4 -r4 |
15 |
|
ADTAFFLAGS = -reverse -admark ad -i4 -r4 \ |
16 |
|
-flow taf_flow.log -nonew_arg |
17 |
|
FTLTAMCFLAGS = -forward -ftlmark g_ -i4 -r4 |
18 |
|
FTLTAFFLAGS = -forward -ftlmark g_ -i4 -r4 \ |
19 |
|
-flow taf_flow.log -nonew_arg |
20 |
|
SVDTAMCFLAGS = -reverse -forward -pure -i4 -r4 |
21 |
|
SVDTAFFLAGS = -reverse -forward -pure -i4 -r4 \ |
22 |
|
-flow taf_flow.log -nonew_arg |
23 |
|
# |
24 |
|
# -warn_step -flow taf_flow.log |
25 |
|
|
26 |
DIFF_FLAGS = -toplevel the_main_loop \ |
DIFF_FLAGS = -toplevel the_main_loop \ |
27 |
-input ' xx_theta_dummy \ |
-input ' xx_theta_dummy \ |
28 |
xx_salt_dummy \ |
xx_salt_dummy \ |
29 |
|
xx_tr1_dummy \ |
30 |
xx_hflux_dummy \ |
xx_hflux_dummy \ |
31 |
xx_sflux_dummy \ |
xx_sflux_dummy \ |
32 |
xx_tauu_dummy \ |
xx_tauu_dummy \ |
33 |
xx_tauv_dummy \ |
xx_tauv_dummy \ |
34 |
xx_atemp_dummy \ |
xx_sst_dummy \ |
35 |
xx_aqh_dummy \ |
xx_sss_dummy \ |
36 |
xx_uwind_dummy \ |
xx_diffkr_dummy \ |
37 |
xx_vwind_dummy \ |
xx_kapgm_dummy \ |
38 |
xx_obcsn_dummy \ |
xx_efluxy_dummy \ |
39 |
xx_obcss_dummy \ |
xx_efluxp_dummy' \ |
|
xx_obcsw_dummy \ |
|
|
xx_obcse_dummy' \ |
|
40 |
-output 'fc' |
-output 'fc' |
41 |
|
# |
42 |
|
# -output 'objf_vector' |
43 |
|
# -output 'fc' |
44 |
|
|
45 |
TAMCFLAG = $(TAMCFLAGS) $(DIFF_FLAGS) -admark ad |
ADTAMCFLAG = $(ADTAMCFLAGS) $(DIFF_FLAGS) |
46 |
|
ADTAFFLAG = $(ADTAFFLAGS) $(DIFF_FLAGS) |
47 |
|
|
48 |
TAFFLAG = $(TAFFLAGS) $(DIFF_FLAGS) -admark ad |
FTLTAMCFLAG = $(FTLTAMCFLAGS) $(DIFF_FLAGS) |
49 |
|
FTLTAFFLAG = $(FTLTAFFLAGS) $(DIFF_FLAGS) |
50 |
|
|
51 |
|
SVDTAMCFLAG = $(SVDTAMCFLAGS) $(DIFF_FLAGS) |
52 |
|
SVDTAFFLAG = $(SVDTAFFLAGS) $(DIFF_FLAGS) |
53 |
|
|
54 |
# Source files for the MITgcmUV |
# Source files for the MITgcmUV |
55 |
SRC_MODEL = \ |
SRC_MODEL = \ |
59 |
$(PKG)/autodiff/diags.flow \ |
$(PKG)/autodiff/diags.flow \ |
60 |
$(PKG)/autodiff/cg2d.flow \ |
$(PKG)/autodiff/cg2d.flow \ |
61 |
$(PKG)/autodiff/debug.flow \ |
$(PKG)/autodiff/debug.flow \ |
62 |
|
$(PKG)/autodiff/do_the_model_io.flow \ |
63 |
$(PKG)/autodiff/dummy_in_stepping.flow \ |
$(PKG)/autodiff/dummy_in_stepping.flow \ |
|
$(PKG)/autodiff/external_fields_load.flow \ |
|
64 |
$(PKG)/autodiff/eesupp.flow \ |
$(PKG)/autodiff/eesupp.flow \ |
65 |
$(PKG)/autodiff/active_file.flow \ |
$(PKG)/autodiff/active_file.flow \ |
66 |
$(PKG)/autodiff/write_state.flow \ |
$(PKG)/autodiff/write_state.flow \ |
73 |
$(PKG)/autodiff/initialisation.flow \ |
$(PKG)/autodiff/initialisation.flow \ |
74 |
$(PKG)/autodiff/mdsio.flow \ |
$(PKG)/autodiff/mdsio.flow \ |
75 |
$(PKG)/autodiff/monitor.flow \ |
$(PKG)/autodiff/monitor.flow \ |
|
$(PKG)/autodiff/obcs.flow \ |
|
76 |
$(PKG)/autodiff/checkpoint.flow \ |
$(PKG)/autodiff/checkpoint.flow \ |
77 |
|
$(PKG)/autodiff/print_message.flow \ |
78 |
$(PKG)/autodiff/open_copy_data_file.flow\ |
$(PKG)/autodiff/open_copy_data_file.flow\ |
79 |
$(PKG)/autodiff/timeave.flow \ |
$(PKG)/autodiff/timeave.flow \ |
80 |
\ |
\ |
83 |
$(SOURCE_CODE)/calc_common_factors.f \ |
$(SOURCE_CODE)/calc_common_factors.f \ |
84 |
$(SOURCE_CODE)/calc_diffusivity.f \ |
$(SOURCE_CODE)/calc_diffusivity.f \ |
85 |
$(SOURCE_CODE)/calc_div_ghat.f \ |
$(SOURCE_CODE)/calc_div_ghat.f \ |
|
$(SOURCE_CODE)/calc_exact_eta.f \ |
|
86 |
$(SOURCE_CODE)/calc_grad_phi_surf.f \ |
$(SOURCE_CODE)/calc_grad_phi_surf.f \ |
87 |
$(SOURCE_CODE)/calc_gs.f \ |
$(SOURCE_CODE)/calc_gs.f \ |
88 |
$(SOURCE_CODE)/calc_gt.f \ |
$(SOURCE_CODE)/calc_gt.f \ |
90 |
$(SOURCE_CODE)/calc_ivdc.f \ |
$(SOURCE_CODE)/calc_ivdc.f \ |
91 |
$(SOURCE_CODE)/calc_phi_hyd.f \ |
$(SOURCE_CODE)/calc_phi_hyd.f \ |
92 |
$(SOURCE_CODE)/calc_viscosity.f \ |
$(SOURCE_CODE)/calc_viscosity.f \ |
93 |
|
$(SOURCE_CODE)/comm_stats.f \ |
94 |
$(SOURCE_CODE)/convect.f \ |
$(SOURCE_CODE)/convect.f \ |
95 |
$(SOURCE_CODE)/convective_adjustment.f \ |
$(SOURCE_CODE)/convective_adjustment.f \ |
96 |
$(SOURCE_CODE)/convective_adjustment_ini.f \ |
$(SOURCE_CODE)/convective_adjustment_ini.f \ |
97 |
|
$(SOURCE_CODE)/convective_weights.f \ |
98 |
|
$(SOURCE_CODE)/convectively_mixtracer.f \ |
99 |
$(SOURCE_CODE)/correction_step.f \ |
$(SOURCE_CODE)/correction_step.f \ |
100 |
$(SOURCE_CODE)/cycle_tracer.f \ |
$(SOURCE_CODE)/cycle_tracer.f \ |
101 |
$(SOURCE_CODE)/different_multiple.f \ |
$(SOURCE_CODE)/different_multiple.f \ |
102 |
$(SOURCE_CODE)/do_fields_blocking_exchanges.f \ |
$(SOURCE_CODE)/do_fields_blocking_exchanges.f \ |
103 |
$(SOURCE_CODE)/do_the_model_io.f \ |
$(SOURCE_CODE)/do_stagger_fields_exchanges.f \ |
104 |
$(SOURCE_CODE)/dynamics.f \ |
$(SOURCE_CODE)/dynamics.f \ |
105 |
|
$(SOURCE_CODE)/external_fields_load.f \ |
106 |
$(SOURCE_CODE)/external_forcing.f \ |
$(SOURCE_CODE)/external_forcing.f \ |
107 |
$(SOURCE_CODE)/external_forcing_surf.f \ |
$(SOURCE_CODE)/external_forcing_surf.f \ |
108 |
$(SOURCE_CODE)/find_alpha.f \ |
$(SOURCE_CODE)/find_alpha.f \ |
109 |
$(SOURCE_CODE)/find_rho.f \ |
$(SOURCE_CODE)/find_rho.f \ |
110 |
|
$(SOURCE_CODE)/forward_step.f \ |
111 |
$(SOURCE_CODE)/freeze.f \ |
$(SOURCE_CODE)/freeze.f \ |
112 |
\ |
\ |
113 |
$(SOURCE_CODE)/gad_advection.f \ |
$(SOURCE_CODE)/gad_advection.f \ |
144 |
$(SOURCE_CODE)/ini_autodiff.f \ |
$(SOURCE_CODE)/ini_autodiff.f \ |
145 |
$(SOURCE_CODE)/ini_cartesian_grid.f \ |
$(SOURCE_CODE)/ini_cartesian_grid.f \ |
146 |
$(SOURCE_CODE)/ini_cg2d.f \ |
$(SOURCE_CODE)/ini_cg2d.f \ |
147 |
|
$(SOURCE_CODE)/ini_communication_patterns.f \ |
148 |
$(SOURCE_CODE)/ini_cori.f \ |
$(SOURCE_CODE)/ini_cori.f \ |
149 |
$(SOURCE_CODE)/ini_curvilinear_grid.f \ |
$(SOURCE_CODE)/ini_curvilinear_grid.f \ |
150 |
$(SOURCE_CODE)/ini_depths.f \ |
$(SOURCE_CODE)/ini_depths.f \ |
155 |
$(SOURCE_CODE)/ini_masks_etc.f \ |
$(SOURCE_CODE)/ini_masks_etc.f \ |
156 |
$(SOURCE_CODE)/ini_mixing.f \ |
$(SOURCE_CODE)/ini_mixing.f \ |
157 |
$(SOURCE_CODE)/ini_p_ground.f \ |
$(SOURCE_CODE)/ini_p_ground.f \ |
158 |
|
$(SOURCE_CODE)/ini_pressure.f \ |
159 |
$(SOURCE_CODE)/ini_pnh.f \ |
$(SOURCE_CODE)/ini_pnh.f \ |
160 |
$(SOURCE_CODE)/ini_psurf.f \ |
$(SOURCE_CODE)/ini_psurf.f \ |
161 |
$(SOURCE_CODE)/ini_salt.f \ |
$(SOURCE_CODE)/ini_salt.f \ |
167 |
$(SOURCE_CODE)/ini_vertical_grid.f \ |
$(SOURCE_CODE)/ini_vertical_grid.f \ |
168 |
$(SOURCE_CODE)/initialise_varia.f \ |
$(SOURCE_CODE)/initialise_varia.f \ |
169 |
$(SOURCE_CODE)/integrate_for_w.f \ |
$(SOURCE_CODE)/integrate_for_w.f \ |
170 |
|
$(SOURCE_CODE)/integr_continuity.f \ |
171 |
$(SOURCE_CODE)/modeldata_example.f \ |
$(SOURCE_CODE)/modeldata_example.f \ |
172 |
\ |
\ |
173 |
$(SOURCE_CODE)/mom_fluxform.f \ |
$(SOURCE_CODE)/mom_fluxform.f \ |
183 |
$(SOURCE_CODE)/mom_u_adv_wu.f \ |
$(SOURCE_CODE)/mom_u_adv_wu.f \ |
184 |
$(SOURCE_CODE)/mom_u_bottomdrag.f \ |
$(SOURCE_CODE)/mom_u_bottomdrag.f \ |
185 |
$(SOURCE_CODE)/mom_u_coriolis.f \ |
$(SOURCE_CODE)/mom_u_coriolis.f \ |
186 |
|
$(SOURCE_CODE)/mom_u_coriolis_nh.f \ |
187 |
$(SOURCE_CODE)/mom_u_del2u.f \ |
$(SOURCE_CODE)/mom_u_del2u.f \ |
188 |
$(SOURCE_CODE)/mom_u_metric_nh.f \ |
$(SOURCE_CODE)/mom_u_metric_nh.f \ |
189 |
$(SOURCE_CODE)/mom_u_metric_sphere.f \ |
$(SOURCE_CODE)/mom_u_metric_sphere.f \ |
219 |
\ |
\ |
220 |
$(SOURCE_CODE)/packages_init_variables.f \ |
$(SOURCE_CODE)/packages_init_variables.f \ |
221 |
$(SOURCE_CODE)/plot_field.f \ |
$(SOURCE_CODE)/plot_field.f \ |
222 |
|
$(SOURCE_CODE)/quasihydrostaticterms.f \ |
223 |
$(SOURCE_CODE)/solve_for_pressure.f \ |
$(SOURCE_CODE)/solve_for_pressure.f \ |
224 |
$(SOURCE_CODE)/state_summary.f \ |
$(SOURCE_CODE)/state_summary.f \ |
225 |
|
$(SOURCE_CODE)/store_pressure.f \ |
226 |
$(SOURCE_CODE)/timestep.f \ |
$(SOURCE_CODE)/timestep.f \ |
227 |
$(SOURCE_CODE)/the_correction_step.f \ |
$(SOURCE_CODE)/the_correction_step.f \ |
228 |
|
$(SOURCE_CODE)/the_main_loop.f \ |
229 |
$(SOURCE_CODE)/thermodynamics.f \ |
$(SOURCE_CODE)/thermodynamics.f \ |
230 |
$(SOURCE_CODE)/timestep_tracer.f \ |
$(SOURCE_CODE)/timestep_tracer.f \ |
231 |
$(SOURCE_CODE)/swfrac.f \ |
$(SOURCE_CODE)/swfrac.f \ |
241 |
$(SOURCE_CODE)/kpp_transport_t.f \ |
$(SOURCE_CODE)/kpp_transport_t.f \ |
242 |
\ |
\ |
243 |
$(SOURCE_CODE)/gmredi_calc_diff.f \ |
$(SOURCE_CODE)/gmredi_calc_diff.f \ |
244 |
|
$(SOURCE_CODE)/gmredi_calc_psi_b.f \ |
245 |
$(SOURCE_CODE)/gmredi_calc_tensor.f \ |
$(SOURCE_CODE)/gmredi_calc_tensor.f \ |
246 |
|
$(SOURCE_CODE)/gmredi_calc_uvflow.f \ |
247 |
|
$(SOURCE_CODE)/gmredi_calc_wflow.f \ |
248 |
$(SOURCE_CODE)/gmredi_diags.f \ |
$(SOURCE_CODE)/gmredi_diags.f \ |
249 |
$(SOURCE_CODE)/gmredi_init.f \ |
$(SOURCE_CODE)/gmredi_init.f \ |
250 |
$(SOURCE_CODE)/gmredi_rtransport.f \ |
$(SOURCE_CODE)/gmredi_rtransport.f \ |
251 |
$(SOURCE_CODE)/gmredi_slope_limit.f \ |
$(SOURCE_CODE)/gmredi_slope_limit.f \ |
252 |
|
$(SOURCE_CODE)/gmredi_slope_psi.f \ |
253 |
$(SOURCE_CODE)/gmredi_xtransport.f \ |
$(SOURCE_CODE)/gmredi_xtransport.f \ |
254 |
$(SOURCE_CODE)/gmredi_ytransport.f \ |
$(SOURCE_CODE)/gmredi_ytransport.f \ |
255 |
\ |
\ |
256 |
|
$(SOURCE_CODE)/ctrl_map_ini.f \ |
257 |
|
$(SOURCE_CODE)/ctrl_map_forcing.f \ |
258 |
\ |
\ |
|
$(SOURCE_CODE)/cost_aqh.f \ |
|
|
$(SOURCE_CODE)/cost_argo_salt.f \ |
|
|
$(SOURCE_CODE)/cost_argo_theta.f \ |
|
|
$(SOURCE_CODE)/cost_atemp.f \ |
|
|
$(SOURCE_CODE)/cost_atlantic.f \ |
|
|
$(SOURCE_CODE)/cost_averagesfields.f \ |
|
|
$(SOURCE_CODE)/cost_averagesfinal.f \ |
|
|
$(SOURCE_CODE)/cost_averagesflags.f \ |
|
|
$(SOURCE_CODE)/cost_averagesinit.f \ |
|
|
$(SOURCE_CODE)/cost_ctds.f \ |
|
|
$(SOURCE_CODE)/cost_ctdt.f \ |
|
|
$(SOURCE_CODE)/cost_drift.f \ |
|
|
$(SOURCE_CODE)/cost_drifter.f \ |
|
|
$(SOURCE_CODE)/cost_driftw.f \ |
|
259 |
$(SOURCE_CODE)/cost_final.f \ |
$(SOURCE_CODE)/cost_final.f \ |
260 |
$(SOURCE_CODE)/cost_forcing.f \ |
$(SOURCE_CODE)/cost_init.f \ |
261 |
$(SOURCE_CODE)/cost_geoid.f \ |
$(SOURCE_CODE)/cost_tile.f \ |
262 |
$(SOURCE_CODE)/cost_heatflux.f \ |
$(SOURCE_CODE)/cost_test.f \ |
263 |
$(SOURCE_CODE)/cost_hyd.f \ |
$(SOURCE_CODE)/cost_tracer.f \ |
264 |
$(SOURCE_CODE)/cost_initvaria.f \ |
$(SOURCE_CODE)/cost_atlantic_heat.f \ |
265 |
$(SOURCE_CODE)/cost_merstress.f \ |
$(SOURCE_CODE)/cost_vector.f \ |
|
$(SOURCE_CODE)/cost_readers.f \ |
|
|
$(SOURCE_CODE)/cost_readsssfields.f \ |
|
|
$(SOURCE_CODE)/cost_readsstfields.f \ |
|
|
$(SOURCE_CODE)/cost_readscatxfields.f \ |
|
|
$(SOURCE_CODE)/cost_readscatyfields.f \ |
|
|
$(SOURCE_CODE)/cost_readtopex.f \ |
|
|
$(SOURCE_CODE)/cost_readtopexmean.f \ |
|
|
$(SOURCE_CODE)/cost_salt.f \ |
|
|
$(SOURCE_CODE)/cost_salt0.f \ |
|
|
$(SOURCE_CODE)/cost_saltflux.f \ |
|
|
$(SOURCE_CODE)/cost_scat.f \ |
|
|
$(SOURCE_CODE)/cost_ssh.f \ |
|
|
$(SOURCE_CODE)/cost_ssh_mean.f \ |
|
|
$(SOURCE_CODE)/cost_sss.f \ |
|
|
$(SOURCE_CODE)/cost_sst.f \ |
|
|
$(SOURCE_CODE)/cost_theta.f \ |
|
|
$(SOURCE_CODE)/cost_theta0.f \ |
|
|
$(SOURCE_CODE)/cost_uwind.f \ |
|
|
$(SOURCE_CODE)/cost_vwind.f \ |
|
|
$(SOURCE_CODE)/cost_xbt.f \ |
|
|
$(SOURCE_CODE)/cost_zonstress.f \ |
|
|
$(SOURCE_CODE)/cost_obcs.f \ |
|
|
$(SOURCE_CODE)/cost_obcsn.f \ |
|
|
$(SOURCE_CODE)/cost_obcss.f \ |
|
|
$(SOURCE_CODE)/cost_obcsw.f \ |
|
|
$(SOURCE_CODE)/cost_obcse.f \ |
|
|
$(SOURCE_CODE)/sw_ptmp.f \ |
|
|
$(SOURCE_CODE)/sw_adtg.f \ |
|
266 |
\ |
\ |
267 |
$(SOURCE_CODE)/ctrl_getheatflux.f \ |
$(SOURCE_CODE)/shap_filt_apply_ts.f \ |
268 |
$(SOURCE_CODE)/ctrl_getsaltflux.f \ |
$(SOURCE_CODE)/shap_filt_apply_uv.f \ |
269 |
$(SOURCE_CODE)/ctrl_getzonstress.f \ |
$(SOURCE_CODE)/shap_filt_tracer_s1.f \ |
270 |
$(SOURCE_CODE)/ctrl_getmerstress.f \ |
$(SOURCE_CODE)/shap_filt_tracer_s2.f \ |
271 |
$(SOURCE_CODE)/ctrl_getatemp.f \ |
$(SOURCE_CODE)/shap_filt_tracer_s2g.f \ |
272 |
$(SOURCE_CODE)/ctrl_getaqh.f \ |
$(SOURCE_CODE)/shap_filt_tracer_s4.f \ |
273 |
$(SOURCE_CODE)/ctrl_getuwind.f \ |
$(SOURCE_CODE)/shap_filt_uv_s1.f \ |
274 |
$(SOURCE_CODE)/ctrl_getvwind.f \ |
$(SOURCE_CODE)/shap_filt_uv_s2.f \ |
275 |
$(SOURCE_CODE)/ctrl_getobcsn.f \ |
$(SOURCE_CODE)/shap_filt_uv_s2g.f \ |
276 |
$(SOURCE_CODE)/ctrl_getobcss.f \ |
$(SOURCE_CODE)/shap_filt_uv_s2c.f \ |
277 |
$(SOURCE_CODE)/ctrl_getobcsw.f \ |
$(SOURCE_CODE)/shap_filt_uv_s4.f \ |
278 |
$(SOURCE_CODE)/ctrl_getobcse.f \ |
|
|
$(SOURCE_CODE)/ctrl_getrec.f \ |
|
|
$(SOURCE_CODE)/ctrl_init_variables.f \ |
|
|
$(SOURCE_CODE)/ctrl_map.f \ |
|
|
\ |
|
|
$(SOURCE_CODE)/ecco_init.f \ |
|
|
$(SOURCE_CODE)/ecco_the_main_loop.f \ |
|
279 |
\ |
\ |
280 |
$(SOURCE_CODE)/exf_init.f \ |
# $(SOURCE_CODE)/ini_ep.f \ |
281 |
$(SOURCE_CODE)/exf_init_runoff.f \ |
# $(SOURCE_CODE)/calc_ep_forcing.f \ |
282 |
$(SOURCE_CODE)/exf_readparms.f \ |
# $(SOURCE_CODE)/cost_entropy.f \ |
283 |
$(SOURCE_CODE)/exf_summary.f \ |
# $(SOURCE_CODE)/cost_t_misfit.f \ |
284 |
$(SOURCE_CODE)/exf_bulkcdn.f \ |
# $(SOURCE_CODE)/cost_eflux_regul.f \ |
285 |
$(SOURCE_CODE)/exf_bulkqsat.f \ |
# \ |
|
$(SOURCE_CODE)/exf_bulkrhn.f \ |
|
|
$(SOURCE_CODE)/exf_getffields.f \ |
|
|
$(SOURCE_CODE)/exf_getffieldrec.f \ |
|
|
$(SOURCE_CODE)/exf_getforcing.f \ |
|
|
$(SOURCE_CODE)/exf_mapfields.f \ |
|
|
$(SOURCE_CODE)/exf_getobcs.f \ |
|
|
$(SOURCE_CODE)/exf_getsurfacefluxes.f \ |
|
|
$(SOURCE_CODE)/exf_swapffields.f \ |
|
|
$(SOURCE_CODE)/exf_filter_rl.f \ |
|
|
$(SOURCE_CODE)/exf_filter_rs.f \ |
|
|
$(SOURCE_CODE)/exf_set_aqh.f \ |
|
|
$(SOURCE_CODE)/exf_set_atemp.f \ |
|
|
$(SOURCE_CODE)/exf_set_hflux.f \ |
|
|
$(SOURCE_CODE)/exf_set_hfluxa.f \ |
|
|
$(SOURCE_CODE)/exf_set_lwflux.f \ |
|
|
$(SOURCE_CODE)/exf_set_precip.f \ |
|
|
$(SOURCE_CODE)/exf_set_sflux.f \ |
|
|
$(SOURCE_CODE)/exf_set_sfluxa.f \ |
|
|
$(SOURCE_CODE)/exf_set_swflux.f \ |
|
|
$(SOURCE_CODE)/exf_set_ustress.f \ |
|
|
$(SOURCE_CODE)/exf_set_ustressa.f \ |
|
|
$(SOURCE_CODE)/exf_set_uwind.f \ |
|
|
$(SOURCE_CODE)/exf_set_vstress.f \ |
|
|
$(SOURCE_CODE)/exf_set_vstressa.f \ |
|
|
$(SOURCE_CODE)/exf_set_vwind.f \ |
|
|
$(SOURCE_CODE)/exf_set_obcs.f \ |
|
|
\ |
|
|
$(SOURCE_CODE)/exf_clim_init.f \ |
|
|
$(SOURCE_CODE)/exf_clim_readparms.f \ |
|
|
$(SOURCE_CODE)/exf_clim_summary.f \ |
|
|
$(SOURCE_CODE)/exf_getclim.f \ |
|
|
$(SOURCE_CODE)/exf_set_climsalt.f \ |
|
|
$(SOURCE_CODE)/exf_set_climtemp.f \ |
|
|
$(SOURCE_CODE)/exf_set_climsss.f \ |
|
|
$(SOURCE_CODE)/exf_set_climsst.f \ |
|
|
\ |
|
|
$(SOURCE_CODE)/exfa_getffields.f \ |
|
|
$(SOURCE_CODE)/exfa_getforcing.f \ |
|
|
$(SOURCE_CODE)/exfa_init.f \ |
|
|
$(SOURCE_CODE)/exfa_mapfields.f \ |
|
|
$(SOURCE_CODE)/exfa_summary.f \ |
|
|
\ |
|
|
$(SOURCE_CODE)/cal_addtime.f \ |
|
|
$(SOURCE_CODE)/cal_checkdate.f \ |
|
|
$(SOURCE_CODE)/cal_compdates.f \ |
|
|
$(SOURCE_CODE)/cal_convdate.f \ |
|
|
$(SOURCE_CODE)/cal_copydate.f \ |
|
|
$(SOURCE_CODE)/cal_daysformonth.f \ |
|
|
$(SOURCE_CODE)/cal_dayspermonth.f \ |
|
|
$(SOURCE_CODE)/cal_fulldate.f \ |
|
|
$(SOURCE_CODE)/cal_getdate.f \ |
|
|
$(SOURCE_CODE)/cal_getmonthsrec.f \ |
|
|
$(SOURCE_CODE)/cal_intdays.f \ |
|
|
$(SOURCE_CODE)/cal_intmonths.f \ |
|
|
$(SOURCE_CODE)/cal_intsteps.f \ |
|
|
$(SOURCE_CODE)/cal_intyears.f \ |
|
|
$(SOURCE_CODE)/cal_isleap.f \ |
|
|
$(SOURCE_CODE)/cal_monthsforyear.f \ |
|
|
$(SOURCE_CODE)/cal_monthsperyear.f \ |
|
|
$(SOURCE_CODE)/cal_nstepday.f \ |
|
|
$(SOURCE_CODE)/cal_numints.f \ |
|
|
$(SOURCE_CODE)/cal_printdate.f \ |
|
|
$(SOURCE_CODE)/cal_printerror.f \ |
|
|
$(SOURCE_CODE)/cal_stepsforday.f \ |
|
|
$(SOURCE_CODE)/cal_stepsperday.f \ |
|
|
$(SOURCE_CODE)/cal_subdates.f \ |
|
|
$(SOURCE_CODE)/cal_timeinterval.f \ |
|
|
$(SOURCE_CODE)/cal_timepassed.f \ |
|
|
$(SOURCE_CODE)/cal_timestamp.f \ |
|
|
$(SOURCE_CODE)/cal_toseconds.f \ |
|
|
$(SOURCE_CODE)/cal_weekday.f \ |
|
|
\ |
|
|
$(SOURCE_CODE)/obcs_apply_sloc.f \ |
|
|
$(SOURCE_CODE)/obcs_apply_tloc.f \ |
|
|
$(SOURCE_CODE)/obcs_apply_ts.f \ |
|
|
$(SOURCE_CODE)/obcs_apply_uv.f \ |
|
|
$(SOURCE_CODE)/obcs_calc.f \ |
|
|
$(SOURCE_CODE)/obcs_init_variables.f \ |
|
|
$(SOURCE_CODE)/obcs_sponge.f \ |
|
|
|
|
|
|
|
|
# $(SOURCE_CODE)/shap_filt_apply.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_apply_ts.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_tracer_s1.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_tracer_s2.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_tracer_s2g.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_tracer_s4.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_uv_s1.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_uv_s2.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_uv_s2g.f \ |
|
|
# $(SOURCE_CODE)/shap_filt_uv_s4.f \ |
|
286 |
|
|
287 |
|
|
288 |
#-------------------------------------------------------- |
#-------------------------------------------------------- |
292 |
small_f: |
small_f: |
293 |
cd $(SOURCE_CODE); $(MAKE) depend; $(MAKE) small_f |
cd $(SOURCE_CODE); $(MAKE) depend; $(MAKE) small_f |
294 |
|
|
295 |
adcode: |
allcode: |
296 |
cd $(DEST) ; cat $(SRC_MODEL) >! tamc_code_ecco.f |
cd $(DEST) ; cat $(SRC_MODEL) >! tamc_code.f |
297 |
|
|
298 |
admodeltamc: |
admodeltamc: |
299 |
cd $(DEST) ; $(TAMC) $(TAMCFLAG) tamc_code_ecco.f \ |
cd $(DEST) ; $(TAMC) $(ADTAMCFLAG) tamc_code.f \ |
300 |
>! tamc_code_ecco_ad.prot |
>! tamc_code_ad.prot |
301 |
|
|
302 |
admodeltaf: |
admodeltaf: |
303 |
cd $(DEST) ; $(TAF) $(TAFFLAG) tamc_code_ecco.f |
cd $(DEST) ; $(TAF) $(ADTAFFLAG) tamc_code.f |
304 |
|
|
305 |
adrestore: |
ftlmodeltamc: |
306 |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
cd $(DEST) ; $(TAMC) $(FTLTAMCFLAG) tamc_code.f \ |
307 |
$(PKG)/autodiff/adjoint_model.F |
>! tamc_code_ftl.prot |
308 |
|
|
309 |
|
ftlmodeltaf: |
310 |
|
cd $(DEST) ; $(TAF) $(FTLTAFFLAG) tamc_code.f |
311 |
|
|
312 |
|
svdmodeltaf: |
313 |
|
cd $(DEST) ; $(TAF) $(SVDTAFFLAG) tamc_code.f |
314 |
|
|
315 |
adchange: |
adchange: |
316 |
${ADJOINT_SCRIPT}/adjoint_ecco_sed.com \ |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
317 |
>! tamc_code_ecco_sed_ad.f ; \ |
$(PKG)/autodiff/adjoint_model.F ; \ |
318 |
|
${ADJOINT_SCRIPT}/adjoint_sed.com \ |
319 |
|
>! tamc_code_sed_ad.f ; \ |
320 |
cp $(PKG)/autodiff/adjoint_model.F \ |
cp $(PKG)/autodiff/adjoint_model.F \ |
321 |
$(PKG)/autodiff/adjoint_model.F_old ; \ |
$(PKG)/autodiff/adjoint_model.F_old ; \ |
322 |
|
cat tamc_code_sed_ad.f >> $(PKG)/autodiff/adjoint_model.F |
323 |
|
|
324 |
|
ftlchange: |
325 |
|
cp $(PKG)/autodiff/tangentlinear_model.F_template \ |
326 |
|
$(PKG)/autodiff/tangentlinear_model.F ; \ |
327 |
|
cp $(PKG)/autodiff/tangentlinear_model.F \ |
328 |
|
$(PKG)/autodiff/tangentlinear_model.F_old ; \ |
329 |
|
cat tamc_code_ftl.f >> $(PKG)/autodiff/tangentlinear_model.F |
330 |
|
|
331 |
|
adrestore: |
332 |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
333 |
$(PKG)/autodiff/adjoint_model.F; \ |
$(PKG)/autodiff/adjoint_model.F |
334 |
cat tamc_code_ecco_sed_ad.f >> $(PKG)/autodiff/adjoint_model.F |
|
335 |
|
ftlrestore: |
336 |
|
cp $(PKG)/autodiff/tangentlinear_model.F_template \ |
337 |
|
$(PKG)/autodiff/tangentlinear_model.F |
338 |
|
|
339 |
|
adtamc: adrestore ftlrestore small_f allcode admodeltamc |
340 |
|
|
341 |
|
adtaf: adrestore ftlrestore small_f allcode admodeltaf |
342 |
|
|
343 |
|
ftltamc: adrestore ftlrestore small_f allcode ftlmodeltamc |
344 |
|
|
345 |
|
ftltaf: adrestore ftlrestore small_f allcode ftlmodeltaf |
346 |
|
|
347 |
adtamc: adrestore small_f adcode admodeltamc |
svdtaf: adrestore ftlrestore allcode svdmodeltaf |
348 |
|
|
|
adtaf: adrestore small_f adcode admodeltaf |
|