diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 2b5e0293..d5466ad9 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -3,24 +3,24 @@ env: SECRET_CODECOV_TOKEN: "dty9SvGuECi846Hf4XqD7M6nqh3G5uRWhNvJTGqRrYbGkV0PN6Ovorh9tdDrwm03VB2JNlIODSxo+QukbaO1ZWeX3pKq03eQbmBCeNpIfyZyTCTB5oGXYbDhCQlA6fjvGlrahqtos9s7BNo6rHVlp82Js60Tm5cmq5Vc8NHsD61EMcKMbl8l8oAo05tzWstC6MiloAItgPjmV9b4lR0qR/CFdUzzRelbq7FGsbus3k1qG4fkVD71vIwPoVhcubaNel1m2Pav5Z/tCdoqlpZZcLStIoJ+6tGCM2z9up6VC6dEvjxFRL4wlW0mfBW67foAxdqw24MIMlig4B1GAMsKxg==;U2FsdGVkX19vDkbG1AsXwiK4Lfblf3+qPNPAcrI+kEocuwv2lTsrOALqTT31uWxBSouatQsKuMlmL3++hD/ztQ==" steps: - - label: "🦓 Julia 1.6" + - label: "🐫 Julia 1.10" plugins: - JuliaCI/julia#v1: - version: '1.6' + version: '1.10' - JuliaCI/julia-test#v1: ~ + - JuliaCI/julia-coverage#v1: + codecov: true agents: queue: "juliagpu" cuda: "*" if: build.message !~ /\[skip tests\]/ timeout_in_minutes: 60 - - label: "🐫 Julia 1.10" + - label: "🦓 Julia 1.11" plugins: - JuliaCI/julia#v1: - version: '1.10' + version: '1.11' - JuliaCI/julia-test#v1: ~ - - JuliaCI/julia-coverage#v1: - codecov: true agents: queue: "juliagpu" cuda: "*" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index a26db5b5..887837ea 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: julia-actions/setup-julia@latest with: - version: 1.6 + version: 1.10 - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() diff --git a/Project.toml b/Project.toml index e4a33af7..1f990504 100644 --- a/Project.toml +++ b/Project.toml @@ -6,7 +6,7 @@ authors = ["Gregory L. Wagner ", "Navid C. Constantinou < description = "Tools for building fast, hackable, pseudospectral partial differential equation solvers on periodic domains." documentation = "https://fourierflows.github.io/FourierFlowsDocumentation/stable/" repository = "https://github.com/FourierFlows/FourierFlows.jl" -version = "0.10.5" +version = "0.10.6" [deps] CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" @@ -25,11 +25,11 @@ DocStringExtensions = "0.8, 0.9" FFTW = "1" Interpolations = "0.12, 0.13, 0.14, 0.15" JLD2 = "0.1, 0.2, 0.3, 0.4" -LinearAlgebra = "1.6" -Random = "1.6" +LinearAlgebra = "1.10" +Random = "1.10" Reexport = "0.2, 1" -Statistics = "1.6" -julia = "1.6" +Statistics = "1.10" +julia = "1.10" [extras] Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037" diff --git a/appveyor.yml b/appveyor.yml index 998c8eff..0ddbcf12 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ environment: matrix: - - julia_version: 1.6 - julia_version: 1.10 + - julia_version: 1.11 - julia_version: nightly platform: diff --git a/docs/src/installation_instructions.md b/docs/src/installation_instructions.md index d80282d7..8b8571e2 100644 --- a/docs/src/installation_instructions.md +++ b/docs/src/installation_instructions.md @@ -5,7 +5,7 @@ To install the latest version of FourierFlows.jl use the Julia's built-in packag ```julia julia> ] -(v1.6) pkg> add FourierFlows +(v1.10) pkg> add FourierFlows ``` We recommend installing FourierFlows.jl with the built-in Julia package manager, because @@ -13,7 +13,7 @@ this installs a stable, tagged release. Later, you can update FourierFlows.jl to latest tagged release again via the package manager by ```julia -(v1.6) pkg> update FourierFlows +(v1.10) pkg> update FourierFlows ``` Note that some releases might induce breaking changes to certain modules. If after anything @@ -21,7 +21,7 @@ happens or your code stops working, please open an [issue](https://github.com/Fo or start a [discussion](https://github.com/FourierFlows/FourierFlows.jl/discussions). We're more than happy to help with getting your simulations up and running. -!!! warn "Use Julia 1.6 or newer" - The latest FourierFlows.jl requires at least Julia v1.6 (the current long-term-release). +!!! warn "Use Julia 1.10 or newer" + The latest FourierFlows.jl requires at least Julia v1.10 (the current long-term-release). Installing FourierFlows with an older version of Julia will install an older version of FourierFlows.jl (the latest version compatible with your version of Julia). diff --git a/test/runtests.jl b/test/runtests.jl index 1aecfc75..16abc855 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -387,9 +387,9 @@ for dev in devices @test repr(diag) == "Diagnostic\n ├─── calc: get_sol\n ├─── prob: FourierFlows.Problem{DataType, Vector{ComplexF64}, Float64, Vector{Float64}}\n ├─── data: 101-element Vector{Vector{ComplexF64}}\n ├────── t: 101-element Vector{Float64}\n ├── steps: 101-element Vector{Int64}\n ├─── freq: 1\n └────── i: 1" @test repr(out) == "Output\n ├──── prob: FourierFlows.Problem{DataType, Vector{ComplexF64}, Float64, Vector{Float64}}\n ├──── path: output.jld2\n └── fields: Dict{Symbol, Function}()" else - @test repr(prob.vars) == "Variables\n ├───── variable: c -> 128-element CuArray{Float64, 1, CUDA.Mem.DeviceBuffer}\n ├───── variable: cx -> 128-element CuArray{Float64, 1, CUDA.Mem.DeviceBuffer}\n ├───── variable: ch -> 65-element CuArray{ComplexF64, 1, CUDA.Mem.DeviceBuffer}\n └───── variable: cxh -> 65-element CuArray{ComplexF64, 1, CUDA.Mem.DeviceBuffer}\n" - @test repr(diag) == "Diagnostic\n ├─── calc: get_sol\n ├─── prob: FourierFlows.Problem{DataType, CuArray{ComplexF64, 1, CUDA.Mem.DeviceBuffer}, Float64, CuArray{Float64, 1, CUDA.Mem.DeviceBuffer}}\n ├─── data: 101-element Vector{CuArray{ComplexF64, 1, CUDA.Mem.DeviceBuffer}}\n ├────── t: 101-element Vector{Float64}\n ├── steps: 101-element Vector{Int64}\n ├─── freq: 1\n └────── i: 1" - @test repr(out) == "Output\n ├──── prob: FourierFlows.Problem{DataType, CuArray{ComplexF64, 1, CUDA.Mem.DeviceBuffer}, Float64, CuArray{Float64, 1, CUDA.Mem.DeviceBuffer}}\n ├──── path: output.jld2\n └── fields: Dict{Symbol, Function}()" + @test repr(prob.vars) == "Variables\n ├───── variable: c -> 128-element CuArray{Float64, 1, CUDA.DeviceMemory}\n ├───── variable: cx -> 128-element CuArray{Float64, 1, CUDA.DeviceMemory}\n ├───── variable: ch -> 65-element CuArray{ComplexF64, 1, CUDA.DeviceMemory}\n └───── variable: cxh -> 65-element CuArray{ComplexF64, 1, CUDA.DeviceMemory}\n" + @test repr(diag) == "Diagnostic\n ├─── calc: get_sol\n ├─── prob: FourierFlows.Problem{DataType, CuArray{ComplexF64, 1, CUDA.DeviceMemory}, Float64, CuArray{Float64, 1, CUDA.DeviceMemory}}\n ├─── data: 101-element Vector{CuArray{ComplexF64, 1, CUDA.DeviceMemory}}\n ├────── t: 101-element Vector{Float64}\n ├── steps: 101-element Vector{Int64}\n ├─── freq: 1\n └────── i: 1" + @test repr(out) == "Output\n ├──── prob: FourierFlows.Problem{DataType, CuArray{ComplexF64, 1, CUDA.DeviceMemory}, Float64, CuArray{Float64, 1, CUDA.DeviceMemory}}\n ├──── path: output.jld2\n └── fields: Dict{Symbol, Function}()" end @test repr(prob.eqn) == "Equation\n ├──────── linear coefficients: L\n │ ├───type: Float64\n │ └───size: (65,)\n ├───────────── nonlinear term: calcN!()\n └─── type of state vector sol: ComplexF64"