Skip to content

Commit

Permalink
chore: bump compat requirements
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CompatHelper Julia authored and musoke committed Nov 22, 2022
1 parent 92abcb2 commit 12284bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- '1.7'
- '1.8'
# - 'nightly'
os:
- ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "UltraDark"
uuid = "1c8d022d-dfc0-4b41-80ab-3fc7e88cdfea"
authors = ["Nathan Musoke <[email protected]>"]
version = "0.8.0"
version = "0.9.0"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand All @@ -17,8 +17,8 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[compat]
AbstractFFTs = "0.5, 1.0"
FFTW = "1.2"
MPI = "0.16, 0.17, 0.18, 0.19"
MPI = "0.20"
NPZ = "0.4"
PencilArrays = "0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17"
PencilFFTs = "0.12, 0.13"
julia = "1.6"
PencilFFTs = "0.12, 0.13, 0.14"
julia = "1.7"
2 changes: 1 addition & 1 deletion src/pencil_grids.jl
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function PencilGrids(length_tuple, resol_tuple::Tuple{Int,Int,Int})::PencilGrids

# Let MPI_Dims_create choose the decomposition.
proc_dims = let pdims = zeros(Int, 2)
MPI.Dims_create!(Nproc, pdims)
pdims .= MPI.Dims_create(Nproc, pdims)
pdims[1], pdims[2]
end

Expand Down

3 comments on commit 12284bc

@musoke
Copy link
Owner

@musoke musoke commented on 12284bc Nov 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@musoke
Copy link
Owner

@musoke musoke commented on 12284bc Nov 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/72664

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.0 -m "<description of version>" 12284bc6a5d4ec8488e503ca3a64a9ae66725911
git push origin v0.9.0

Please sign in to comment.