Changeset 4444 for palm/trunk/SOURCE/header.f90
- Timestamp:
- Mar 5, 2020 3:59:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/header.f90
r4360 r4444 25 25 ! ----------------- 26 26 ! $Id$ 27 ! bugfix: cpp-directives for serial mode added 28 ! 29 ! 4360 2020-01-07 11:25:50Z suehring 27 30 ! Bugfix, character length too short, caused crash on NEC. 28 31 ! … … 123 126 USE pmc_handle_communicator, & 124 127 ONLY: pmc_get_model_info 125 #endif126 128 127 129 USE pmc_interface, & 128 130 ONLY: nested_run, nesting_datatransfer_mode, nesting_mode 131 #endif 129 132 130 133 USE surface_mod, & … … 148 151 CHARACTER (LEN=26) :: ver_rev !< string for run identification 149 152 153 #if defined( __parallel ) 150 154 CHARACTER (LEN=32) :: cpl_name !< name of child domain (nesting mode only) 155 #endif 151 156 152 157 CHARACTER (LEN=40) :: output_format !< netcdf format … … 185 190 INTEGER(iwp) :: ch !< canyon depth in generic street-canyon setup 186 191 INTEGER(iwp) :: count !< number of masked output locations 187 INTEGER(iwp) :: cpl_parent_id !< parent ID for the respective child model188 192 INTEGER(iwp) :: cwx !< canyon width along x in generic street-canyon setup 189 193 INTEGER(iwp) :: cwy !< canyon width along y in generic street-canyon setup … … 198 202 INTEGER(iwp) :: ll !< substring length 199 203 INTEGER(iwp) :: mid !< masked output running index 204 #if defined( __parallel ) 205 INTEGER(iwp) :: cpl_parent_id !< parent ID for the respective child model 200 206 INTEGER(iwp) :: my_cpl_id !< run id in a nested model setup 201 207 INTEGER(iwp) :: n !< running index over number of couplers in a nested model setup 202 208 INTEGER(iwp) :: ncpl !< number of coupler in a nested model setup 203 209 INTEGER(iwp) :: npe_total !< number of total PEs in a coupler (parent + child) 210 #endif 204 211 205 212 206 213 REAL(wp) :: cpuseconds_per_simulated_second !< CPU time (in s) per simulated second 214 #if defined( __parallel ) 207 215 REAL(wp) :: lower_left_coord_x !< x-coordinate of nest domain 208 216 REAL(wp) :: lower_left_coord_y !< y-coordinate of nest domain 217 #endif 209 218 210 219 ! … … 246 255 CALL message( 'header', 'PA0191', 0, 0, 0, 6, 0 ) 247 256 ENDIF 257 #if defined( __parallel ) 248 258 IF ( nested_run ) run_classification = 'nested ' // run_classification(1:63) 259 #endif 249 260 IF ( ocean_mode ) THEN 250 261 run_classification = 'ocean - ' // run_classification(1:61) … … 300 311 #endif 301 312 313 #if defined( __parallel ) 302 314 ! 303 315 !-- Nesting informations 304 316 IF ( nested_run ) THEN 305 317 306 #if defined( __parallel )307 318 WRITE ( io, 600 ) TRIM( nesting_mode ), & 308 319 TRIM( nesting_datatransfer_mode ) … … 324 335 TRIM( cpl_name ) 325 336 ENDDO 337 338 ENDIF 326 339 #endif 327 340 328 ENDIF329 341 WRITE ( io, 99 ) 330 342 … … 1919 1931 ' Time: ',A8,6X,'Run-No.: ',I2.2/ & 1920 1932 ' Run on host: ',A10,6X,'En-No.: ',I2.2) 1933 #if defined( __parallel ) 1921 1934 600 FORMAT (/' Nesting informations:'/ & 1922 1935 ' --------------------'/ & … … 1926 1939 ' (*=me) id of PEs x (m) y (m)' ) 1927 1940 601 FORMAT (2X,A1,1X,I2.2,6X,I2.2,5X,I5,5X,F8.2,2X,F8.2,5X,A) 1941 #endif 1928 1942 1929 1943 END SUBROUTINE header
Note: See TracChangeset
for help on using the changeset viewer.