Skip to content
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

ForwardDiff and MKL fails on Ubuntu #422

Closed
sebapersson opened this issue Nov 7, 2023 · 8 comments
Closed

ForwardDiff and MKL fails on Ubuntu #422

sebapersson opened this issue Nov 7, 2023 · 8 comments

Comments

@sebapersson
Copy link

Currently the PEtab.jl test-suite fails on one of its gradient tests for a larger ODE-model (>20 ODE:s and >30 parameters) when I use the Rodas4P() (or any Rosenbrock) solver. I receive the error message:

ERROR: MethodError:
no method matching getrf!(::Matrix{ForwardDiff.Dual...

I this this is the exact same error as in #389

I did not get this error last weak, so it is likely related to 2.16 version of LinearSolve.

@ChrisRackauckas
Copy link
Member

This was already fixed. Did you get the latest patch?

@ChrisRackauckas
Copy link
Member

#420

@sebapersson
Copy link
Author

I get this error when using LinearSolve 2.16.2, and when running on main. Maybe the patch did not cover ForwardDiff.Dual?

@ChrisRackauckas
Copy link
Member

It makes it so that the default avoids any BLAS implementation. If you're using the default solve then you shouldn't have this issue. If you're choosing a linear solver and choosing a BLAS method with ForwardDiff.Dual, that should have always failed before. Note that is getting overloads to be fixed.

@sebapersson
Copy link
Author

I am using the default solve here, the failure occurs when I use Rodas4P() (or any solver with default options) for solving the ODE when computing the gradient. I could try to setup a MVE if it helps?

@ChrisRackauckas
Copy link
Member

Try OrdinaryDiffEq.jl master. It's somewhat related to SciML/OrdinaryDiffEq.jl#2052

@sebapersson
Copy link
Author

With OrdinaryDiffEq.jl master I do not have the problem anymore, thanks for the help!

@ChrisRackauckas
Copy link
Member

okay cool, that should be released in like half an hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants