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