Skip to content

Commit 3d8f72f

Browse files
authored
Merge branch 'ecmwf:develop' into feature/spherical-mean-value-polygon
2 parents 70ce3ff + 358bfaf commit 3d8f72f

4 files changed

Lines changed: 22 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ jobs:
238238
- name: Install Eigen
239239
if: "!contains( matrix.compiler, 'nvhpc' )"
240240
run: |
241-
brew install eigen
241+
brew install eigen@3
242+
echo "Eigen3_ROOT=$(brew --prefix eigen@3)" >> $GITHUB_ENV
242243
243244
- name: Save cached dependencies
244245
# There seems to be a problem with cached NVHPC dependencies, leading to SIGILL perhaps due to slightly different architectures

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
77

88
## [Unreleased]
99

10+
## [0.44.1] - 2025-11-07
11+
12+
### Fixed
13+
- Fix loop bounds for gcc+OpenMP compiler by @fmahebert in https://github.com/ecmwf/atlas/pull/324
14+
- Fix compilation of atlas_fctest_fvm_nabla with NAG compiler (#326) by @wdeconinck in https://github.com/ecmwf/atlas/pull/330
15+
- Set Eigen version to eigen@3 in CI to prevent 5.0.0 update
16+
1017
## [0.44.0] - 2025-10-06
1118

1219
### Added
@@ -688,6 +695,7 @@ Fix StructuredInterpolation2D with retry for failed stencils
688695
## 0.13.0 - 2018-02-16
689696

690697
[Unreleased]: https://github.com/ecmwf/atlas/compare/master...develop
698+
[0.44.1]: https://github.com/ecmwf/atlas/compare/0.44.0...0.44.1
691699
[0.44.0]: https://github.com/ecmwf/atlas/compare/0.43.1...0.44.0
692700
[0.43.1]: https://github.com/ecmwf/atlas/compare/0.43.0...0.43.1
693701
[0.43.0]: https://github.com/ecmwf/atlas/compare/0.42.0...0.43.0

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.44.0
1+
0.44.1

src/tests/numerics/fctest_fvm_nabla.F90

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
! -----------------------------------------------------------------------------
1616

17-
module fctest_atlas_nabla_EdgeBasedFiniteVolume_Fixture
17+
module fctest_atlas_fvm_nabla_Fxt
1818
use atlas_module
1919
use, intrinsic :: iso_c_binding
2020
implicit none
@@ -45,8 +45,8 @@ module fctest_atlas_nabla_EdgeBasedFiniteVolume_Fixture
4545

4646
type :: timer_type
4747
private
48-
integer*8 :: clck_counts_start, clck_counts_stop, clck_rate
49-
integer*8 :: counted = 0
48+
integer(8) :: clck_counts_start, clck_counts_stop, clck_rate
49+
integer(8) :: counted = 0
5050
logical :: paused = .True.
5151
contains
5252
procedure, public :: start => timer_start
@@ -67,7 +67,8 @@ function timer_elapsed(self) result(time)
6767
real(c_double) :: time
6868
if (.not. self%paused) then
6969
call system_clock ( self%clck_counts_stop, self%clck_rate )
70-
time = real(self%counted + self%clck_counts_stop - self%clck_counts_start,c_double)/real(self%clck_rate,c_double)
70+
time = real(self%counted + self%clck_counts_stop - self%clck_counts_start,c_double) &
71+
& /real(self%clck_rate,c_double)
7172
else if (self%counted .ge. 0) then
7273
time = real(self%counted,c_double)/real(self%clck_rate,c_double)
7374
else
@@ -210,7 +211,7 @@ SUBROUTINE FV_GRADIENT(PVAR,PGRAD)
210211
INTEGER(KIND=JPIM) :: JNODE,JEDGE,JLEV,INEDGES,IP1,IP2,IEDGE,INODES
211212
REAL(KIND=JPRB) :: ZAVG,ZSIGN,ZMETRIC_X,ZMETRIC_Y
212213
REAL(KIND=JPRB), ALLOCATABLE :: ZAVG_S(:,:,:)
213-
214+
INTEGER(KIND=JPIM) :: NFLEVG
214215
REAL(KIND=JPRB) :: SCALE, DEG2RAD
215216
DEG2RAD = RPI/180.
216217
SCALE = DEG2RAD*DEG2RAD*RA
@@ -219,7 +220,7 @@ SUBROUTINE FV_GRADIENT(PVAR,PGRAD)
219220

220221
!IF (LHOOK) CALL DR_HOOK('FV_GRADIENT',0,ZHOOK_HANDLE)
221222

222-
ASSOCIATE(NFLEVG=>nlev)
223+
NFLEVG=nlev
223224

224225
!write(0,*) 'enter fv_gradient'
225226
!write(0,*) 'shape pvar ',shape(pvar)
@@ -253,7 +254,8 @@ SUBROUTINE FV_GRADIENT(PVAR,PGRAD)
253254
!$OMP END PARALLEL DO
254255

255256
INODES = SIZE(ZLONLAT)/2
256-
!$OMP PARALLEL DO SCHEDULE(STATIC) PRIVATE(JNODE,JLEV,JEDGE,IEDGE,ZSIGN,ZMETRIC_X,ZMETRIC_Y,INODE2EDGE,INODE2EDGE_SIZE)
257+
!$OMP PARALLEL DO SCHEDULE(STATIC) &
258+
!$OMP& PRIVATE(JNODE,JLEV,JEDGE,IEDGE,ZSIGN,ZMETRIC_X,ZMETRIC_Y,INODE2EDGE,INODE2EDGE_SIZE)
257259
DO JNODE=1,INODES
258260

259261
DO JLEV=1,NFLEVG
@@ -278,19 +280,17 @@ SUBROUTINE FV_GRADIENT(PVAR,PGRAD)
278280
ENDDO
279281
!$OMP END PARALLEL DO
280282

281-
END ASSOCIATE
282-
283283
!IF (LHOOK) CALL DR_HOOK('FV_GRADIENT',1,ZHOOK_HANDLE)
284284
END SUBROUTINE FV_GRADIENT
285285

286286

287287

288288

289-
end module fctest_atlas_nabla_EdgeBasedFiniteVolume_Fixture
289+
end module fctest_atlas_fvm_nabla_Fxt
290290

291291
! -----------------------------------------------------------------------------
292292

293-
TESTSUITE_WITH_FIXTURE(fctest_atlas_nabla_EdgeBasedFiniteVolume,fctest_atlas_nabla_EdgeBasedFiniteVolume_Fixture)
293+
TESTSUITE_WITH_FIXTURE(fctest_atlas_fvm_nabla,fctest_atlas_fvm_nabla_Fxt)
294294

295295
! -----------------------------------------------------------------------------
296296

0 commit comments

Comments
 (0)