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