source: palm/trunk/SOURCE/Makefile @ 482

Last change on this file since 482 was 482, checked in by raasch, 15 years ago

New:
---
compare_palm_logs is additionally compiled with mbuild -u (Makefile in trunk/UTIL)

make options (mopts) to be set by configuration file implemented (mrun, mbuild)

humidity=.T. is now usable for runs with topography. wall_humidityflux and
wall_scalarflux are the corresponding new parin arrays.
(check_parameters, init_3d_model, parin)

Large scale vertical motion (subsidence/ascent) can be applied to the
prognostic equation for the potential temperature. (check_parameters, header,
Makefile, modules, parin, prognostic_equations, read_var_list, subsidence,
write_var_list)

A simple method for installing and running palm (with limited features)
has been added. (Makefile, palm_simple_install, palm_simple_run)

Changed:


2d-decomposition is default for Cray-XT machines (init_pegrid)

var_ts is replaced by dots_max (modules,init_3d_model)

Every cloud droplet has now an own weighting factor and can be deleted due to
collisions. Condensation and collision of cloud droplets are adjusted
accordingly. (advec_particles)

Collision efficiency for large cloud droplets has changed according to table of
Rogers and Yau. (collision_efficiency)

Errors:


Bugfix for generating serial jobs (subjob)

Bugfix: index problem concerning gradient_level indices removed (header)

Dimension of array stat in cascade change to prevent type problems with
mpi2 libraries (poisfft_hybrid)

Loop was split to make runs reproducible when using ifort compiler.
(disturb_field)

Bugfix: exchange of ghost points for prho included (time_integration)

Bugfix: calculation of time-averaged surface heatfluxes (sum_up_3d_data)

Bugfix: calculation of precipitation_rate (calc_precipitation)

Bugfix: initial data assignments to some dvrp arrays changed due to error
messages from gfortran compiler (modules)

Bugfix: calculation of cloud droplet velocity (advec_particles)

Bugfix: transfer of particles at south/left edge (advec_particles)

Bugfix: calculation of collision_efficiency (collision_efficiency)

Bugfix: initialisation of var_mod (subsidence)

  • Property svn:keywords set to Id
