1 | #------------------------------------------------------------------------------! |
---|
2 | # WARNING: don't write filenames with extension .f90 in this header!!!! |
---|
3 | # |
---|
4 | # Current revisions: |
---|
5 | # ------------------ |
---|
6 | # |
---|
7 | # Former revisions: |
---|
8 | # ----------------- |
---|
9 | # $Id: Makefile 668 2010-12-23 13:22:58Z helmke $ |
---|
10 | # |
---|
11 | # 667 2010-12-23 12:06:00Z suehring/gryschka |
---|
12 | # +advec_ws |
---|
13 | # |
---|
14 | # 421 2010-01-25 15:50:10Z raasch |
---|
15 | # comment line for simple install method added, which will be replaced |
---|
16 | # by an include command for preprocessor and compiler options when the simple |
---|
17 | # install process is used instead of mbuild/mrun, |
---|
18 | # +set_particle_attributes, set_slicer_attributes_dvrp |
---|
19 | # +subsidence |
---|
20 | # |
---|
21 | # 410 2009-12-04 17:05:40Z letzel |
---|
22 | # +data_output_mask, init_masks, user_data_output_mask |
---|
23 | # |
---|
24 | # 217 2008-12-09 18:00:48Z letzel |
---|
25 | # former file user_interface split into one file per subroutine |
---|
26 | # +init_coupling, message |
---|
27 | # |
---|
28 | # 151 2008-03-07 13:42:18Z raasch |
---|
29 | # +plant_canopy_model, inflow_turbulence |
---|
30 | # +surface_coupler |
---|
31 | # |
---|
32 | # 96 2007-06-04 08:07:41Z raasch |
---|
33 | # +eqn_state_seawater, init_ocean |
---|
34 | # |
---|
35 | # 82 2007-04-16 15:40:52Z raasch |
---|
36 | # +local_flush |
---|
37 | # |
---|
38 | # 58 2007-03-09 14:27:38Z raasch |
---|
39 | # default suffixes removed from the suffix list to avoid calling of m2c in |
---|
40 | # case of .mod files |
---|
41 | # +wall_fluxes, +particle_boundary_conds |
---|
42 | # |
---|
43 | # RCS Log replace by Id keyword, revision history cleaned up |
---|
44 | # |
---|
45 | # Revision 1.13 2006/08/04 14:45:31 raasch |
---|
46 | # +data_output_ptseries |
---|
47 | # |
---|
48 | # Revision 1.1 2002/06/11 13:42:20 raasch |
---|
49 | # Initial revision |
---|
50 | # |
---|
51 | # |
---|
52 | # Description: |
---|
53 | # ------------ |
---|
54 | # Makefile for the parallelized LES model (PALM) to be used by the |
---|
55 | # shellscript "mrun" |
---|
56 | #------------------------------------------------------------------------------! |
---|
57 | |
---|
58 | PROG = palm |
---|
59 | |
---|
60 | RCS = advec_particles.f90 advec_s_bc.f90 advec_s_pw.f90 advec_s_up.f90 \ |
---|
61 | advec_ws.f90 advec_s_ups.f90 advec_u_pw.f90 advec_u_up.f90 \ |
---|
62 | advec_u_ups.f90 advec_v_pw.f90 advec_v_up.f90 advec_v_ups.f90 \ |
---|
63 | advec_w_pw.f90 advec_w_up.f90 advec_w_ups.f90 asselin_filter.f90 \ |
---|
64 | average_3d_data.f90 boundary_conds.f90 buoyancy.f90 \ |
---|
65 | calc_liquid_water_content.f90 calc_precipitation.f90 \ |
---|
66 | calc_radiation.f90 calc_spectra.f90 check_for_restart.f90 \ |
---|
67 | check_open.f90 check_parameters.f90 close_file.f90 compute_vpt.f90 \ |
---|
68 | coriolis.f90 cpu_log.f90 cpu_statistics.f90 data_log.f90 \ |
---|
69 | data_output_dvrp.f90 data_output_mask.f90 data_output_profiles.f90 \ |
---|
70 | data_output_ptseries.f90 data_output_spectra.f90 data_output_tseries.f90 \ |
---|
71 | data_output_2d.f90 data_output_3d.f90 diffusion_e.f90 diffusion_s.f90 \ |
---|
72 | diffusion_u.f90 diffusion_v.f90 diffusion_w.f90 diffusivities.f90 \ |
---|
73 | disturb_field.f90 disturb_heatflux.f90 eqn_state_seawater.f90 \ |
---|
74 | exchange_horiz.f90 exchange_horiz_2d.f90 \ |
---|
75 | fft_xy.f90 flow_statistics.f90 global_min_max.f90 \ |
---|
76 | header.f90 impact_of_latent_heat.f90 inflow_turbulence.f90 \ |
---|
77 | init_1d_model.f90 init_3d_model.f90 init_advec.f90 \ |
---|
78 | init_cloud_physics.f90 init_coupling.f90 init_dvrp.f90 init_grid.f90 \ |
---|
79 | init_masks.f90 init_ocean.f90 init_particles.f90 init_pegrid.f90 \ |
---|
80 | init_pt_anomaly.f90 init_rankine.f90 init_slope.f90 \ |
---|
81 | interaction_droplets_ptq.f90 local_flush.f90 \ |
---|
82 | local_getenv.f90 local_stop.f90 local_system.f90 local_tremain.f90 \ |
---|
83 | local_tremain_ini.f90 message.f90 modules.f90 netcdf.f90 \ |
---|
84 | package_parin.f90 palm.f90 parin.f90 particle_boundary_conds.f90 \ |
---|
85 | plant_canopy_model.f90 poisfft.f90 \ |
---|
86 | poisfft_hybrid.f90 poismg.f90 prandtl_fluxes.f90 pres.f90 print_1d.f90 \ |
---|
87 | production_e.f90 prognostic_equations.f90 random_function.f90 \ |
---|
88 | random_gauss.f90 read_3d_binary.f90 read_var_list.f90 run_control.f90 \ |
---|
89 | set_particle_attributes.f90 set_slicer_attributes_dvrp.f90 \ |
---|
90 | singleton.f90 sor.f90 spline_x.f90 \ |
---|
91 | spline_y.f90 spline_z.f90 subsidence.f90 \ |
---|
92 | sum_up_3d_data.f90 surface_coupler.f90 \ |
---|
93 | swap_timelevel.f90 temperton_fft.f90 time_integration.f90 \ |
---|
94 | time_to_string.f90 timestep.f90 timestep_scheme_steering.f90 \ |
---|
95 | transpose.f90 user_3d_data_averaging.f90 user_actions.f90 \ |
---|
96 | user_additional_routines.f90 user_advec_particles.f90 \ |
---|
97 | user_check_data_output.f90 user_check_data_output_pr.f90 \ |
---|
98 | user_check_parameters.f90 user_data_output_2d.f90 \ |
---|
99 | user_data_output_3d.f90 user_data_output_dvrp.f90 user_data_output_mask.f90 \ |
---|
100 | user_define_netcdf_grid.f90 user_dvrp_coltab.f90 user_header.f90 \ |
---|
101 | user_init.f90 user_init_3d_model.f90 user_init_grid.f90 \ |
---|
102 | user_init_particles.f90 user_init_plant_canopy.f90 \ |
---|
103 | user_last_actions.f90 user_module.f90 user_parin.f90 \ |
---|
104 | user_particle_attributes.f90 user_read_restart_data.f90 \ |
---|
105 | user_spectra.f90 user_statistics.f90 wall_fluxes.f90 \ |
---|
106 | write_3d_binary.f90 write_compressed.f90 write_var_list.f90 |
---|
107 | |
---|
108 | OBJS = advec_particles.o advec_s_bc.o advec_s_pw.o advec_s_up.o \ |
---|
109 | advec_s_ups.o advec_u_pw.o advec_u_up.o advec_u_ups.o \ |
---|
110 | advec_ws.o advec_v_pw.o advec_v_up.o advec_v_ups.o advec_w_pw.o \ |
---|
111 | advec_w_up.o advec_w_ups.o asselin_filter.o average_3d_data.o \ |
---|
112 | boundary_conds.o buoyancy.o calc_liquid_water_content.o \ |
---|
113 | calc_precipitation.o calc_radiation.o calc_spectra.o \ |
---|
114 | check_for_restart.o check_open.o check_parameters.o close_file.o \ |
---|
115 | compute_vpt.o coriolis.o cpu_log.o cpu_statistics.o data_log.o \ |
---|
116 | data_output_dvrp.o data_output_mask.o data_output_profiles.o \ |
---|
117 | data_output_ptseries.o \ |
---|
118 | data_output_spectra.o data_output_tseries.o data_output_2d.o \ |
---|
119 | data_output_3d.o diffusion_e.o diffusion_s.o diffusion_u.o \ |
---|
120 | diffusion_v.o diffusion_w.o diffusivities.o disturb_field.o \ |
---|
121 | disturb_heatflux.o eqn_state_seawater.o exchange_horiz.o exchange_horiz_2d.o fft_xy.o \ |
---|
122 | flow_statistics.o global_min_max.o header.o impact_of_latent_heat.o \ |
---|
123 | inflow_turbulence.o init_1d_model.o init_3d_model.o init_advec.o init_cloud_physics.o \ |
---|
124 | init_coupling.o init_dvrp.o init_grid.o init_masks.o init_ocean.o init_particles.o init_pegrid.o \ |
---|
125 | init_pt_anomaly.o init_rankine.o init_slope.o \ |
---|
126 | interaction_droplets_ptq.o local_flush.o local_getenv.o local_stop.o \ |
---|
127 | local_system.o local_tremain.o local_tremain_ini.o message.o modules.o \ |
---|
128 | netcdf.o package_parin.o palm.o parin.o particle_boundary_conds.o \ |
---|
129 | plant_canopy_model.o poisfft.o \ |
---|
130 | poisfft_hybrid.o poismg.o prandtl_fluxes.o pres.o print_1d.o \ |
---|
131 | production_e.o prognostic_equations.o random_function.o random_gauss.o \ |
---|
132 | read_3d_binary.o read_var_list.o run_control.o \ |
---|
133 | set_particle_attributes.o set_slicer_attributes_dvrp.o \ |
---|
134 | singleton.o sor.o spline_x.o spline_y.o \ |
---|
135 | spline_z.o subsidence.o sum_up_3d_data.o surface_coupler.o \ |
---|
136 | swap_timelevel.o \ |
---|
137 | temperton_fft.o time_integration.o time_to_string.o \ |
---|
138 | timestep.o timestep_scheme_steering.o transpose.o \ |
---|
139 | user_3d_data_averaging.o user_actions.o user_additional_routines.o \ |
---|
140 | user_advec_particles.o user_check_data_output.o \ |
---|
141 | user_check_data_output_pr.o user_check_parameters.o \ |
---|
142 | user_data_output_2d.o user_data_output_3d.o user_data_output_mask.o user_data_output_dvrp.o \ |
---|
143 | user_define_netcdf_grid.o user_dvrp_coltab.o user_header.o \ |
---|
144 | user_init.o user_init_3d_model.o user_init_grid.o \ |
---|
145 | user_init_particles.o user_init_plant_canopy.o user_last_actions.o \ |
---|
146 | user_module.o user_parin.o user_particle_attributes.o \ |
---|
147 | user_read_restart_data.o user_spectra.o user_statistics.o \ |
---|
148 | wall_fluxes.o write_3d_binary.o write_compressed.o write_var_list.o |
---|
149 | |
---|
150 | CC = cc |
---|
151 | CFLAGS = -O |
---|
152 | |
---|
153 | F90 = |
---|
154 | COPT = |
---|
155 | F90FLAGS = |
---|
156 | LDFLAGS = |
---|
157 | |
---|
158 | #to_be_replaced_by_include |
---|
159 | |
---|
160 | .SUFFIXES: |
---|
161 | .SUFFIXES: .o .f90 |
---|
162 | |
---|
163 | |
---|
164 | all: $(PROG) |
---|
165 | |
---|
166 | $(PROG): $(OBJS) |
---|
167 | $(F90) -o $(PROG) $(OBJS) $(LDFLAGS) |
---|
168 | |
---|
169 | clean: |
---|
170 | rm -f $(PROG) $(OBJS) *.mod *.i *.lst |
---|
171 | |
---|
172 | .f90.o: |
---|
173 | $(F90) $(F90FLAGS) $(COPT) -c $< |
---|
174 | |
---|
175 | |
---|
176 | |
---|
177 | advec_particles.o: modules.o random_function.o |
---|
178 | advec_s_bc.o: modules.o |
---|
179 | advec_s_pw.o: modules.o |
---|
180 | advec_s_up.o: modules.o |
---|
181 | advec_s_ups.o: modules.o |
---|
182 | advec_u_pw.o: modules.o |
---|
183 | advec_u_up.o: modules.o |
---|
184 | advec_u_ups.o: modules.o |
---|
185 | advec_v_pw.o: modules.o |
---|
186 | advec_v_up.o: modules.o |
---|
187 | advec_v_ups.o: modules.o |
---|
188 | advec_ws.o: modules.o |
---|
189 | advec_w_pw.o: modules.o |
---|
190 | advec_w_up.o: modules.o |
---|
191 | advec_w_ups.o: modules.o |
---|
192 | asselin_filter.o: modules.o |
---|
193 | average_3d_data.o: modules.o |
---|
194 | boundary_conds.o: modules.o |
---|
195 | buoyancy.o: modules.o |
---|
196 | calc_liquid_water_content.o: modules.o |
---|
197 | calc_precipitation.o: modules.o |
---|
198 | calc_radiation.o: modules.o |
---|
199 | calc_spectra.o: modules.o fft_xy.o |
---|
200 | check_for_restart.o: modules.o |
---|
201 | check_open.o: modules.o |
---|
202 | check_parameters.o: modules.o subsidence.o |
---|
203 | close_file.o: modules.o |
---|
204 | compute_vpt.o: modules.o |
---|
205 | coriolis.o: modules.o |
---|
206 | cpu_log.o: modules.o |
---|
207 | cpu_statistics.o: modules.o |
---|
208 | data_log.o: modules.o |
---|
209 | data_output_dvrp.o: modules.o |
---|
210 | data_output_mask.o: modules.o |
---|
211 | data_output_profiles.o: modules.o |
---|
212 | data_output_ptseries.o: modules.o |
---|
213 | data_output_spectra.o: modules.o |
---|
214 | data_output_tseries.o: modules.o |
---|
215 | data_output_2d.o: modules.o |
---|
216 | data_output_3d.o: modules.o |
---|
217 | diffusion_e.o: modules.o |
---|
218 | diffusion_s.o: modules.o |
---|
219 | diffusion_u.o: modules.o wall_fluxes.o |
---|
220 | diffusion_v.o: modules.o wall_fluxes.o |
---|
221 | diffusion_w.o: modules.o wall_fluxes.o |
---|
222 | diffusivities.o: modules.o |
---|
223 | disturb_field.o: modules.o random_function.o |
---|
224 | disturb_heatflux.o: modules.o |
---|
225 | eqn_state_seawater.o: modules.o |
---|
226 | exchange_horiz.o: modules.o |
---|
227 | exchange_horiz_2d.o: modules.o |
---|
228 | fft_xy.o: modules.o singleton.o temperton_fft.o |
---|
229 | flow_statistics.o: modules.o |
---|
230 | global_min_max.o: modules.o |
---|
231 | header.o: modules.o |
---|
232 | impact_of_latent_heat.o: modules.o |
---|
233 | inflow_turbulence.o: modules.o |
---|
234 | init_1d_model.o: modules.o |
---|
235 | init_3d_model.o: modules.o random_function.o advec_ws.o |
---|
236 | init_advec.o: modules.o |
---|
237 | init_cloud_physics.o: modules.o |
---|
238 | init_coupling.o: modules.o |
---|
239 | init_dvrp.o: modules.o |
---|
240 | init_grid.o: modules.o |
---|
241 | init_masks.o: modules.o |
---|
242 | init_ocean.o: modules.o eqn_state_seawater.o |
---|
243 | init_particles.o: modules.o random_function.o |
---|
244 | init_pegrid.o: modules.o fft_xy.o poisfft.o poisfft_hybrid.o |
---|
245 | init_pt_anomaly.o: modules.o |
---|
246 | init_rankine.o: modules.o |
---|
247 | init_slope.o: modules.o |
---|
248 | interaction_droplets_ptq.o: modules.o |
---|
249 | local_getenv.o: modules.o |
---|
250 | local_stop.o: modules.o |
---|
251 | local_tremain.o: modules.o |
---|
252 | local_tremain_ini.o: modules.o |
---|
253 | message.o: modules.o |
---|
254 | modules.o: modules.f90 |
---|
255 | netcdf.o: modules.o |
---|
256 | package_parin.o: modules.o |
---|
257 | palm.o: modules.o |
---|
258 | parin.o: modules.o |
---|
259 | particle_boundary_conds.o: modules.o |
---|
260 | plant_canopy_model.o: modules.o |
---|
261 | poisfft.o: modules.o fft_xy.o |
---|
262 | poisfft_hybrid.o: modules.o fft_xy.o |
---|
263 | poismg.o: modules.o |
---|
264 | prandtl_fluxes.o: modules.o |
---|
265 | pres.o: modules.o poisfft.o poisfft_hybrid.o |
---|
266 | print_1d.o: modules.o |
---|
267 | production_e.o: modules.o wall_fluxes.o |
---|
268 | prognostic_equations.o: modules.o advec_s_pw.o advec_s_up.o advec_u_pw.o \ |
---|
269 | advec_ws.o \ |
---|
270 | advec_u_up.o advec_v_pw.o advec_v_up.o advec_w_pw.o advec_w_up.o \ |
---|
271 | buoyancy.o calc_precipitation.o calc_radiation.o coriolis.o \ |
---|
272 | diffusion_e.o diffusion_s.o diffusion_u.o diffusion_v.o diffusion_w.o \ |
---|
273 | eqn_state_seawater.o impact_of_latent_heat.o \ |
---|
274 | plant_canopy_model.o production_e.o \ |
---|
275 | subsidence.o user_actions.o |
---|
276 | random_gauss.o: random_function.o |
---|
277 | read_3d_binary.o: modules.o random_function.o |
---|
278 | read_var_list.o: modules.o |
---|
279 | run_control.o: modules.o |
---|
280 | set_particle_attributes.o: modules.o |
---|
281 | set_slicer_attributes_dvrp.o: modules.o |
---|
282 | singleton.o: singleton.f90 |
---|
283 | sor.o: modules.o |
---|
284 | spline_x.o: modules.o |
---|
285 | spline_y.o: modules.o |
---|
286 | spline_z.o: modules.o |
---|
287 | subsidence.o: modules.o |
---|
288 | sum_up_3d_data.o: modules.o |
---|
289 | surface_coupler.o: modules.o |
---|
290 | swap_timelevel.o: modules.o |
---|
291 | temperton_fft.o: modules.o |
---|
292 | time_integration.o: modules.o prognostic_equations.o user_actions.o \ |
---|
293 | interaction_droplets_ptq.o |
---|
294 | timestep.o: modules.o |
---|
295 | timestep_scheme_steering.o: modules.o |
---|
296 | transpose.o: modules.o |
---|
297 | user_3d_data_averaging.o: modules.o user_module.o |
---|
298 | user_actions.o: modules.o user_module.o |
---|
299 | user_additional_routines.o: modules.o user_module.o |
---|
300 | user_advec_particles.o: modules.o user_module.o |
---|
301 | user_check_data_output.o: modules.o user_module.o |
---|
302 | user_check_data_output_pr.o: modules.o user_module.o |
---|
303 | user_check_parameters.o: modules.o user_module.o |
---|
304 | user_data_output_2d.o: modules.o user_module.o |
---|
305 | user_data_output_3d.o: modules.o user_module.o |
---|
306 | user_data_output_mask.o: modules.o user_module.o |
---|
307 | user_data_output_dvrp.o: modules.o user_module.o |
---|
308 | user_define_netcdf_grid.o: modules.o user_module.o |
---|
309 | user_dvrp_coltab.o: modules.o user_module.o |
---|
310 | user_header.o: modules.o user_module.o |
---|
311 | user_init.o: modules.o user_module.o |
---|
312 | user_init_3d_model.o: modules.o user_module.o |
---|
313 | user_init_grid.o: modules.o user_module.o |
---|
314 | user_init_particles.o: modules.o user_module.o |
---|
315 | user_init_plant_canopy.o: modules.o user_module.o |
---|
316 | user_last_actions.o: modules.o user_module.o |
---|
317 | user_module.o: user_module.f90 |
---|
318 | user_parin.o: modules.o user_module.o |
---|
319 | user_particle_attributes.o: modules.o user_module.o |
---|
320 | user_read_restart_data.o: modules.o user_module.o |
---|
321 | user_spectra.o: modules.o user_module.o |
---|
322 | user_statistics.o: modules.o user_module.o |
---|
323 | wall_fluxes.o: modules.o |
---|
324 | write_3d_binary.o: modules.o random_function.o |
---|
325 | write_compressed.o: modules.o |
---|
326 | write_var_list.o: modules.o |
---|