source: palm/trunk/SOURCE/Makefile @ 1217

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

last commit documented

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