source: palm/trunk/SOURCE/Makefile @ 1320

Last change on this file since 1320 was 1320, checked in by raasch, 11 years ago

ONLY-attribute added to USE-statements,
kind-parameters added to all INTEGER and REAL declaration statements,
kinds are defined in new module kinds,
old module precision_kind is removed,
revision history before 2012 removed,
comment fields (!:) to be used for variable explanations added to all variable declaration statements

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