GNU bug report logs - #55170
[PATCH 0/5] gnu: dealii: Add SUNDIALS dependency and update to 9.3.3.

Previous Next

Package: guix-patches;

Reported by: "Paul A. Patience" <paul <at> apatience.com>

Date: Thu, 28 Apr 2022 18:17:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55170 in the body.
You can then email your comments to 55170 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Thu, 28 Apr 2022 18:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Paul A. Patience" <paul <at> apatience.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 28 Apr 2022 18:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: guix-patches <at> gnu.org
Cc: ludovic.courtes <at> inria.fr, paul <at> apatience.com
Subject: [PATCH 0/5] gnu: dealii: Add SUNDIALS dependency and update to 9.3.3.
Date: Thu, 28 Apr 2022 18:15:39 +0000
This patch series must be applied on top of the v2 patches in bug#50080 [1].
It adds SUNDIALS to deal.II's dependencies and updates deal.II to the latest
version.
Unfortunately, and as I mentioned in bug#50080 [1], I cannot get Trilinos to
compile, even though it doesn't seem to have changed since commit
06c11434c9288bc70ba958227d47d31d5e46eda7, which added the
trilinos-for-dealii-openmpi package.
Non-MPI deal.II compiles fine with this patch series.

In other words, this patch series is probably fine to push, but we still need
to address Trilinos's failing build.

I would appreciate it if anyone (Ludovic?) could try building dealii-openmpi
(and therefore trilinos-for-dealii-openmpi) with this patch series applied, to
check if the problem is only on my end or not.

[1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50080

Paul A. Patience (5):
  gnu: sundials: Add 5.8.0.
  gnu: dealii: Remove trailing booleans.
  gnu: dealii-openmpi: Remove input labels.
  gnu: dealii: Add SUNDIALS dependency.
  gnu: dealii: Update to 9.3.3.

 gnu/local.mk                                  |  2 -
 gnu/packages/maths.scm                        | 83 ++++++++++++-------
 ...lii-fix-compiliation-with-boost-1.78.patch | 40 ---------
 .../patches/dealii-fix-sundials.patch         | 60 --------------
 4 files changed, 54 insertions(+), 131 deletions(-)
 delete mode 100644 gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch
 delete mode 100644 gnu/packages/patches/dealii-fix-sundials.patch

--
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Thu, 28 Apr 2022 18:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55170 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr, paul <at> apatience.com
Subject: [PATCH 1/5] gnu: sundials: Add 5.8.0.
Date: Thu, 28 Apr 2022 18:19:22 +0000
* gnu/packages/maths.scm (sundials-5, sundials-openmpi-5): New
variables.
---
 gnu/packages/maths.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e97f732def..dbb9bf1cf3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6190,6 +6190,29 @@ (define-public sundials-openmpi
              ,%openmpi-setup)))))
     (synopsis "SUNDIALS with MPI support")))

