[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 | # |
---|
[1310] | 15 | # Copyright 1997-2014 Leibniz Universitaet Hannover |
---|
[1036] | 16 | #--------------------------------------------------------------------------------# |
---|
| 17 | # |
---|
[807] | 18 | # WARNING: don't write filenames with extension .f90 in this header!!!! |
---|
| 19 | # |
---|
| 20 | # Current revisions: |
---|
| 21 | # ------------------ |
---|
[1217] | 22 | # |
---|
[807] | 23 | # |
---|
| 24 | # Former revisions: |
---|
| 25 | # ----------------- |
---|
| 26 | # $Id: Makefile_check 1310 2014-03-14 08:01:56Z suehring $ |
---|
| 27 | # |
---|
[1217] | 28 | # 1216 2013-08-26 09:31:42Z raasch |
---|
| 29 | # +tridia_solver |
---|
| 30 | # |
---|
[1213] | 31 | # 1212 2013-08-15 08:46:27Z raasch |
---|
| 32 | # object file list replaced by one line statement, |
---|
| 33 | # -poisfft_hybrid |
---|
| 34 | # |
---|
[1112] | 35 | # 1111 2013-03-08 23:54:10Z raasch |
---|
| 36 | # dependencies removed from init_pegrid |
---|
| 37 | # |
---|
[1107] | 38 | # 1106 2013-03-04 05:31:38Z raasch |
---|
| 39 | # +cuda_fft_interfaces |
---|
| 40 | # |
---|
[1037] | 41 | # 1036 2012-10-22 13:43:42Z raasch |
---|
| 42 | # code put under GPL (PALM 3.9) |
---|
| 43 | # |
---|
[871] | 44 | # 870 2012-03-29 14:45:38Z franke |
---|
| 45 | # user_advec_particles renamed user_lpm_advec, |
---|
| 46 | # user_init_particles renamed user_lpm_init, |
---|
| 47 | # user_particle_attributes renamed user_lpm_set_attributes |
---|
| 48 | # |
---|
[846] | 49 | # 845 2012-03-07 10:23:05Z maronga |
---|
| 50 | # Added init_cloud_physics |
---|
| 51 | # |
---|
[842] | 52 | # 841 2012-02-28 12:29:49Z maronga |
---|
| 53 | # Added: exchange_horiz, exchange_horiz_2d, random_function |
---|
| 54 | # |
---|
[819] | 55 | # 818 2012-02-08 16:11:23Z maronga |
---|
| 56 | # Added all user routines. |
---|
| 57 | # |
---|
[808] | 58 | # 807 2012-01-25 11:53:51Z maronga |
---|
| 59 | # Initial revision |
---|
| 60 | # |
---|
[807] | 61 | # Description: |
---|
| 62 | # ------------ |
---|
| 63 | # Makefile for the parameter file check program check_namelist_files to be used |
---|
| 64 | # by the shell script "mrun" |
---|
| 65 | #------------------------------------------------------------------------------! |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | PROG = check_namelist_files.x |
---|
| 69 | |
---|
[1212] | 70 | SOURCES = check_open.f90 check_namelist_files.f90 check_parameters.f90 \ |
---|
[1106] | 71 | close_file.f90 cpu_log.f90 cuda_fft_interfaces.f90 exchange_horiz.f90 \ |
---|
| 72 | exchange_horiz_2d.f90 fft_xy.f90 init_grid.f90 init_masks.f90 \ |
---|
| 73 | init_cloud_physics.f90 init_pegrid.f90 local_flush.f90 local_stop.f90 \ |
---|
| 74 | local_system.f90 message.f90 modules.f90 package_parin.f90 parin.f90 \ |
---|
[1212] | 75 | poisfft.f90 random_function.f90 singleton.f90 \ |
---|
[1216] | 76 | subsidence.f90 temperton_fft.f90 tridia_solver.f90 \ |
---|
[818] | 77 | user_3d_data_averaging.f90 user_actions.f90 \ |
---|
[870] | 78 | user_additional_routines.f90 user_check_data_output.f90 \ |
---|
| 79 | user_check_data_output_pr.f90 user_check_parameters.f90 \ |
---|
| 80 | user_data_output_2d.f90 user_data_output_3d.f90 \ |
---|
| 81 | user_data_output_dvrp.f90 user_data_output_mask.f90 \ |
---|
[818] | 82 | user_define_netcdf_grid.f90 user_dvrp_coltab.f90 user_header.f90 \ |
---|
| 83 | user_init.f90 user_init_3d_model.f90 user_init_grid.f90 \ |
---|
[870] | 84 | user_init_plant_canopy.f90 user_last_actions.f90 user_lpm_advec.f90 \ |
---|
| 85 | user_lpm_init.f90 user_lpm_set_attributes.f90 user_module.f90 \ |
---|
| 86 | user_parin.f90 user_read_restart_data.f90 user_spectra.f90 \ |
---|
[1216] | 87 | user_statistics.f90 |
---|
[807] | 88 | |
---|
[1212] | 89 | OBJS=$(SOURCES:.f90=.o) |
---|
[818] | 90 | |
---|
[807] | 91 | CC = cc |
---|
| 92 | CFLAGS = -O |
---|
| 93 | |
---|
| 94 | F90 = |
---|
| 95 | COPT = |
---|
| 96 | F90FLAGS = |
---|
| 97 | LDFLAGS = |
---|
| 98 | |
---|
| 99 | #to_be_replaced_by_include |
---|
| 100 | |
---|
| 101 | .SUFFIXES: |
---|
| 102 | .SUFFIXES: .o .f90 |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | all: $(PROG) |
---|
| 106 | |
---|
| 107 | $(PROG): $(OBJS) |
---|
| 108 | $(F90) -o $(PROG) $(OBJS) $(LDFLAGS) |
---|
| 109 | |
---|
| 110 | clean: |
---|
| 111 | rm -f $(PROG) $(OBJS) *.mod *.i *.lst |
---|
| 112 | |
---|
| 113 | .f90.o: |
---|
| 114 | $(F90) $(F90FLAGS) $(COPT) -c $< |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | check_open.o: modules.o |
---|
| 118 | check_namelist_files.o: modules.o |
---|
| 119 | check_parameters.o: modules.o subsidence.o |
---|
| 120 | close_file.o: modules.o |
---|
| 121 | cpu_log.o: modules.o |
---|
[1106] | 122 | cuda_fft_interfaces.o: cuda_fft_interfaces.f90 |
---|
[841] | 123 | exchange_horiz.o: modules.o |
---|
| 124 | exchange_horiz_2d.o: modules.o |
---|
[1106] | 125 | fft_xy.o: cuda_fft_interfaces.o modules.o singleton.o temperton_fft.o |
---|
[845] | 126 | init_cloud_physics.o: modules.o |
---|
[807] | 127 | init_grid.o: modules.o |
---|
| 128 | init_masks.o: modules.o |
---|
[1111] | 129 | init_pegrid.o: modules.o |
---|
[807] | 130 | local_stop.o: modules.o |
---|
| 131 | message.o: modules.o |
---|
| 132 | modules.o: modules.f90 |
---|
| 133 | package_parin.o: modules.o |
---|
| 134 | parin.o: modules.o |
---|
[1216] | 135 | poisfft.o: modules.o fft_xy.o tridia_solver.o |
---|
[841] | 136 | random_function.o: modules.o |
---|
[807] | 137 | singleton.o: singleton.f90 |
---|
| 138 | subsidence.o: modules.o |
---|
| 139 | temperton_fft.o: modules.o |
---|
[1216] | 140 | tridia_solver.o: modules.o |
---|
[818] | 141 | user_3d_data_averaging.o: modules.o user_module.o |
---|
| 142 | user_actions.o: modules.o user_module.o |
---|
| 143 | user_additional_routines.o: modules.o user_module.o |
---|
| 144 | user_check_data_output.o: modules.o user_module.o |
---|
| 145 | user_check_data_output_pr.o: modules.o user_module.o |
---|
| 146 | user_check_parameters.o: modules.o user_module.o |
---|
| 147 | user_data_output_2d.o: modules.o user_module.o |
---|
| 148 | user_data_output_3d.o: modules.o user_module.o |
---|
| 149 | user_data_output_mask.o: modules.o user_module.o |
---|
| 150 | user_data_output_dvrp.o: modules.o user_module.o |
---|
| 151 | user_define_netcdf_grid.o: modules.o user_module.o |
---|
| 152 | user_dvrp_coltab.o: modules.o user_module.o |
---|
| 153 | user_header.o: modules.o user_module.o |
---|
[807] | 154 | user_init.o: modules.o user_module.o |
---|
| 155 | user_init_3d_model.o: modules.o user_module.o |
---|
| 156 | user_init_grid.o: modules.o user_module.o |
---|
| 157 | user_init_plant_canopy.o: modules.o user_module.o |
---|
[818] | 158 | user_last_actions.o: modules.o user_module.o |
---|
[870] | 159 | user_lpm_advec.o: modules.o user_module.o |
---|
| 160 | user_lpm_init.o: modules.o user_module.o |
---|
| 161 | user_lpm_set_attributes.o: modules.o user_module.o |
---|
[807] | 162 | user_module.o: user_module.f90 |
---|
| 163 | user_parin.o: modules.o user_module.o |
---|
[818] | 164 | user_read_restart_data.o: modules.o user_module.o |
---|
| 165 | user_spectra.o: modules.o user_module.o |
---|
| 166 | user_statistics.o: modules.o user_module.o |
---|