Changeset 4783 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Nov 13, 2020 1:58:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4680 r4783 24 24 ! ----------------- 25 25 ! $Id$ 26 ! bugfix for reading restart data with MPI-I/O (does not work with blockwise I/O) 27 ! 28 ! 4680 2020-09-16 10:20:34Z gronemeier 26 29 ! Add option to fix date or time of the simulation 27 30 ! … … 1086 1089 IF ( TRIM( initializing_actions ) == 'cyclic_fill' ) THEN 1087 1090 1091 ! 1092 !-- Blockwise I/O does not work together with MPI-I/O 1093 IF ( restart_data_format_input(1:3) == 'mpi' ) THEN 1094 CALL rrd_read_parts_of_global 1095 ELSE 1096 DO i = 0, io_blocks-1 1097 IF ( i == io_group ) THEN 1098 CALL rrd_read_parts_of_global 1099 ENDIF 1100 #if defined( __parallel ) 1101 CALL MPI_BARRIER( comm2d, ierr ) 1102 #endif 1103 ENDDO 1104 ENDIF 1105 1106 ENDIF 1107 1108 ! 1109 !-- Read processor specific binary data from restart file. 1110 !-- Blockwise I/O does not work together with MPI-I/O 1111 IF ( restart_data_format_input(1:3) == 'mpi' ) THEN 1112 CALL rrd_local 1113 ELSE 1088 1114 DO i = 0, io_blocks-1 1089 1115 IF ( i == io_group ) THEN 1090 CALL rrd_ read_parts_of_global1116 CALL rrd_local 1091 1117 ENDIF 1092 1118 #if defined( __parallel ) … … 1094 1120 #endif 1095 1121 ENDDO 1096 1097 ENDIF 1098 1099 ! 1100 !-- Read processor specific binary data from restart file 1101 DO i = 0, io_blocks-1 1102 IF ( i == io_group ) THEN 1103 CALL rrd_local 1104 ENDIF 1105 #if defined( __parallel ) 1106 CALL MPI_BARRIER( comm2d, ierr ) 1107 #endif 1108 ENDDO 1122 ENDIF 1109 1123 1110 1124
Note: See TracChangeset
for help on using the changeset viewer.