+(define-public sundials-5
+  (package
+    (inherit sundials)
+    (name "sundials")
+    (version "5.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/LLNL/sundials/releases/download/v"
+                           version "/sundials-" version ".tar.gz"))
+       (sha256
+        (base32
+         "04x2x0jchf9kbcw2a1c6f4h4as8sr6k2snfz8z9k897pa4rl1vfl"))))))
+
+(define-public sundials-openmpi-5
+  (package/inherit sundials-5
+    (name "sundials-openmpi")
+    (propagated-inputs
+     (package-propagated-inputs sundials-openmpi))
+    (arguments
+     (package-arguments sundials-openmpi))
+    (synopsis (package-synopsis sundials-openmpi))))
+
 (define-public sundials-julia
   (package
     (inherit sundials)
--
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Thu, 28 Apr 2022 18:20:02 GMT) Full text and rfc822 format available.

Message #11 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55170 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr, paul <at> apatience.com
Subject: [PATCH 2/5] gnu: dealii: Remove trailing booleans.
Date: Thu, 28 Apr 2022 18:19:25 +0000
* gnu/packages/maths.scm (dealii)[snippet]: Remove trailing boolean (and
therefore the 'begin').
[native-inputs, inputs]: Reindent.
[arguments]<#:phases>: Remove trailing boolean.
---
 gnu/packages/maths.scm | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index dbb9bf1cf3..3c96378a4e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5183,22 +5183,20 @@ (define-public dealii
                                 "dealii-fix-sundials.patch"))
        (modules '((guix build utils)))
        (snippet
-        '(begin
-           ;; Remove bundled boost, muparser, TBB and UMFPACK.
-           (delete-file-recursively "bundled")
-           #t))))
+        ;; Remove bundled boost, muparser, TBB and UMFPACK.
+        '(delete-file-recursively "bundled"))))
     (build-system cmake-build-system)
     (outputs '("out" "doc"))
     (native-inputs
      ;; Required to build the documentation.
-      (list graphviz doxygen perl))
+     (list graphviz doxygen perl))
     (inputs
-      (list arpack-ng
-            openblas
-            gfortran
-            lapack
-            muparser
-            zlib))
+     (list arpack-ng
+           openblas
+           gfortran
+           lapack
+           muparser
+           zlib))
     (propagated-inputs
      ;; Some scripts are installed into share/deal.II/scripts that require
      ;; perl and python, but they are not executable (and some are missing the
@@ -5235,8 +5233,7 @@ (define-public dealii
              (let ((doc (string-append (assoc-ref outputs "doc")
                                        "/share/doc/" ,name "-" ,version)))
                (for-each delete-file (map (lambda (f) (string-append doc "/" f))
-                                          '("detailed.log" "summary.log"))))
-             #t)))))
+                                          '("detailed.log" "summary.log")))))))))
     (home-page "https://www.dealii.org/")
     (synopsis "Finite element library")
     (description
--
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Thu, 28 Apr 2022 18:20:03 GMT) Full text and rfc822 format available.

Message #14 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55170 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr, paul <at> apatience.com
Subject: [PATCH 3/5] gnu: dealii-openmpi: Remove input labels.
Date: Thu, 28 Apr 2022 18:19:29 +0000
* gnu/packages/maths.scm (dealii-openmpi)[inputs]: Remove labels.
[propagated-inputs]: Same.
---
 gnu/packages/maths.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 3c96378a4e..e6ebada82b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5248,18 +5248,20 @@ (define-public dealii-openmpi
   (package/inherit dealii
     (name "dealii-openmpi")
     (inputs
-     `(("arpack" ,arpack-ng-openmpi)
-       ("metis" ,metis)
-       ("scalapack" ,scalapack)
-       ,@(alist-delete "arpack" (package-inputs dealii))))
+     (modify-inputs (package-inputs dealii)
+       (delete "arpack")
+       (prepend arpack-ng-openmpi
+                metis
+                scalapack)))
     (propagated-inputs
-     `(("hdf5" ,hdf5-parallel-openmpi)
-       ("mpi" ,openmpi)
-       ("p4est" ,p4est-openmpi)
-       ("petsc" ,petsc-openmpi)
-       ("slepc" ,slepc-openmpi)
-       ("trilinos" ,trilinos-for-dealii-openmpi)
-       ,@(alist-delete "hdf5" (package-propagated-inputs dealii))))
+     (modify-inputs (package-propagated-inputs dealii)
+       (delete "hdf5")
+       (prepend hdf5-parallel-openmpi
+                openmpi
+                p4est-openmpi
+                petsc-openmpi
+                slepc-openmpi
+                trilinos-for-dealii-openmpi)))
     (arguments
      (substitute-keyword-arguments (package-arguments dealii)
        ((#:configure-flags flags)
--
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Thu, 28 Apr 2022 18:20:04 GMT) Full text and rfc822 format available.

Message #17 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55170 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr, paul <at> apatience.com
Subject: [PATCH 4/5] gnu: dealii: Add SUNDIALS dependency.
Date: Thu, 28 Apr 2022 18:19:32 +0000
* gnu/packages/maths.scm (dealii)[propagated-inputs]: Add sundials-5.
Reformat list to clarify comment.
(dealii-openmpi)[propagated-inputs]: Add sundials-openmpi-5.
---
 gnu/packages/maths.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e6ebada82b..c74f055a07 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5205,7 +5205,11 @@ (define-public dealii
      ;; Anyway, they are meant to be used at build time, so rather than adding
      ;; the interpreters here, any package depending on them should just add
      ;; the requisite interpreter to its native inputs.
-     (list boost hdf5 suitesparse ; For UMFPACK.
+     (list boost
+           hdf5
+           suitesparse                  ; For UMFPACK.
+           ;; SUNDIALS 6.0.0 and later will be supported in deal.II 9.4.0.
+           sundials-5
            tbb))
     (arguments
      `(#:build-type "DebugRelease" ; Supports only Debug, Release and DebugRelease.
@@ -5255,12 +5259,13 @@ (define-public dealii-openmpi
                 scalapack)))
     (propagated-inputs
      (modify-inputs (package-propagated-inputs dealii)
-       (delete "hdf5")
+       (delete "hdf5" "sundials")
        (prepend hdf5-parallel-openmpi
                 openmpi
                 p4est-openmpi
                 petsc-openmpi
                 slepc-openmpi
+                sundials-openmpi-5
                 trilinos-for-dealii-openmpi)))
     (arguments
      (substitute-keyword-arguments (package-arguments dealii)
--
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Thu, 28 Apr 2022 18:20:04 GMT) Full text and rfc822 format available.

Message #20 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55170 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr, paul <at> apatience.com
Subject: [PATCH 5/5] gnu: dealii: Update to 9.3.3.
Date: Thu, 28 Apr 2022 18:19:35 +0000
* gnu/packages/maths.scm (dealii): Update to 9.3.3.
* gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch:
Delete file.
* gnu/packages/patches/dealii-fix-sundials.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
---
 gnu/local.mk                                  |  2 -
 gnu/packages/maths.scm                        |  6 +-
 ...lii-fix-compiliation-with-boost-1.78.patch | 40 -------------
 .../patches/dealii-fix-sundials.patch         | 60 -------------------
 4 files changed, 2 insertions(+), 106 deletions(-)
 delete mode 100644 gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch
 delete mode 100644 gnu/packages/patches/dealii-fix-sundials.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 9bad87710c..d84d2bee3d 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -994,8 +994,6 @@ dist_patch_DATA =						\
   %D%/packages/patches/dbus-c++-gcc-compat.patch		\
   %D%/packages/patches/dbus-c++-threading-mutex.patch		\
   %D%/packages/patches/dbxfs-remove-sentry-sdk.patch		\
-  %D%/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch	\
-  %D%/packages/patches/dealii-fix-sundials.patch		\
   %D%/packages/patches/debops-constants-for-external-program-names.patch \
   %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \
   %D%/packages/patches/dee-vapi.patch			\
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index c74f055a07..2d3e67a6b4 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5171,16 +5171,14 @@ (define trilinos-for-dealii-openmpi
 (define-public dealii
   (package
     (name "dealii")
-    (version "9.3.2")
+    (version "9.3.3")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/dealii/dealii/releases/"
                            "download/v" version "/dealii-" version ".tar.gz"))
        (sha256
-        (base32 "1s0kawnljg24jj6nibwrif5gxdgg2daqfylhqqpl1lvmzmmxfhak"))
-       (patches (search-patches "dealii-fix-compiliation-with-boost-1.78.patch"
-                                "dealii-fix-sundials.patch"))
+        (base32 "0a8s4yxcbvzmfgv5qcg27h2ss4fcnyhrhhs35glqj59l9cbmkysx"))
        (modules '((guix build utils)))
        (snippet
         ;; Remove bundled boost, muparser, TBB and UMFPACK.
diff --git a/gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch b/gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch
deleted file mode 100644
index 1937aa9afc..0000000000
--- a/gnu/packages/patches/dealii-fix-compiliation-with-boost-1.78.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From cbef761731627cece2a6f0276b87dacabbdc8a72 Mon Sep 17 00:00:00 2001
-From: David Wells <drwells <at> email.unc.edu>
-Date: Tue, 4 Jan 2022 12:46:30 -0500
-Subject: [PATCH] Fix compilation with boost 1.78.
-
-I bisected (fortunately Boost.Geometry a header-only library so adding the
-include directory sufficed) and
-https://github.com/boostorg/geometry/commit/6eb9e238bcb37e26dc31d16acf826784a2ba30f4
-is where this problem starts for us. See also
-https://github.com/boostorg/geometry/issues/792 - the easiest fix for all such
-issues is to just include the project header `boost/geometry/geometry.hpp`.
-
-In this particular case, if you look at the commit which causes grid_tools.cc
-fails to compile, its because we were relying on some implicit includes. In
-particular, we need the distance header to find the distance between points and
-boxes, but that was previously included in another file.
-
-This patch has been adapted from
-e0e76835519d122fd12b5858e16d08641a641c6a to apply to dealii 9.3.2.
-
-See https://github.com/dealii/dealii/pull/13165.
----
- include/deal.II/numerics/rtree.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/include/deal.II/numerics/rtree.h b/include/deal.II/numerics/rtree.h
-index 1b9d04dacd..1e1bfd2932 100644
---- a/include/deal.II/numerics/rtree.h
-+++ b/include/deal.II/numerics/rtree.h
-@@ -26,6 +26,7 @@
- #include <deal.II/boost_adaptors/segment.h>
-
- DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
-+#include <boost/geometry/algorithms/distance.hpp>
- #include <boost/geometry/index/rtree.hpp>
- #include <boost/geometry/strategies/strategies.hpp>
- DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
---
-2.30.2
-
diff --git a/gnu/packages/patches/dealii-fix-sundials.patch b/gnu/packages/patches/dealii-fix-sundials.patch
deleted file mode 100644
index 7dd5df45da..0000000000
--- a/gnu/packages/patches/dealii-fix-sundials.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From af73f368f7f9d4a00df075d1a9f50fc495f8e87a Mon Sep 17 00:00:00 2001
-From: Timo Heister <timo.heister <at> gmail.com>
-Date: Sat, 25 Dec 2021 12:30:45 -0500
-Subject: [PATCH] fix sundials compilation
-
----
- include/deal.II/sundials/n_vector.templates.h | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/include/deal.II/sundials/n_vector.templates.h b/include/deal.II/sundials/n_vector.templates.h
-index 2b49e3efc9..746f63a03b 100644
---- a/include/deal.II/sundials/n_vector.templates.h
-+++ b/include/deal.II/sundials/n_vector.templates.h
-@@ -253,13 +253,13 @@ namespace SUNDIALS
-       template <
-         typename VectorType,
-         typename std::enable_if_t<!IsBlockVector<VectorType>::value, int> = 0>
--      MPI_Comm
-+      const MPI_Comm &
-       get_communicator(N_Vector v);
-
-       template <
-         typename VectorType,
-         typename std::enable_if_t<IsBlockVector<VectorType>::value, int> = 0>
--      MPI_Comm
-+      const MPI_Comm &
-       get_communicator(N_Vector v);
-
-       /**
-@@ -481,7 +481,7 @@ SUNDIALS::internal::NVectorOperations::destroy(N_Vector v)
-
- template <typename VectorType,
-           std::enable_if_t<IsBlockVector<VectorType>::value, int>>
--MPI_Comm
-+const MPI_Comm &
- SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector v)
- {
-   return unwrap_nvector_const<VectorType>(v)->block(0).get_mpi_communicator();
-@@ -491,7 +491,7 @@ SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector v)
-
- template <typename VectorType,
-           std::enable_if_t<!IsBlockVector<VectorType>::value, int>>
--MPI_Comm
-+const MPI_Comm &
- SUNDIALS::internal::NVectorOperations::get_communicator(N_Vector v)
- {
-   return unwrap_nvector_const<VectorType>(v)->get_mpi_communicator();
-@@ -519,7 +519,8 @@ SUNDIALS::internal::NVectorOperations::get_communicator_as_void_ptr(N_Vector v)
-   (void)v;
-   return nullptr;
- #  else
--  return get_communicator<VectorType>(v);
-+  // We need to cast away const here, as SUNDIALS demands a pure `void *`.
-+  return &(const_cast<MPI_Comm &>(get_communicator<VectorType>(v)));
- #  endif
- }
-
---
-2.30.2
-
--
2.36.0






Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Fri, 29 Apr 2022 12:03:01 GMT) Full text and rfc822 format available.

Message #23 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: "Paul A. Patience" <paul <at> apatience.com>
Cc: 55170 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/5] gnu: dealii: Add SUNDIALS dependency and update to
 9.3.3.
Date: Fri, 29 Apr 2022 14:02:27 +0200
Hello,

"Paul A. Patience" <paul <at> apatience.com> skribis:

> This patch series must be applied on top of the v2 patches in bug#50080 [1].
> It adds SUNDIALS to deal.II's dependencies and updates deal.II to the latest
> version.

Awesome.

> Unfortunately, and as I mentioned in bug#50080 [1], I cannot get Trilinos to
> compile, even though it doesn't seem to have changed since commit
> 06c11434c9288bc70ba958227d47d31d5e46eda7, which added the
> trilinos-for-dealii-openmpi package.
> Non-MPI deal.II compiles fine with this patch series.
>
> In other words, this patch series is probably fine to push, but we still need
> to address Trilinos's failing build.
>
> I would appreciate it if anyone (Ludovic?) could try building dealii-openmpi
> (and therefore trilinos-for-dealii-openmpi) with this patch series applied, to
> check if the problem is only on my end or not.
>
> [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50080

For me ‘sundials-openmpi-5.8.0’ fails like this:

--8<---------------cut here---------------start------------->8---
-- CXX standard set to 11
Appending C RELWITHDEBINFO flags
Appending CXX RELWITHDEBINFO flags
Appending Fortran RELWITHDEBINFO flags
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) (Required is at least version "2.0.0")
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) (Required is at least version "2.0.0")
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS) (Required is at least version "2.0.0")
CMake Error at /gnu/store/zga679c4nldah9l8dhd5a4hdy820hcyf-cmake-minimal-3.21.4/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND MPI_Fortran_FOUND)
  (Required is at least version "2.0.0")
Call Stack (most recent call first):
  /gnu/store/zga679c4nldah9l8dhd5a4hdy820hcyf-cmake-minimal-3.21.4/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /gnu/store/zga679c4nldah9l8dhd5a4hdy820hcyf-cmake-minimal-3.21.4/share/cmake-3.21/Modules/FindMPI.cmake:1748 (find_package_handle_standard_args)
  cmake/tpl/SundialsMPI.cmake:71 (find_package)
  cmake/SundialsSetupTPLs.cmake:22 (include)
  CMakeLists.txt:168 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/guix-build-sundials-openmpi-5.8.0.drv-0/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/guix-build-sundials-openmpi-5.8.0.drv-0/build/CMakeFiles/CMakeError.log".
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "cmake" arguments: ("../sundials-5.8.0" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/95ax5rqb6k1rkfii2i2nnbjfazr58zvi-sundials-openmpi-5.8.0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/95ax5rqb6k1rkfii2i2nnbjfazr58zvi-sundials-openmpi-5.8.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_MPI:BOOL=ON" "-DCMAKE_C_FLAGS=-O2 -g -fcommon" "-DEXAMPLES_ENABLE_C:BOOL=ON" "-DEXAMPLES_ENABLE_CXX:BOOL=ON" "-DEXAMPLES_ENABLE_F77:BOOL=ON" "-DEXAMPLES_ENABLE_F90:BOOL=ON" "-DEXAMPLES_INSTALL:BOOL=OFF" "-DFCMIX_ENABLE:BOOL=ON" "-DKLU_ENABLE:BOOL=ON" "-DKLU_INCLUDE_DIR=/gnu/store/cp95d1qfj1vsjn95rzj0f035rs966v0b-suitesparse-5.10.1/include" "-DKLU_LIBRARY_DIR=/gnu/store/cp95d1qfj1vsjn95rzj0f035rs966v0b-suitesparse-5.10.1/lib") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `configure' failed after 3.2 seconds
command "cmake" "../sundials-5.8.0" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/95ax5rqb6k1rkfii2i2nnbjfazr58zvi-sundials-openmpi-5.8.0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/95ax5rqb6k1rkfii2i2nnbjfazr58zvi-sundials-openmpi-5.8.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_MPI:BOOL=ON" "-DCMAKE_C_FLAGS=-O2 -g -fcommon" "-DEXAMPLES_ENABLE_C:BOOL=ON" "-DEXAMPLES_ENABLE_CXX:BOOL=ON" "-DEXAMPLES_ENABLE_F77:BOOL=ON" "-DEXAMPLES_ENABLE_F90:BOOL=ON" "-DEXAMPLES_INSTALL:BOOL=OFF" "-DFCMIX_ENABLE:BOOL=ON" "-DKLU_ENABLE:BOOL=ON" "-DKLU_INCLUDE_DIR=/gnu/store/cp95d1qfj1vsjn95rzj0f035rs966v0b-suitesparse-5.10.1/include" "-DKLU_LIBRARY_DIR=/gnu/store/cp95d1qfj1vsjn95rzj0f035rs966v0b-suitesparse-5.10.1/lib" failed with status 1
builder for `/gnu/store/nrj3w5gmy3g00880hwh3gxkp3kgzpxgd-sundials-openmpi-5.8.0.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

So it seems there’s a problem earlier than expected?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Mon, 02 May 2022 14:02:01 GMT) Full text and rfc822 format available.

Message #26 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 55170 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/5] gnu: dealii: Add SUNDIALS dependency and update to
 9.3.3.
Date: Mon, 02 May 2022 14:01:48 +0000
On 2022-04-29 08:02:27-04:00, Ludovic Courtès wrote:
> "Paul A. Patience" <paul <at> apatience.com> skribis:
>> This patch series must be applied on top of the v2 patches in bug#50080 [1].
>> It adds SUNDIALS to deal.II's dependencies and updates deal.II to the latest
>> version.
>
> %exception #<&invoke-error program: "cmake" arguments: ("../sundials-5.8.0" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/95ax5rqb6k1rkfii2i2nnbjfazr58zvi-sundials-openmpi-5.8.0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/95ax5rqb6k1rkfii2i2nnbjfazr58zvi-sundials-openmpi-5.8.0/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DENABLE_MPI:BOOL=ON" "-DCMAKE_C_FLAGS=-O2 -g -fcommon" "-DEXAMPLES_ENABLE_C:BOOL=ON" "-DEXAMPLES_ENABLE_CXX:BOOL=ON" "-DEXAMPLES_ENABLE_F77:BOOL=ON" "-DEXAMPLES_ENABLE_F90:BOOL=ON" "-DEXAMPLES_INSTALL:BOOL=OFF" "-DFCMIX_ENABLE:BOOL=ON" "-DKLU_ENABLE:BOOL=ON" "-DKLU_INCLUDE_DIR=/gnu/store/cp95d1qfj1vsjn95rzj0f035rs966v0b-suitesparse-5.10.1/include" "-DKLU_LIBRARY_DIR=/gnu/store/cp95d1qfj1vsjn95rzj0f035rs966v0b-suitesparse-5.10.1/lib") exit-status: 1 term-signal: #f stop-signal: #f>

Did you apply the v2 patches (well, now v3) in bug#50080 [1]?
The configure flags contain EXAMPLES_ENABLE_F77, among others, which I
removed in bug#50080.

Best regards,
Paul

[1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50080





Information forwarded to guix-patches <at> gnu.org:
bug#55170; Package guix-patches. (Tue, 03 May 2022 15:37:01 GMT) Full text and rfc822 format available.

Message #29 received at 55170 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Paul A. Patience" <paul <at> apatience.com>
Cc: 55170 <at> debbugs.gnu.org
Subject: Re: bug#55170: [PATCH 0/5] gnu: dealii: Add SUNDIALS dependency and
 update to 9.3.3.
Date: Tue, 03 May 2022 17:36:39 +0200
"Paul A. Patience" <paul <at> apatience.com> skribis:

> Did you apply the v2 patches (well, now v3) in bug#50080 [1]?

Oops, my bad.  Retesting now…

Ludo’.




Reply sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
You have taken responsibility. (Tue, 03 May 2022 16:05:02 GMT) Full text and rfc822 format available.

Notification sent to "Paul A. Patience" <paul <at> apatience.com>:
bug acknowledged by developer. (Tue, 03 May 2022 16:05:02 GMT) Full text and rfc822 format available.

Message #34 received at 55170-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: "Paul A. Patience" <paul <at> apatience.com>
Cc: 55170-done <at> debbugs.gnu.org
Subject: Re: bug#55170: [PATCH 0/5] gnu: dealii: Add SUNDIALS dependency and
 update to 9.3.3.
Date: Tue, 03 May 2022 18:04:06 +0200
Hi again,

"Paul A. Patience" <paul <at> apatience.com> skribis:

>   gnu: sundials: Add 5.8.0.
>   gnu: dealii: Remove trailing booleans.
>   gnu: dealii-openmpi: Remove input labels.
>   gnu: dealii: Add SUNDIALS dependency.
>   gnu: dealii: Update to 9.3.3.

Pushed as 8b2d26660717a0f352da54acd68e0d61a7c697df.  Works like a charm
now, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Jun 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.