Skip to content

Commit

Permalink
Merge pull request #2443 from GEOS-ESM/feature/tclune/port-to-gfortra…
Browse files Browse the repository at this point in the history
…n-13
  • Loading branch information
mathomp4 authored Nov 13, 2023
2 parents 62dacd1 + 89ac2f6 commit 9bbe69f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- [#2433] Implemented workarounds for gfortran-13

### Removed

### Deprecated
Expand Down
2 changes: 1 addition & 1 deletion base/MAPL_LatLonToLatLonRegridder.F90
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ subroutine compute_binning_weights(Weight,Xin,Xout,HasPoles,rc)
dx = Xout(j_out+1)-Xin(j1)
ff = ff + dx
b(j1) = dx
b = b/ff
b(:) = b(:)/ff
end if

end associate
Expand Down
16 changes: 8 additions & 8 deletions profiler/tests/test_MeterNodeIterator.pf
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ contains

class (AbstractMeterNodeIterator), allocatable :: iter_1
class (AbstractMeterNodeIterator), allocatable :: iter_2

node = MeterNode('all', AdvancedMeter(MpiTimerGauge()))

iter_1 = node%begin()
iter_2 = node%begin()
allocate(iter_1, source=node%begin())
allocate(iter_2, source=node%begin())

@assertTrue(iter_1 == iter_2)
@assertFalse(iter_1 /= iter_2)
@assertTrue(iter_1 /= node%end())
Expand Down Expand Up @@ -46,8 +46,8 @@ contains
class (AbstractMeterNodeIterator), allocatable :: iter_2

node = MeterNode('all', AdvancedMeter(MpiTimerGauge()))
iter_1 = node%begin()
iter_2 = node%begin()
allocate(iter_1, source=node%begin())
allocate(iter_2, source=node%begin())

call node%add_child('a', AdvancedMeter(MpiTimerGauge()))

Expand All @@ -73,7 +73,7 @@ contains
node = MeterNode('all', AdvancedMeter(MpiTimerGauge()))

count = 0
iter = node%begin()
allocate(iter, source=node%begin())
do while (iter /= node%end())
count = count + 1
call iter%next()
Expand All @@ -98,7 +98,7 @@ contains
call node%add_child('c', AdvancedMeter(MpiTimerGauge()))

count = 0
iter = node%begin()
allocate(iter, source=node%begin())
do while (iter /= node%end())
count = count + 1
call iter%next()
Expand Down Expand Up @@ -162,7 +162,7 @@ contains


count = 0
iter = node%begin()
allocate(iter, source=node%begin())
do while (iter /= node%end())
count = count + 1
t => iter%get_meter()
Expand Down

0 comments on commit 9bbe69f

Please sign in to comment.