1 | #--------------------------------------------------------------------------------# |
---|
2 | # This file is part of PALM. |
---|
3 | # |
---|
4 | # PALM is free software: you can redistribute it and/or modify it under the terms |
---|
5 | # of the GNU General Public License as published by the Free Software Foundation, |
---|
6 | # either version 3 of the License, or (at your option) any later version. |
---|
7 | # |
---|
8 | # PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
9 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
10 | # A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
11 | # |
---|
12 | # You should have received a copy of the GNU General Public License along with |
---|
13 | # PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
14 | # |
---|
15 | # Copyright 1997-2012 Leibniz University Hannover |
---|
16 | #--------------------------------------------------------------------------------# |
---|
17 | # |
---|
18 | # WARNING: don't write filenames with extension .f90 in this header!!!! |
---|
19 | # |
---|
20 | # Current revisions: |
---|
21 | # ------------------ |
---|
22 | # |
---|
23 | # |
---|
24 | # Former revisions: |
---|
25 | # ----------------- |
---|
26 | # $Id: Makefile 1307 2014-03-13 14:39:47Z raasch $ |
---|
27 | # |
---|
28 | # 1306 2014-03-13 14:30:59Z raasch |
---|
29 | # +mod_kinds |
---|
30 | # |
---|
31 | # 1241 2013-10-30 11:36:58Z heinze |
---|
32 | # +nudging, ls_forcing |
---|
33 | # |
---|
34 | # 1212 2013-08-15 08:46:27Z raasch |
---|
35 | # +tridia_solver, -poisfft_hybrid |
---|
36 | # |
---|
37 | # 1210 2013-08-14 10:58:20Z raasch |
---|
38 | # object file list replaced by one line statement |
---|
39 | # |
---|
40 | # 1128 2013-04-12 06:19:32Z raasch |
---|
41 | # dependencies for time_integration modified |
---|
42 | # |
---|
43 | # 1111 2013-03-08 23:54:10Z raasch |
---|
44 | # dependencies removed from init_pegrid |
---|
45 | # bugfix: dependency added for cuda_fft_interfaces |
---|
46 | # |
---|
47 | # 1106 2013-03-04 05:31:38Z raasch |
---|
48 | # +cuda_fft_interfaces |
---|
49 | # |
---|
50 | # 1053 2012-11-13 17:11:03Z hoffmann |
---|
51 | # +microphysics for two-moment cloud physics |
---|
52 | # |
---|
53 | # 1036 2012-10-22 13:43:42Z raasch |
---|
54 | # code put under GPL (PALM 3.9) |
---|
55 | # |
---|
56 | # 1001 2012-09-13 14:08:46Z raasch |
---|
57 | # -asselin_filter, advec_s|u|v|w_ups, spline_x|y|z |
---|
58 | # |
---|
59 | # 872 2012-03-29 15:57:54Z franke |
---|
60 | # lpm depends on modules |
---|
61 | # |
---|
62 | # 849 2012-03-15 10:35:09Z raasch |
---|
63 | # +lpm_advec, lpm_data_output_particles, lpm_droplet_collision, |
---|
64 | # lpm_droplet_condensation, |
---|
65 | # lpm_exchange_horiz, lpm_extend_particle_array, lpm_extend_tails, |
---|
66 | # lpm_extend_tail_array, lpm_init_sgs_tke, lpm_pack_arrays, |
---|
67 | # lpm_read_restart_file, lpm_release_set, lpm_sort_arrays, |
---|
68 | # lpm_write_exchange_statistics, lpm_write_restart_file |
---|
69 | # advec_particles renamed lpm, |
---|
70 | # init_particles renamed lpm_init, |
---|
71 | # user_advec_particles renamed user_lpm_advec, |
---|
72 | # particle_boundary_conds renamed lpm_boundary_conds, |
---|
73 | # set_particle_attributes renamed lpm_set_attributes |
---|
74 | # user_init_particles renamed user_lpm_init, |
---|
75 | # user_particle_attributes renamed user_lpm_set_attributes |
---|
76 | # |
---|
77 | # 828 2012-02-21 12:00:36Z raasch |
---|
78 | # init_particles depends on lpm_collision_kernels |
---|
79 | # |
---|
80 | # 825 2012-02-19 03:03:44Z raasch |
---|
81 | # wang_kernel renamed lpm_collision_kernels |
---|
82 | # |
---|
83 | # 790 2011-11-29 03:11:20Z raasch |
---|
84 | # +wang_kernel |
---|
85 | # |
---|
86 | # 667 2010-12-23 12:06:00Z suehring/gryschka |
---|
87 | # +advec_ws |
---|
88 | # |
---|
89 | # 421 2010-01-25 15:50:10Z raasch |
---|
90 | # comment line for simple install method added, which will be replaced |
---|
91 | # by an include command for preprocessor and compiler options when the simple |
---|
92 | # install process is used instead of mbuild/mrun, |
---|
93 | # +set_particle_attributes, set_slicer_attributes_dvrp |
---|
94 | # +subsidence |
---|
95 | # |
---|
96 | # 410 2009-12-04 17:05:40Z letzel |
---|
97 | # +data_output_mask, init_masks, user_data_output_mask |
---|
98 | # |
---|
99 | # 217 2008-12-09 18:00:48Z letzel |
---|
100 | # former file user_interface split into one file per subroutine |
---|
101 | # +init_coupling, message |
---|
102 | # |
---|
103 | # 151 2008-03-07 13:42:18Z raasch |
---|
104 | # +plant_canopy_model, inflow_turbulence |
---|
105 | # +surface_coupler |
---|
106 | # |
---|
107 | # 96 2007-06-04 08:07:41Z raasch |
---|
108 | # +eqn_state_seawater, init_ocean |
---|
109 | # |
---|
110 | # 82 2007-04-16 15:40:52Z raasch |
---|
111 | # +local_flush |
---|
112 | # |
---|
113 | # 58 2007-03-09 14:27:38Z raasch |
---|
114 | # default suffixes removed from the suffix list to avoid calling of m2c in |
---|
115 | # case of .mod files |
---|
116 | # +wall_fluxes, +particle_boundary_conds |
---|
117 | # |
---|
118 | # RCS Log replace by Id keyword, revision history cleaned up |
---|
119 | # |
---|
120 | # Revision 1.13 2006/08/04 14:45:31 raasch |
---|
121 | # +data_output_ptseries |
---|
122 | # |
---|
123 | # Revision 1.1 2002/06/11 13:42:20 raasch |
---|
124 | # Initial revision |
---|
125 | # |
---|
126 | # |
---|
127 | # Description: |
---|
128 | # ------------ |
---|
129 | # Makefile for the parallelized LES model (PALM) to be used by the |
---|
130 | # shellscript "mrun" |
---|
131 | #------------------------------------------------------------------------------! |
---|
132 | |
---|
133 | PROG = palm |
---|
134 | |
---|
135 | SOURCES = advec_s_bc.f90 advec_s_pw.f90 advec_s_up.f90 advec_ws.f90 \ |
---|
136 | advec_u_pw.f90 advec_u_up.f90 advec_v_pw.f90 advec_v_up.f90 \ |
---|
137 | advec_w_pw.f90 advec_w_up.f90 average_3d_data.f90 boundary_conds.f90 \ |
---|
138 | buoyancy.f90 calc_liquid_water_content.f90 calc_precipitation.f90 \ |
---|
139 | calc_radiation.f90 calc_spectra.f90 check_for_restart.f90 \ |
---|
140 | check_open.f90 check_parameters.f90 close_file.f90 compute_vpt.f90 \ |
---|
141 | coriolis.f90 cpu_log.f90 cpu_statistics.f90 cuda_fft_interfaces.f90 \ |
---|
142 | data_log.f90 \ |
---|
143 | data_output_dvrp.f90 data_output_mask.f90 data_output_profiles.f90 \ |
---|
144 | data_output_ptseries.f90 data_output_spectra.f90 \ |
---|
145 | data_output_tseries.f90 data_output_2d.f90 data_output_3d.f90 \ |
---|
146 | diffusion_e.f90 diffusion_s.f90 diffusion_u.f90 diffusion_v.f90 \ |
---|
147 | diffusion_w.f90 diffusivities.f90 disturb_field.f90 \ |
---|
148 | disturb_heatflux.f90 eqn_state_seawater.f90 exchange_horiz.f90 \ |
---|
149 | exchange_horiz_2d.f90 fft_xy.f90 flow_statistics.f90 \ |
---|
150 | global_min_max.f90 header.f90 impact_of_latent_heat.f90 \ |
---|
151 | inflow_turbulence.f90 init_1d_model.f90 init_3d_model.f90 \ |
---|
152 | init_advec.f90 init_cloud_physics.f90 init_coupling.f90 init_dvrp.f90 \ |
---|
153 | init_grid.f90 init_masks.f90 init_ocean.f90 \ |
---|
154 | init_pegrid.f90 init_pt_anomaly.f90 init_rankine.f90 init_slope.f90 \ |
---|
155 | interaction_droplets_ptq.f90 local_flush.f90 local_getenv.f90 \ |
---|
156 | local_stop.f90 local_system.f90 local_tremain.f90 \ |
---|
157 | local_tremain_ini.f90 lpm.f90 lpm_advec.f90 lpm_boundary_conds.f90 \ |
---|
158 | lpm_calc_liquid_water_content.f90 lpm_collision_kernels.f90 \ |
---|
159 | lpm_data_output_particles.f90 lpm_droplet_collision.f90 \ |
---|
160 | lpm_droplet_condensation.f90 lpm_exchange_horiz.f90 \ |
---|
161 | lpm_extend_particle_array.f90 lpm_extend_tails.f90 \ |
---|
162 | lpm_extend_tail_array.f90 lpm_init.f90 lpm_init_sgs_tke.f90 \ |
---|
163 | lpm_pack_arrays.f90 lpm_read_restart_file.f90 lpm_release_set.f90 \ |
---|
164 | lpm_set_attributes.f90 lpm_sort_arrays.f90 \ |
---|
165 | lpm_write_exchange_statistics.f90 lpm_write_restart_file.f90 \ |
---|
166 | ls_forcing.f90 message.f90 microphysics.f90 modules.f90 mod_kinds.f90 \ |
---|
167 | netcdf.f90 nudging.f90 \ |
---|
168 | package_parin.f90 palm.f90 parin.f90 plant_canopy_model.f90 poisfft.f90 \ |
---|
169 | poismg.f90 prandtl_fluxes.f90 pres.f90 print_1d.f90 \ |
---|
170 | production_e.f90 prognostic_equations.f90 random_function.f90 \ |
---|
171 | random_gauss.f90 read_3d_binary.f90 read_var_list.f90 run_control.f90 \ |
---|
172 | set_slicer_attributes_dvrp.f90 singleton.f90 sor.f90 \ |
---|
173 | subsidence.f90 sum_up_3d_data.f90 \ |
---|
174 | surface_coupler.f90 swap_timelevel.f90 temperton_fft.f90 \ |
---|
175 | time_integration.f90 time_to_string.f90 timestep.f90 \ |
---|
176 | timestep_scheme_steering.f90 transpose.f90 tridia_solver.f90 \ |
---|
177 | user_3d_data_averaging.f90 \ |
---|
178 | user_actions.f90 user_additional_routines.f90 \ |
---|
179 | user_check_data_output.f90 user_check_data_output_pr.f90 \ |
---|
180 | user_check_parameters.f90 user_data_output_2d.f90 \ |
---|
181 | user_data_output_3d.f90 user_data_output_dvrp.f90 \ |
---|
182 | user_data_output_mask.f90 user_define_netcdf_grid.f90 \ |
---|
183 | user_dvrp_coltab.f90 user_header.f90 user_init.f90 \ |
---|
184 | user_init_3d_model.f90 user_init_grid.f90 \ |
---|
185 | user_init_plant_canopy.f90 user_last_actions.f90 user_lpm_advec.f90 \ |
---|
186 | user_lpm_init.f90 user_lpm_set_attributes.f90 user_module.f90 \ |
---|
187 | user_parin.f90 user_read_restart_data.f90 \ |
---|
188 | user_spectra.f90 user_statistics.f90 wall_fluxes.f90 \ |
---|
189 | write_3d_binary.f90 write_compressed.f90 write_var_list.f90 |
---|
190 | |
---|
191 | OBJS=$(SOURCES:.f90=.o) |
---|
192 | |
---|
193 | CC = cc |
---|
194 | CFLAGS = -O |
---|
195 | |
---|
196 | F90 = |
---|
197 | COPT = |
---|
198 | F90FLAGS = |
---|
199 | LDFLAGS = |
---|
200 | |
---|
201 | #to_be_replaced_by_include |
---|
202 | |
---|
203 | .SUFFIXES: |
---|
204 | .SUFFIXES: .o .f90 |
---|
205 | |
---|
206 | |
---|
207 | all: $(PROG) |
---|
208 | |
---|
209 | $(PROG): $(OBJS) |
---|
210 | $(F90) -o $(PROG) $(OBJS) $(LDFLAGS) |
---|
211 | |
---|
212 | clean: |
---|
213 | rm -f $(PROG) $(OBJS) *.mod *.i *.lst |
---|
214 | |
---|
215 | .f90.o: |
---|
216 | $(F90) $(F90FLAGS) $(COPT) -c $< |
---|
217 | |
---|
218 | |
---|
219 | |
---|
220 | advec_particles.o: modules.o |
---|
221 | advec_s_bc.o: modules.o |
---|
222 | advec_s_pw.o: modules.o |
---|
223 | advec_s_up.o: modules.o |
---|
224 | advec_u_pw.o: modules.o |
---|
225 | advec_u_up.o: modules.o |
---|
226 | advec_v_pw.o: modules.o |
---|
227 | advec_v_up.o: modules.o |
---|
228 | advec_ws.o: modules.o |
---|
229 | advec_w_pw.o: modules.o |
---|
230 | advec_w_up.o: modules.o |
---|
231 | average_3d_data.o: modules.o |
---|
232 | boundary_conds.o: modules.o |
---|
233 | buoyancy.o: modules.o |
---|
234 | calc_liquid_water_content.o: modules.o |
---|
235 | calc_precipitation.o: modules.o |
---|
236 | calc_radiation.o: modules.o |
---|
237 | calc_spectra.o: modules.o fft_xy.o |
---|
238 | check_for_restart.o: modules.o |
---|
239 | check_open.o: modules.o |
---|
240 | check_parameters.o: modules.o subsidence.o |
---|
241 | close_file.o: modules.o |
---|
242 | compute_vpt.o: modules.o |
---|
243 | coriolis.o: modules.o |
---|
244 | cpu_log.o: modules.o |
---|
245 | cpu_statistics.o: modules.o |
---|
246 | cuda_fft_interfaces.o: cuda_fft_interfaces.f90 modules.o |
---|
247 | data_log.o: modules.o |
---|
248 | data_output_dvrp.o: modules.o |
---|
249 | data_output_mask.o: modules.o |
---|
250 | data_output_profiles.o: modules.o |
---|
251 | data_output_ptseries.o: modules.o |
---|
252 | data_output_spectra.o: modules.o |
---|
253 | data_output_tseries.o: modules.o |
---|
254 | data_output_2d.o: modules.o |
---|
255 | data_output_3d.o: modules.o |
---|
256 | diffusion_e.o: modules.o |
---|
257 | diffusion_s.o: modules.o |
---|
258 | diffusion_u.o: modules.o wall_fluxes.o |
---|
259 | diffusion_v.o: modules.o wall_fluxes.o |
---|
260 | diffusion_w.o: modules.o wall_fluxes.o |
---|
261 | diffusivities.o: modules.o |
---|
262 | disturb_field.o: modules.o random_function.o |
---|
263 | disturb_heatflux.o: modules.o |
---|
264 | eqn_state_seawater.o: modules.o |
---|
265 | exchange_horiz.o: modules.o |
---|
266 | exchange_horiz_2d.o: modules.o |
---|
267 | fft_xy.o: cuda_fft_interfaces.o modules.o singleton.o temperton_fft.o |
---|
268 | flow_statistics.o: modules.o |
---|
269 | global_min_max.o: modules.o |
---|
270 | header.o: modules.o subsidence.o |
---|
271 | impact_of_latent_heat.o: modules.o |
---|
272 | inflow_turbulence.o: modules.o |
---|
273 | init_1d_model.o: modules.o |
---|
274 | init_3d_model.o: modules.o random_function.o advec_ws.o ls_forcing.o |
---|
275 | init_advec.o: modules.o |
---|
276 | init_cloud_physics.o: modules.o |
---|
277 | init_coupling.o: modules.o |
---|
278 | init_dvrp.o: modules.o |
---|
279 | init_grid.o: modules.o |
---|
280 | init_masks.o: modules.o |
---|
281 | init_ocean.o: modules.o eqn_state_seawater.o |
---|
282 | init_pegrid.o: modules.o |
---|
283 | init_pt_anomaly.o: modules.o |
---|
284 | init_rankine.o: modules.o |
---|
285 | init_slope.o: modules.o |
---|
286 | interaction_droplets_ptq.o: modules.o |
---|
287 | local_getenv.o: modules.o |
---|
288 | local_stop.o: modules.o |
---|
289 | local_tremain.o: modules.o |
---|
290 | local_tremain_ini.o: modules.o |
---|
291 | lpm.o: modules.o |
---|
292 | lpm_advec.o: modules.o |
---|
293 | lpm_boundary_conds.o: modules.o |
---|
294 | lpm_calc_liquid_water_content.o: modules.o |
---|
295 | lpm_collision_kernels.o: modules.o user_module.o |
---|
296 | lpm_data_output_particles.o: modules.o |
---|
297 | lpm_droplet_collision.o: modules.o lpm_collision_kernels.o |
---|
298 | lpm_droplet_condensation.o: modules.o lpm_collision_kernels.o |
---|
299 | lpm_exchange_horiz.o: modules.o |
---|
300 | lpm_extend_particle_array.o: modules.o |
---|
301 | lpm_extend_tails.o: modules.o |
---|
302 | lpm_extend_tail_array.o: modules.o |
---|
303 | lpm_init.o: modules.o lpm_collision_kernels.o random_function.o |
---|
304 | lpm_init_sgs_tke.o: modules.o |
---|
305 | lpm_pack_arrays.o: modules.o |
---|
306 | lpm_read_restart_file.o: modules.o |
---|
307 | lpm_release_set.o: modules.o random_function.o |
---|
308 | lpm_set_attributes.o: modules.o |
---|
309 | lpm_sort_arrays.o: modules.o |
---|
310 | lpm_write_exchange_statistics.o: modules.o |
---|
311 | lpm_write_restart_file.o: modules.o |
---|
312 | ls_forcing.o: modules.o |
---|
313 | message.o: modules.o |
---|
314 | microphysics.o: modules.o |
---|
315 | modules.o: modules.f90 |
---|
316 | netcdf.o: modules.o |
---|
317 | nudging.o: modules.o |
---|
318 | package_parin.o: modules.o |
---|
319 | palm.o: modules.o ls_forcing.o nudging.o |
---|
320 | parin.o: modules.o |
---|
321 | plant_canopy_model.o: modules.o |
---|
322 | poisfft.o: modules.o fft_xy.o tridia_solver.o |
---|
323 | poismg.o: modules.o |
---|
324 | prandtl_fluxes.o: modules.o |
---|
325 | pres.o: modules.o poisfft.o |
---|
326 | print_1d.o: modules.o |
---|
327 | production_e.o: modules.o wall_fluxes.o |
---|
328 | prognostic_equations.o: modules.o advec_s_pw.o advec_s_up.o advec_u_pw.o \ |
---|
329 | advec_u_up.o advec_v_pw.o advec_v_up.o advec_w_pw.o advec_w_up.o \ |
---|
330 | advec_ws.o buoyancy.o calc_precipitation.o calc_radiation.o coriolis.o \ |
---|
331 | diffusion_e.o diffusion_s.o diffusion_u.o diffusion_v.o diffusion_w.o \ |
---|
332 | eqn_state_seawater.o impact_of_latent_heat.o microphysics.o \ |
---|
333 | nudging.o plant_canopy_model.o production_e.o subsidence.o user_actions.o |
---|
334 | random_gauss.o: random_function.o |
---|
335 | read_3d_binary.o: modules.o random_function.o |
---|
336 | read_var_list.o: modules.o |
---|
337 | run_control.o: modules.o |
---|
338 | set_slicer_attributes_dvrp.o: modules.o |
---|
339 | singleton.o: singleton.f90 |
---|
340 | sor.o: modules.o |
---|
341 | subsidence.o: modules.o |
---|
342 | sum_up_3d_data.o: modules.o |
---|
343 | surface_coupler.o: modules.o |
---|
344 | swap_timelevel.o: modules.o |
---|
345 | temperton_fft.o: modules.o |
---|
346 | time_integration.o: modules.o advec_ws.o buoyancy.o interaction_droplets_ptq.o \ |
---|
347 | ls_forcing.o production_e.o prognostic_equations.o user_actions.o |
---|
348 | timestep.o: modules.o |
---|
349 | timestep_scheme_steering.o: modules.o |
---|
350 | transpose.o: modules.o |
---|
351 | tridia_solver.o: modules.o |
---|
352 | user_3d_data_averaging.o: modules.o user_module.o |
---|
353 | user_actions.o: modules.o user_module.o |
---|
354 | user_additional_routines.o: modules.o user_module.o |
---|
355 | user_check_data_output.o: modules.o user_module.o |
---|
356 | user_check_data_output_pr.o: modules.o user_module.o |
---|
357 | user_check_parameters.o: modules.o user_module.o |
---|
358 | user_data_output_2d.o: modules.o user_module.o |
---|
359 | user_data_output_3d.o: modules.o user_module.o |
---|
360 | user_data_output_mask.o: modules.o user_module.o |
---|
361 | user_data_output_dvrp.o: modules.o user_module.o |
---|
362 | user_define_netcdf_grid.o: modules.o user_module.o |
---|
363 | user_dvrp_coltab.o: modules.o user_module.o |
---|
364 | user_header.o: modules.o user_module.o |
---|
365 | user_init.o: modules.o user_module.o |
---|
366 | user_init_3d_model.o: modules.o user_module.o |
---|
367 | user_init_grid.o: modules.o user_module.o |
---|
368 | user_init_plant_canopy.o: modules.o user_module.o |
---|
369 | user_last_actions.o: modules.o user_module.o |
---|
370 | user_lpm_advec.o: modules.o user_module.o |
---|
371 | user_lpm_init.o: modules.o user_module.o |
---|
372 | user_lpm_set_attributes.o: modules.o user_module.o |
---|
373 | user_module.o: user_module.f90 |
---|
374 | user_parin.o: modules.o user_module.o |
---|
375 | user_read_restart_data.o: modules.o user_module.o |
---|
376 | user_spectra.o: modules.o user_module.o |
---|
377 | user_statistics.o: modules.o user_module.o |
---|
378 | wall_fluxes.o: modules.o |
---|
379 | write_3d_binary.o: modules.o random_function.o |
---|
380 | write_compressed.o: modules.o |
---|
381 | write_var_list.o: modules.o |
---|