source: palm/trunk/SOURCE/Makefile @ 1361

Last change on this file since 1361 was 1361, checked in by hoffmann, 11 years ago

improved version of two-moment cloud physics

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