Changeset 4429 for palm/trunk/SOURCE/poismg_noopt_mod.f90
- Timestamp:
- Feb 27, 2020 3:24:30 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/poismg_noopt_mod.f90
r4414 r4429 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: cpp-directives added for serial mode 28 ! 29 ! 4414 2020-02-19 20:16:04Z suehring 27 30 ! Remove double-declared use only construct. 28 31 ! … … 1172 1175 !> Gather subdomain data from all PEs. 1173 1176 !------------------------------------------------------------------------------! 1177 #if defined( __parallel ) 1174 1178 SUBROUTINE mg_gather_noopt( f2, f2_sub ) 1175 1179 … … 1207 1211 1208 1212 1209 #if defined( __parallel )1210 1213 CALL cpu_log( log_point_s(34), 'mg_gather_noopt', 'start' ) 1211 1214 … … 1242 1245 1243 1246 CALL cpu_log( log_point_s(34), 'mg_gather_noopt', 'stop' ) 1244 #endif1245 1247 1246 1248 END SUBROUTINE mg_gather_noopt 1247 1249 #endif 1248 1250 1249 1251 … … 1254 1256 !> non-blocking communication 1255 1257 !------------------------------------------------------------------------------! 1258 #if defined( __parallel ) 1256 1259 SUBROUTINE mg_scatter_noopt( p2, p2_sub ) 1257 1260 … … 1267 1270 1268 1271 IMPLICIT NONE 1269 1270 INTEGER(iwp) :: nwords !<1271 1272 1272 1273 REAL(wp), DIMENSION(nzb:nzt_mg(grid_level-1)+1, & … … 1278 1279 mg_loc_ind(1,myid)-1:mg_loc_ind(2,myid)+1) :: p2_sub !< 1279 1280 1280 ! 1281 !-- Find out the number of array elements of the subdomain array 1282 nwords = SIZE( p2_sub ) 1283 1284 #if defined( __parallel ) 1281 1285 1282 CALL cpu_log( log_point_s(35), 'mg_scatter_noopt', 'start' ) 1286 1283 … … 1289 1286 1290 1287 CALL cpu_log( log_point_s(35), 'mg_scatter_noopt', 'stop' ) 1291 #endif1292 1288 1293 1289 END SUBROUTINE mg_scatter_noopt 1290 #endif 1294 1291 1295 1292 … … 1352 1349 1353 1350 REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: f2_sub !< 1351 1352 #if defined( __parallel ) 1354 1353 REAL(wp), DIMENSION(:,:,:), ALLOCATABLE :: p2_sub !< 1354 #endif 1355 1355 1356 1356 ! … … 1437 1437 ! 1438 1438 !-- Gather all arrays from the subdomains on PE0 1439 #if defined( __parallel ) 1439 1440 CALL mg_gather_noopt( f2, f2_sub ) 1441 #endif 1440 1442 1441 1443 !
Note: See TracChangeset
for help on using the changeset viewer.