File size: 12.1 KB
RevLine 
[1]1#------------------------------------------------------------------------------!
2# WARNING: don't write filenames with extension .f90 in this header!!!!
3#
[482]4# Current revisions:
5# ------------------
6#
7#
8# Former revisions:
[1]9# -----------------
[482]10# $Id: Makefile 482 2010-02-05 06:37:03Z raasch $
11#
12# 421 2010-01-25 15:50:10Z raasch
[421]13# comment line for simple install method added, which will be replaced
14# by an include command for preprocessor and compiler options when the simple
15# install process is used instead of mbuild/mrun,
[278]16# +set_particle_attributes, set_slicer_attributes_dvrp
[411]17# +subsidence
[138]18#
[482]19# 410 2009-12-04 17:05:40Z letzel
[410]20# +data_output_mask, init_masks, user_data_output_mask
21#
[226]22# 217 2008-12-09 18:00:48Z letzel
23# former file user_interface split into one file per subroutine
24# +init_coupling, message
25#
[206]26# 151 2008-03-07 13:42:18Z raasch
27# +plant_canopy_model, inflow_turbulence
28# +surface_coupler
29#
[102]30# 96 2007-06-04 08:07:41Z raasch
31# +eqn_state_seawater, init_ocean
32#
[95]33# 82 2007-04-16 15:40:52Z raasch
34# +local_flush
35#
[77]36# 58 2007-03-09 14:27:38Z raasch
[48]37# default suffixes removed from the suffix list to avoid calling of m2c in
38# case of .mod files
[58]39# +wall_fluxes, +particle_boundary_conds
[1]40#
[3]41# RCS Log replace by Id keyword, revision history cleaned up
42#
[1]43# Revision 1.13  2006/08/04 14:45:31  raasch
44# +data_output_ptseries
45#
46# Revision 1.1  2002/06/11 13:42:20  raasch
47# Initial revision
48#
49#
50# Description:
51# ------------
52# Makefile for the parallelized LES model (PALM) to be used by the
53# shellscript "mrun"
54#------------------------------------------------------------------------------!
55
56PROG =  palm
57
58RCS = advec_particles.f90 advec_s_bc.f90 advec_s_pw.f90 advec_s_up.f90 \
59        advec_s_ups.f90 advec_u_pw.f90 advec_u_up.f90 advec_u_ups.f90 \
60        advec_v_pw.f90 advec_v_up.f90 advec_v_ups.f90 advec_w_pw.f90 \
61        advec_w_up.f90 advec_w_ups.f90 asselin_filter.f90 average_3d_data.f90 \
62        boundary_conds.f90 buoyancy.f90 calc_liquid_water_content.f90 \
63        calc_precipitation.f90 calc_radiation.f90 calc_spectra.f90 \
64        check_for_restart.f90 check_open.f90 check_parameters.f90 \
65        close_file.f90 compute_vpt.f90 coriolis.f90 cpu_log.f90 \
66        cpu_statistics.f90 data_log.f90 data_output_dvrp.f90 \
[410]67        data_output_mask.f90 data_output_profiles.f90 data_output_ptseries.f90 \
[1]68        data_output_spectra.f90 data_output_tseries.f90 data_output_2d.f90 \
69        data_output_3d.f90 diffusion_e.f90 diffusion_s.f90 diffusion_u.f90 \
70        diffusion_v.f90 diffusion_w.f90 diffusivities.f90 disturb_field.f90 \
[410]71        disturb_heatflux.f90 eqn_state_seawater.f90 exchange_horiz.f90 \
72        exchange_horiz_2d.f90 \
[213]73        fft_xy.f90 flow_statistics.f90 global_min_max.f90 \
[226]74        header.f90 impact_of_latent_heat.f90 inflow_turbulence.f90 \
75        init_1d_model.f90 init_3d_model.f90 init_advec.f90 \
76        init_cloud_physics.f90 init_coupling.f90 init_dvrp.f90 init_grid.f90 \
[410]77        init_masks.f90 init_ocean.f90 init_particles.f90 init_pegrid.f90 \
[151]78        init_pt_anomaly.f90 init_rankine.f90 init_slope.f90 \
79        interaction_droplets_ptq.f90 local_flush.f90 local_getenv.f90 \
80        local_stop.f90 local_system.f90 local_tremain.f90 \
[226]81        local_tremain_ini.f90 message.f90 modules.f90 netcdf.f90 \
82        package_parin.f90 palm.f90 parin.f90 particle_boundary_conds.f90 \
[138]83        plant_canopy_model.f90 poisfft.f90 \
[58]84        poisfft_hybrid.f90 poismg.f90 prandtl_fluxes.f90 pres.f90 print_1d.f90 \
85        production_e.f90 prognostic_equations.f90 random_function.f90 \
86        random_gauss.f90 read_3d_binary.f90 read_var_list.f90 run_control.f90 \
[278]87        set_particle_attributes.f90 set_slicer_attributes_dvrp.f90 \
88        singleton.f90 sor.f90 spline_x.f90 \
[411]89        spline_y.f90 spline_z.f90 subsidence.f90 \
90        sum_up_3d_data.f90 surface_coupler.f90 \
[264]91        swap_timelevel.f90 temperton_fft.f90 time_integration.f90 \
92        time_to_string.f90 timestep.f90 timestep_scheme_steering.f90 \
93        transpose.f90 user_3d_data_averaging.f90 user_actions.f90 \
94        user_additional_routines.f90 user_advec_particles.f90 \
[217]95        user_check_data_output.f90 user_check_data_output_pr.f90 \
96        user_check_parameters.f90 user_data_output_2d.f90 \
[410]97        user_data_output_3d.f90 user_data_output_dvrp.f90 user_data_output_mask.f90 \
[211]98        user_define_netcdf_grid.f90 user_dvrp_coltab.f90 user_header.f90 \
99        user_init.f90 user_init_3d_model.f90 user_init_grid.f90 \
100        user_init_particles.f90 user_init_plant_canopy.f90 \
101        user_last_actions.f90 user_module.f90 user_parin.f90 \
102        user_particle_attributes.f90 user_read_restart_data.f90 \
103        user_spectra.f90 user_statistics.f90 wall_fluxes.f90 \
104        write_3d_binary.f90 write_compressed.f90 write_var_list.f90
[1]105
106OBJS =  advec_particles.o advec_s_bc.o advec_s_pw.o advec_s_up.o \
107        advec_s_ups.o advec_u_pw.o advec_u_up.o advec_u_ups.o \
108        advec_v_pw.o advec_v_up.o advec_v_ups.o advec_w_pw.o \
109        advec_w_up.o advec_w_ups.o asselin_filter.o average_3d_data.o \
110        boundary_conds.o buoyancy.o calc_liquid_water_content.o \
111        calc_precipitation.o calc_radiation.o calc_spectra.o \
112        check_for_restart.o check_open.o check_parameters.o close_file.o \
113        compute_vpt.o coriolis.o cpu_log.o cpu_statistics.o data_log.o \
[410]114        data_output_dvrp.o data_output_mask.o data_output_profiles.o \
115        data_output_ptseries.o \
[1]116        data_output_spectra.o data_output_tseries.o data_output_2d.o \
117        data_output_3d.o diffusion_e.o diffusion_s.o diffusion_u.o \
118        diffusion_v.o diffusion_w.o diffusivities.o disturb_field.o \
[95]119        disturb_heatflux.o eqn_state_seawater.o exchange_horiz.o exchange_horiz_2d.o fft_xy.o \
[226]120        flow_statistics.o global_min_max.o header.o impact_of_latent_heat.o \
[151]121        inflow_turbulence.o init_1d_model.o init_3d_model.o init_advec.o init_cloud_physics.o \
[410]122        init_coupling.o init_dvrp.o init_grid.o init_masks.o init_ocean.o init_particles.o init_pegrid.o \
[1]123        init_pt_anomaly.o init_rankine.o init_slope.o \
[82]124        interaction_droplets_ptq.o local_flush.o local_getenv.o local_stop.o \
[226]125        local_system.o local_tremain.o local_tremain_ini.o message.o modules.o \
126        netcdf.o package_parin.o palm.o parin.o particle_boundary_conds.o \
[138]127        plant_canopy_model.o poisfft.o \
[58]128        poisfft_hybrid.o poismg.o prandtl_fluxes.o pres.o print_1d.o \
129        production_e.o prognostic_equations.o random_function.o random_gauss.o \
[264]130        read_3d_binary.o read_var_list.o run_control.o \
[305]131        set_particle_attributes.o set_slicer_attributes_dvrp.o \
[278]132        singleton.o sor.o spline_x.o spline_y.o \
[411]133        spline_z.o subsidence.o sum_up_3d_data.o surface_coupler.o \
134        swap_timelevel.o \
[264]135        temperton_fft.o time_integration.o time_to_string.o \
[211]136        timestep.o timestep_scheme_steering.o transpose.o \
137        user_3d_data_averaging.o user_actions.o user_additional_routines.o \
[217]138        user_advec_particles.o user_check_data_output.o \
139        user_check_data_output_pr.o user_check_parameters.o \
[410]140        user_data_output_2d.o user_data_output_3d.o user_data_output_mask.o user_data_output_dvrp.o \
[211]141        user_define_netcdf_grid.o user_dvrp_coltab.o user_header.o \
142        user_init.o user_init_3d_model.o user_init_grid.o \
143        user_init_particles.o user_init_plant_canopy.o user_last_actions.o \
144        user_module.o user_parin.o user_particle_attributes.o \
145        user_read_restart_data.o user_spectra.o user_statistics.o \
[51]146        wall_fluxes.o write_3d_binary.o write_compressed.o write_var_list.o
[1]147
148CC = cc
149CFLAGS = -O
150
151F90 =
152COPT =
153F90FLAGS =
154LDFLAGS =
155
[421]156#to_be_replaced_by_include
[1]157
[48]158.SUFFIXES:
159.SUFFIXES: .o .f90
[1]160
[48]161
[1]162all: $(PROG)
163
164$(PROG): $(OBJS)
165        $(F90) -o $(PROG) $(OBJS) $(LDFLAGS)
166
167clean:
168        rm -f $(PROG) $(OBJS) *.mod *.i *.lst
169
170.f90.o:
171        $(F90) $(F90FLAGS) $(COPT) -c $<
172
173
174
175advec_particles.o: modules.o random_function.o
176advec_s_bc.o: modules.o
177advec_s_pw.o: modules.o
178advec_s_up.o: modules.o
179advec_s_ups.o: modules.o
180advec_u_pw.o: modules.o
181advec_u_up.o: modules.o
182advec_u_ups.o: modules.o
183advec_v_pw.o: modules.o
184advec_v_up.o: modules.o
185advec_v_ups.o: modules.o
186advec_w_pw.o: modules.o
187advec_w_up.o: modules.o
188advec_w_ups.o: modules.o
189asselin_filter.o: modules.o
190average_3d_data.o: modules.o
191boundary_conds.o: modules.o
192buoyancy.o: modules.o
193calc_liquid_water_content.o: modules.o
194calc_precipitation.o: modules.o
195calc_radiation.o: modules.o
196calc_spectra.o: modules.o fft_xy.o
197check_for_restart.o: modules.o
198check_open.o: modules.o
[411]199check_parameters.o: modules.o subsidence.o
[1]200close_file.o: modules.o
201compute_vpt.o: modules.o
202coriolis.o: modules.o
203cpu_log.o: modules.o
204cpu_statistics.o: modules.o
205data_log.o: modules.o
206data_output_dvrp.o: modules.o
[410]207data_output_mask.o: modules.o
[1]208data_output_profiles.o: modules.o
209data_output_ptseries.o: modules.o
210data_output_spectra.o: modules.o
211data_output_tseries.o: modules.o
212data_output_2d.o: modules.o
213data_output_3d.o: modules.o
214diffusion_e.o: modules.o
215diffusion_s.o: modules.o
[56]216diffusion_u.o: modules.o wall_fluxes.o
217diffusion_v.o: modules.o wall_fluxes.o
218diffusion_w.o: modules.o wall_fluxes.o
[1]219diffusivities.o: modules.o
220disturb_field.o: modules.o random_function.o
221disturb_heatflux.o: modules.o
[95]222eqn_state_seawater.o: modules.o
[1]223exchange_horiz.o: modules.o
224exchange_horiz_2d.o: modules.o
225fft_xy.o: modules.o singleton.o temperton_fft.o
226flow_statistics.o: modules.o
227global_min_max.o: modules.o
228header.o: modules.o
229impact_of_latent_heat.o: modules.o
[151]230inflow_turbulence.o: modules.o
[1]231init_1d_model.o: modules.o
232init_3d_model.o: modules.o random_function.o
233init_advec.o: modules.o
234init_cloud_physics.o: modules.o
[206]235init_coupling.o: modules.o
[1]236init_dvrp.o: modules.o
237init_grid.o: modules.o
[410]238init_masks.o: modules.o
[95]239init_ocean.o: modules.o eqn_state_seawater.o
[1]240init_particles.o: modules.o random_function.o
241init_pegrid.o: modules.o fft_xy.o poisfft.o poisfft_hybrid.o
242init_pt_anomaly.o: modules.o
243init_rankine.o: modules.o
244init_slope.o: modules.o
245interaction_droplets_ptq.o: modules.o
246local_getenv.o: modules.o
247local_stop.o: modules.o
248local_tremain.o: modules.o
249local_tremain_ini.o: modules.o
[226]250message.o: modules.o
[1]251modules.o: modules.f90
252netcdf.o: modules.o
253package_parin.o: modules.o
254palm.o: modules.o
255parin.o: modules.o
[58]256particle_boundary_conds.o: modules.o
[138]257plant_canopy_model.o: modules.o
[1]258poisfft.o: modules.o fft_xy.o
259poisfft_hybrid.o: modules.o fft_xy.o
260poismg.o: modules.o
261prandtl_fluxes.o: modules.o
262pres.o: modules.o poisfft.o poisfft_hybrid.o
263print_1d.o: modules.o
[56]264production_e.o: modules.o wall_fluxes.o
[1]265prognostic_equations.o: modules.o advec_s_pw.o advec_s_up.o advec_u_pw.o \
266        advec_u_up.o advec_v_pw.o advec_v_up.o advec_w_pw.o advec_w_up.o  \
267        buoyancy.o calc_precipitation.o calc_radiation.o coriolis.o \
268        diffusion_e.o diffusion_s.o diffusion_u.o diffusion_v.o diffusion_w.o \
[138]269        eqn_state_seawater.o impact_of_latent_heat.o \
270        plant_canopy_model.o production_e.o \
[411]271        subsidence.o user_actions.o
[1]272random_gauss.o: random_function.o
273read_3d_binary.o: modules.o random_function.o
274read_var_list.o: modules.o
275run_control.o: modules.o
[264]276set_particle_attributes.o: modules.o
[278]277set_slicer_attributes_dvrp.o: modules.o
[1]278singleton.o: singleton.f90
279sor.o: modules.o
280spline_x.o: modules.o
281spline_y.o: modules.o
282spline_z.o: modules.o
[411]283subsidence.o: modules.o
[1]284sum_up_3d_data.o: modules.o
[102]285surface_coupler.o: modules.o
[1]286swap_timelevel.o: modules.o
287temperton_fft.o: modules.o
[211]288time_integration.o: modules.o prognostic_equations.o user_actions.o \
[1]289        interaction_droplets_ptq.o
290timestep.o: modules.o
291timestep_scheme_steering.o: modules.o
292transpose.o: modules.o
[211]293user_3d_data_averaging.o: modules.o user_module.o
294user_actions.o: modules.o user_module.o
295user_additional_routines.o: modules.o user_module.o
296user_advec_particles.o: modules.o user_module.o
297user_check_data_output.o: modules.o user_module.o
298user_check_data_output_pr.o: modules.o user_module.o
[217]299user_check_parameters.o: modules.o user_module.o
[211]300user_data_output_2d.o: modules.o user_module.o
301user_data_output_3d.o: modules.o user_module.o
[410]302user_data_output_mask.o: modules.o user_module.o
[211]303user_data_output_dvrp.o: modules.o user_module.o
304user_define_netcdf_grid.o: modules.o user_module.o
305user_dvrp_coltab.o: modules.o user_module.o
306user_header.o: modules.o user_module.o
307user_init.o: modules.o user_module.o
308user_init_3d_model.o: modules.o user_module.o
309user_init_grid.o: modules.o user_module.o
310user_init_particles.o: modules.o user_module.o
311user_init_plant_canopy.o: modules.o user_module.o
312user_last_actions.o: modules.o user_module.o
313user_module.o: user_module.f90
314user_parin.o: modules.o user_module.o
315user_particle_attributes.o: modules.o user_module.o
316user_read_restart_data.o: modules.o user_module.o
317user_spectra.o: modules.o user_module.o
318user_statistics.o: modules.o user_module.o
[51]319wall_fluxes.o: modules.o
[1]320write_3d_binary.o: modules.o random_function.o
321write_compressed.o: modules.o
322write_var_list.o: modules.o
Note: See TracBrowser for help on using the repository browser.