source: palm/trunk/SOURCE/Makefile @ 1367

Last change on this file since 1367 was 1366, checked in by boeske, 11 years ago

last commit documented

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