Skip to content

Commit

Permalink
Fix missing inquires
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed May 6, 2023
1 parent 5ad8714 commit 730fd26
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [sdr_v2.1.2.6] - 2023-05-06

### Fixed

- Fixed missing `inquire()` checks

## [sdr_v2.1.2.5] - 2023-05-04

### Changed
Expand Down
1 change: 1 addition & 0 deletions ESMF/GOCART2G_GridComp/NI2G_GridComp/NI2G_GridCompMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ subroutine Initialize (GC, IMPORT, EXPORT, CLOCK, RC)
! Load resource file and get number of bins
! -------------------------------------------
cfg = ESMF_ConfigCreate (__RC__)
inquire(file='NI2G_instance_'//trim(COMP_NAME)//'.rc', exist=file_exists)
if (file_exists) then
call ESMF_ConfigLoadFile (cfg, 'NI2G_instance_'//trim(COMP_NAME)//'.rc', __RC__)
else
Expand Down
1 change: 1 addition & 0 deletions ESMF/GOCART2G_GridComp/SS2G_GridComp/SS2G_GridCompMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ subroutine Initialize (GC, IMPORT, EXPORT, CLOCK, RC)
! Load resource file and get number of bins
! -------------------------------------------
cfg = ESMF_ConfigCreate (__RC__)
inquire(file='SS2G_instance_'//trim(COMP_NAME)//'.rc', exist=file_exists)
if (file_exists) then
call ESMF_ConfigLoadFile (cfg, 'SS2G_instance_'//trim(COMP_NAME)//'.rc', __RC__)
else
Expand Down

0 comments on commit 730fd26

Please sign in to comment.