Changeset 4498 for palm/trunk/SOURCE/restart_data_mpi_io_mod.f90
- Timestamp:
- Apr 15, 2020 2:26:31 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/restart_data_mpi_io_mod.f90
r4497 r4498 24 24 ! ----------------- 25 25 ! $Id$ 26 ! bugfix for creation of filetypes, argument removed from rd_mpi_io_open 27 ! 28 ! 4497 2020-04-15 10:20:51Z raasch 26 29 ! last bugfix deactivated because of compile problems 27 30 ! … … 244 247 !> Open restart file for read or write with MPI-IO 245 248 !--------------------------------------------------------------------------------------------------! 246 SUBROUTINE rd_mpi_io_open( action, file_name , only_global)249 SUBROUTINE rd_mpi_io_open( action, file_name ) 247 250 248 251 IMPLICIT NONE … … 251 254 CHARACTER(LEN=*), INTENT(IN) :: file_name !< 252 255 253 LOGICAL, INTENT(IN), OPTIONAL :: only_global !<254 LOGICAL :: set_filetype !<255 256 256 INTEGER(iwp) :: i !< 257 257 INTEGER(iwp) :: gh_size !< … … 276 276 !-- Create subarrays and file types 277 277 filetypes_created = .FALSE. 278 set_filetype = .TRUE.279 280 IF ( PRESENT( only_global ) ) THEN281 IF ( only_global ) set_filetype = .FALSE.282 ENDIF283 278 284 279 ! 285 280 !-- In case of read it is not known yet if data include total domain. Filetypes will be created 286 281 !-- further below. 287 IF ( set_filetype .AND.wr_flag) THEN282 IF ( wr_flag) THEN 288 283 CALL rs_mpi_io_create_filetypes 289 284 filetypes_created = .TRUE. … … 368 363 369 364 ! 370 !-- File types deoend on if boundaries of the total domain is included in data 371 IF ( set_filetype ) THEN 372 CALL rs_mpi_io_create_filetypes 373 filetypes_created = .TRUE. 374 ENDIF 365 !-- File types depend on if boundaries of the total domain is included in data. This has been 366 !-- checked with the previous statement. 367 CALL rs_mpi_io_create_filetypes 368 filetypes_created = .TRUE. 375 369 376 370 #if defined( __parallel )
Note: See TracChangeset
for help on using the changeset viewer.