-
Notifications
You must be signed in to change notification settings - Fork 254
Fix CI docs build #822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix CI docs build #822
Conversation
Kept throwing errors when building docs
Files generated when running docs/make.jl
Created during doc building
|
The BVP Ascher thing fails on LinearSolve v3.46.0, but works with 3.45.0. MWE script: using Pkg
Pkg.activate(temp=true)
ENV["JULIA_PKG_PRECOMPILE_AUTO"] = false
Pkg.add(name="LinearSolve", version=ARGS[1])
Pkg.add("BoundaryValueDiffEq")
import BoundaryValueDiffEq as BVP
Pkg.status()
function f!(du, u, p, t)
e = 2.7
du[1] = (1 + u[2] - sin(t)) * u[4] + cos(t)
du[2] = cos(t)
du[3] = u[4]
du[4] = (u[1] - sin(t)) * (u[4] - e^t)
end
function bc!(res, u, p, t)
res[1] = u[1]
res[2] = u[3] - 1
res[3] = u[2] - sin(1.0)
end
u0 = [0.0, 0.0, 0.0, 0.0]
tspan = (0.0, 1.0)
fun = BVP.BVPFunction(f!, bc!, mass_matrix = [1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 0])
prob = BVP.BVProblem(fun, u0, tspan)
sol = BVP.solve(prob,
BVP.Ascher4(; zeta = [0.0, 0.0, 1.0], jac_alg = BVP.BVPJacobianAlgorithm(BVP.AutoForwardDiff()));
dt = 0.01)run as: |
|
The problems from DiffEqProblemLibrary.jl appear to be the older ones. I think a new version is needed for (ODEProblemLibrary, SDEProblemLibrary, DDEProblemLibrary, DAEProblemLibrary, BVProblemLibrary) |
|
What's the error? We should make the docs build fail on error |
|
Running with 3.46 gives |
Checklist
Additional context
Fixes errors in buildkite CI docs build.
Currently in draft mode: the example in tutorials/bvp_example.md (Ascher method for solving BVDAEs) fails on the newest LinearSolve.jl (3.47.0), but if pinned to LinearSolve.jl v3.40.0, it does produce results. Not sure what the underlying issues are yet.