From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: "Paul A. Patience" <paul@apatience.com>
Cc: "50080@debbugs.gnu.org" <50080@debbugs.gnu.org>
Subject: [bug#50080] Commit updating SUNDIALS to 6.1.1.
Date: Fri, 15 Apr 2022 10:50:39 +0200 [thread overview]
Message-ID: <878rs67msg.fsf@gnu.org> (raw)
In-Reply-To: <gh6YS-LoOHe0DhWsHej5HwRYrkqxL8bZd-ZRRNEmKpS-8vnRWNv10XKFl37Z2OuzRxJDh21FrKn63GfWvruImSEJ1W-qYlKs11zIV6VLvY4=@apatience.com> (Paul A. Patience's message of "Thu, 14 Apr 2022 18:06:59 +0000")
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’.
next prev parent reply other threads:[~2022-04-15 8:51 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-16 19:36 [bug#50080] [PATCH] gnu: sundials, dealii: Update sundials to 5.7.0 and add to dealii inputs Paul A. Patience
2021-10-21 13:52 ` Paul A. Patience
2022-04-14 18:06 ` [bug#50080] Commit updating SUNDIALS to 6.1.1 Paul A. Patience
2022-04-15 8:50 ` Ludovic Courtès [this message]
2022-04-20 14:31 ` Paul A. Patience
2022-04-26 17:46 ` Paul A. Patience
2022-04-26 19:47 ` Paul A. Patience
2022-04-28 10:04 ` Ludovic Courtès
2022-04-28 17:11 ` [bug#50080] [PATCH v2 0/4] gnu: sundials: Fix various issues and update to 6.2.0 Paul A. Patience
2022-04-28 17:11 ` [bug#50080] [PATCH v2 1/4] gnu: petsc-openmpi: Fix inputs Paul A. Patience
2022-04-30 9:02 ` Maxime Devos
2022-05-02 13:56 ` Paul A. Patience
2022-04-28 17:11 ` [bug#50080] [PATCH v2 2/4] gnu: sundials: Fix various issues Paul A. Patience
2022-04-28 17:11 ` [bug#50080] [PATCH v2 3/4] gnu: sundials-openmpi: Add HYPRE dependency Paul A. Patience
2022-04-28 17:11 ` [bug#50080] [PATCH v2 4/4] gnu: sundials: Update to 6.2.0 Paul A. Patience
2022-05-02 13:28 ` [bug#50080] [PATCH v3 0/4] gnu: sundials: Fix various issues and update " Paul A. Patience
2022-05-02 13:28 ` [bug#50080] [PATCH v3 1/4] gnu: petsc-openmpi: Fix header inclusions Paul A. Patience
2022-05-02 13:28 ` [bug#50080] [PATCH v3 2/4] gnu: sundials: Fix various issues Paul A. Patience
2022-05-02 13:28 ` [bug#50080] [PATCH v3 3/4] gnu: sundials-openmpi: Add HYPRE dependency Paul A. Patience
2022-05-02 13:28 ` [bug#50080] [PATCH v3 4/4] gnu: sundials: Update to 6.2.0 Paul A. Patience
2022-05-03 15:35 ` bug#50080: [PATCH] gnu: sundials, dealii: Update sundials to 5.7.0 and add to dealii inputs Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rs67msg.fsf@gnu.org \
--to=ludovic.courtes@inria.fr \
--cc=50080@debbugs.gnu.org \
--cc=paul@apatience.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).