source: palm/trunk/SOURCE/Makefile @ 993

Last change on this file since 993 was 873, checked in by franke, 13 years ago

last commit documented

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