[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50080] Commit updating SUNDIALS to 6.1.1.
From: |
Ludovic Courtès |
Subject: |
[bug#50080] Commit updating SUNDIALS to 6.1.1. |
Date: |
Fri, 15 Apr 2022 10:50:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Paul,
"Paul A. Patience" <paul@apatience.com> skribis:
> I see that you have updated SUNDIALS to 6.1.1.
> When last I updated it (to 5.7.0) [1], I encountered issues in 32-bit vs
> 64-bit
> indices, which I see no mention of in your commit.
> There were also some other issues which I mentioned in my patch series'
> commit messages.
>
> Do you know if the update to 6.1.1 renders the issues extraneous?
Thanks for bringing it up, I had overlooked this patch of yours—my
apologies for that. I don’t know if the new version defaults to 64-bit
or 32-bit indices.
> A good test would be adding SUNDIALS as a propagated input to
> deal.II.
I tried that; this leads to a build failure apparently due to changes in
the API of SUNDIALS:
--8<---------------cut here---------------start------------->8---
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc: In
instantiation of ‘void dealii::SUNDIALS::ARKode<VectorType>::rese
t(double, double, const VectorType&) [with VectorType =
dealii::Vector<double>]’:
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc:838:18:
required from here
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc:635:31:
error: too few arguments to function ‘void* ARKStepCreate(ARK
RhsFn, ARKRhsFn, realtype, N_Vector, SUNContext)’
635 | arkode_mem = ARKStepCreate(
| ~~~~~~~~~~~~~^
636 | explicit_function ? &t_arkode_explicit_function<VectorType> :
nullptr,
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
637 | implicit_function ? &t_arkode_implicit_function<VectorType> :
nullptr,
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
638 | current_time,
| ~~~~~~~~~~~~~
639 | initial_condition_nvector);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc:45:
/gnu/store/vyl9wll72m9jqc21idxrxnmb7rm0lkf7-sundials-6.1.1/include/arkode/arkode_arkstep.h:112:23:
note: declared here
112 | SUNDIALS_EXPORT void* ARKStepCreate(ARKRhsFn fe, ARKRhsFn fi,
| ^~~~~~~~~~~~~
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc: In
instantiation of ‘void dealii::SUNDIALS::ARKode<VectorType>::setu
p_system_solver(const VectorType&) [with VectorType = dealii::Vector<double>]’:
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc:838:18:
required from here
/tmp/guix-build-dealii-9.3.2.drv-0/dealii-9.3.2/source/sundials/arkode.cc:710:30:
error: too few arguments to function ‘_generic_SUNLinearSolve
r* SUNLinSol_SPGMR(N_Vector, int, int, SUNContext)’
710 | SUNLinSol_SPGMR(y_template,
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~
711 | PREC_NONE,
| ~~~~~~~~~~
712 | 0 /*krylov subvectors, 0 uses default*/);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--8<---------------cut here---------------end--------------->8---
I’m probably less familiar than you with these two packages; what would
you suggest?
Please keep me Cc’d and hopefully we can address these issues for good
this time!
Thanks,
Ludo’.