Changeset 2279
- Timestamp:
- Jun 12, 2017 3:23:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_handle_communicator_mod.f90
r2271 r2279 21 21 ! Current revisions: 22 22 ! ------------------ 23 ! 23 ! Bugfix, set filepointer to the beginning of the file after namelist read, 24 ! in order to assure that further namelists are also found. 24 25 ! 25 26 ! Former revisions: … … 125 126 126 127 INTEGER :: m_world_comm !< global nesting communicator 127 INTEGER :: m_my_cpl_id !< coupler id of this model 128 INTEGER :: m_my_cpl_id !< coupler id of this modelfortran return 128 129 INTEGER :: m_parent_id !< coupler id of parent of this model 129 130 INTEGER :: m_ncpl !< number of couplers given in nestpar namelist … … 479 480 CALL check_open( 11 ) 480 481 READ ( 11, nestpar, IOSTAT=istat ) 482 ! 483 !-- Set filepointer to the beginning of the file. Otherwise PE0 will later 484 !-- be unable to read the inipar-NAMELIST 485 REWIND ( 11 ) 481 486 482 487 IF ( istat < 0 ) THEN … … 486 491 pmc_status = pmc_no_namelist_found 487 492 488 !489 !-- Set filepointer to the beginning of the file. Otherwise PE0 will later490 !-- be unable to read the inipar-NAMELIST491 REWIND ( 11 )492 493 RETURN 493 494
Note: See TracChangeset
for help on using the changeset viewer.