Skip to content

Commit d53a2ea

Browse files
authored
Merge pull request #1653 from ExtremeFLOW/release/0.9
NEKO v0.9.1
2 parents 8b46a18 + bea5139 commit d53a2ea

File tree

14 files changed

+25
-17
lines changed

14 files changed

+25
-17
lines changed

.github/workflows/check_nvidia.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg
3333
echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list
3434
sudo apt-get update -y
35-
sudo apt-get install -y nvhpc-24-7
35+
sudo apt-get install -y nvhpc-24-11
3636
NVARCH=`uname -s`_`uname -m`
3737
export NVARCH
3838
NVCOMPILERS=/opt/nvidia/hpc_sdk
3939
export NVCOMPILERS
40-
PATH=$NVCOMPILERS/$NVARCH/24.7/compilers/bin:$PATH; export PATH
41-
export PATH=$NVCOMPILERS/$NVARCH/24.7/comm_libs/mpi/bin:$PATH
40+
PATH=$NVCOMPILERS/$NVARCH/24.11/compilers/bin:$PATH; export PATH
41+
export PATH=$NVCOMPILERS/$NVARCH/24.11/comm_libs/mpi/bin:$PATH
4242
printenv >> $GITHUB_ENV
4343
echo "os-version=$(lsb_release -ds | tr " " -)" >> $GITHUB_OUTPUT
4444
@@ -98,7 +98,7 @@ jobs:
9898
run: |
9999
git apply patches/nvhpc_bge.patch
100100
./regen.sh
101-
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/cuda/
101+
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.11/cuda/
102102
make
103103
104104
- name: Dist (CPU backend)
@@ -122,5 +122,5 @@ jobs:
122122
tar xf neko-*.tar.gz -C releng
123123
cd releng/neko-*
124124
patch -u src/common/signal.f90 -i patches/nvhpc_bge.patch
125-
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.7/cuda/
125+
./configure FC=${FC} FCFLAGS="-O3" --enable-real=${RP} --with-cuda=/opt/nvidia/hpc_sdk/Linux_x86_64/24.11/cuda/
126126
make -j $(nproc)

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.69])
2-
AC_INIT([neko],[0.9.0])
2+
AC_INIT([neko],[0.9.1])
33
AM_INIT_AUTOMAKE([foreign subdir-objects])
44
AM_MAINTAINER_MODE
55
AC_CONFIG_MACRO_DIR([m4])

examples/hemi/hemi.nmsh

0 Bytes
Binary file not shown.

src/gs/gather_scatter.f90

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,10 @@ subroutine gs_init_mapping(gs)
450450
end if
451451
end if
452452
end do
453+
454+
! Clear local dofmap table
455+
call dm%clear()
456+
453457
if (lz .gt. 1) then
454458
!
455459
! Setup mapping for dofs on edges
@@ -654,6 +658,10 @@ subroutine gs_init_mapping(gs)
654658
end if
655659
end do
656660
end if
661+
662+
! Clear local dofmap table
663+
call dm%clear()
664+
657665
!
658666
! Setup mapping for dofs on facets
659667
!

src/krylov/krylov.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ end subroutine ksp_t_free
189189
!! @param monitor Enable/disable monitoring, optional.
190190
module subroutine krylov_solver_factory(object, n, type_name, &
191191
max_iter, abstol, M, monitor)
192-
class(ksp_t), allocatable, target, intent(inout) :: object
192+
class(ksp_t), allocatable, intent(inout) :: object
193193
integer, intent(in), value :: n
194194
character(len=*), intent(in) :: type_name
195195
integer, intent(in) :: max_iter

src/krylov/krylov_fctry.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
!! @param monitor Enable/disable residual history, optional.
7777
module subroutine krylov_solver_factory(object, n, type_name, &
7878
max_iter, abstol, M, monitor)
79-
class(ksp_t), allocatable, target, intent(inout) :: object
79+
class(ksp_t), allocatable, intent(inout) :: object
8080
integer, intent(in), value :: n
8181
character(len=*), intent(in) :: type_name
8282
integer, intent(in) :: max_iter

src/krylov/precon.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ end subroutine pc_update
6868
interface
6969
!> Create a preconditioner
7070
module subroutine precon_factory(pc, type_name)
71-
class(pc_t), target, allocatable, intent(inout) :: pc
71+
class(pc_t), allocatable, intent(inout) :: pc
7272
character(len=*), intent(in) :: type_name
7373
end subroutine precon_factory
7474

src/krylov/precon_fctry.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
!> Create a preconditioner
5353
module subroutine precon_factory(pc, type_name)
54-
class(pc_t), target, allocatable, intent(inout) :: pc
54+
class(pc_t), allocatable, intent(inout) :: pc
5555
character(len=*), intent(in) :: type_name
5656
character(len=:), allocatable :: type_string
5757

src/les/les_model.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ end subroutine les_model_free
114114
!! @param coef SEM coefficients.
115115
!! @param json A dictionary with parameters.
116116
module subroutine les_model_factory(object, type_name, dofmap, coef, json)
117-
class(les_model_t), allocatable, target, intent(inout) :: object
117+
class(les_model_t), allocatable, intent(inout) :: object
118118
character(len=*), intent(in) :: type_name
119119
type(dofmap_t), intent(in) :: dofmap
120120
type(coef_t), intent(in) :: coef

src/les/les_model_fctry.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
!! @param coef SEM coefficients.
5454
!! @param json A dictionary with parameters.
5555
module subroutine les_model_factory(object, type_name, dofmap, coef, json)
56-
class(les_model_t), allocatable, target, intent(inout) :: object
56+
class(les_model_t), allocatable, intent(inout) :: object
5757
character(len=*), intent(in) :: type_name
5858
type(dofmap_t), intent(in) :: dofmap
5959
type(coef_t), intent(in) :: coef

0 commit comments

Comments
 (0)