source: palm/trunk/SOURCE/Makefile_check @ 1111

Last change on this file since 1111 was 1111, checked in by raasch, 12 years ago

New:
---

GPU porting of pres, swap_timelevel. Adjustments of openACC directives.
Further porting of poisfft, which now runs completely on GPU without any
host/device data transfer for serial an parallel runs (but parallel runs
require data transfer before and after the MPI transpositions).
GPU-porting of tridiagonal solver:
tridiagonal routines split into extermal subroutines (instead using CONTAINS),
no distinction between parallel/non-parallel in poisfft and tridia any more,
tridia routines moved to end of file because of probable bug in PGI compiler
(otherwise "invalid device function" is indicated during runtime).
(cuda_fft_interfaces, fft_xy, flow_statistics, init_3d_model, palm, poisfft, pres, prognostic_equations, swap_timelevel, time_integration, transpose)
output of accelerator board information. (header)

optimization of tridia routines: constant elements and coefficients of tri are
stored in seperate arrays ddzuw and tric, last dimension of tri reduced from 5 to 2,
(init_grid, init_3d_model, modules, palm, poisfft)

poisfft_init is now called internally from poisfft,
(Makefile, Makefile_check, init_pegrid, poisfft, poisfft_hybrid)

CPU-time per grid point and timestep is output to CPU_MEASURES file
(cpu_statistics, modules, time_integration)

Changed:


resorting from/to array work changed, work now has 4 dimensions instead of 1 (transpose)
array diss allocated only if required (init_3d_model)

pressure boundary condition "Neumann+inhomo" removed from the code
(check_parameters, header, poisfft, poisfft_hybrid, pres)

Errors:


bugfix: dependency added for cuda_fft_interfaces (Makefile)
bugfix: CUDA fft plans adjusted for domain decomposition (before they always
used total domain) (fft_xy)

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