Skip to content

Commit 12284bc

Browse files
CompatHelper Juliamusoke
CompatHelper Julia
authored andcommitted
chore: bump compat requirements
PencilFFTs to 0.14 and MPI to 0.20 There is a strange error when I run with PencilFFTs v0.14 and MPI v0.19. MPI v0.20 works. Exclude earlier versions of MPI.jl. MPI v0.20 deprecats `MPI.Dims_create` in favour of `MPI.Dims_create`. Also forced to use julia version 1.7. Stop support for 1.6, start testing against 1.8.
1 parent 92abcb2 commit 12284bc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
- '1.6'
1918
- '1.7'
19+
- '1.8'
2020
# - 'nightly'
2121
os:
2222
- ubuntu-latest

Project.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "UltraDark"
22
uuid = "1c8d022d-dfc0-4b41-80ab-3fc7e88cdfea"
33
authors = ["Nathan Musoke <[email protected]>"]
4-
version = "0.8.0"
4+
version = "0.9.0"
55

66
[deps]
77
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
@@ -17,8 +17,8 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1717
[compat]
1818
AbstractFFTs = "0.5, 1.0"
1919
FFTW = "1.2"
20-
MPI = "0.16, 0.17, 0.18, 0.19"
20+
MPI = "0.20"
2121
NPZ = "0.4"
2222
PencilArrays = "0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17"
23-
PencilFFTs = "0.12, 0.13"
24-
julia = "1.6"
23+
PencilFFTs = "0.12, 0.13, 0.14"
24+
julia = "1.7"

src/pencil_grids.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function PencilGrids(length_tuple, resol_tuple::Tuple{Int,Int,Int})::PencilGrids
201201

202202
# Let MPI_Dims_create choose the decomposition.
203203
proc_dims = let pdims = zeros(Int, 2)
204-
MPI.Dims_create!(Nproc, pdims)
204+
pdims .= MPI.Dims_create(Nproc, pdims)
205205
pdims[1], pdims[2]
206206
end
207207

0 commit comments

Comments
 (0)