Skip to content

Commit

Permalink
Merge pull request #53 from GEOS-ESM/hotfix/extact_replay
Browse files Browse the repository at this point in the history
Fix exact replay
  • Loading branch information
bena-nasa authored Sep 24, 2019
2 parents 5e74149 + 118c18d commit e32f2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MAPL_Base/MAPL_Generic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -5048,11 +5048,11 @@ subroutine MAPL_ESMFStateReadFromFile(STATE,CLOCK,FILENAME,MPL,HDR,RC)
end if

if (filetype == 'binary' .or. filetype == 'BINARY') then
UNIT = GETFILE(FNAME, form="unformatted", rc=status)
UNIT = GETFILE(FNAME, form="unformatted", all_pes=.true., rc=status)
VERIFY_(STATUS)

elseif(filetype=="formatted".or.filetype=="FORMATTED") then
UNIT = GETFILE(FNAME, form="formatted", rc=status)
UNIT = GETFILE(FNAME, form="formatted", all_pes=.true., rc=status)
VERIFY_(STATUS)

elseif(filetype=='pbinary') then
Expand Down

0 comments on commit e32f2e7

Please sign in to comment.