CV_FUNCTIONAL CV_NEWTON CV_ADAMS not defined in the current scope

Issue #1067 new
Amit Singh created an issue

When compiling with Sundials version >= 4.0.0, dolfin build fails because the variables CV_FUNCTIONAL, CV_NEWTON, CV_ADAMS expected in 'dolfin/ts/CVode.h' have been removed from Sundials CVODE due to a change in interface. Similarly, Sundials no longer installs <cvode/cvode_impl.h> which is expected by CVode.h file.

Comments (1)

  1. Michael

    can confirm. trying to build from source and got 99% of the way through before seeing this lol.

    Looks like the files weren’t overwriting properly when I reinstalled an older version, so I wiped the “instdir” from the sundials installation folder and tried to rebuild sundials. That removed the ambiguity. Built 3.1.1

    when installing dolfing, I’m seeing both that it’ll be compiled with SUNDIALS support and that it wasn’t found, so I’m not expecting success. SUNDIALS_DIR points to instdir for sundials, SUNDIALS_VERSION has the right number. I’m at a loss.

  2. Log in to comment