source: palm/trunk/SOURCE/Makefile @ 1127

Last change on this file since 1127 was 1112, checked in by raasch, 12 years ago

last commit documented

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