Package Details: deal-ii 9.5.1-1

Git Clone URL: https://aur.archlinux.org/deal-ii.git (read-only, click to copy)
Package Base: deal-ii
Description: An Open Source Finite Element Differential Equations Analysis Library
Upstream URL: http://www.dealii.org/
Keywords: fem pde science
Licenses: LGPL
Submitter: coincoin
Maintainer: coincoin (drwells)
Last Packager: drwells
Votes: 15
Popularity: 0.014165
First Submitted: 2013-09-11 11:11 (UTC)
Last Updated: 2023-07-18 15:14 (UTC)

Dependencies (26)

Required by (0)

Sources (1)

Pinned Comments

drwells commented on 2023-07-18 15:16 (UTC)

I updated to 9.5.1 and made Trilinos a required dependency to avoid the conflict. Once the Trilinos package is updated to include provides=('kokkos') then we can switch this back and make kokkos the (correct) dependency.

Latest Comments

1 2 3 4 5 6 Next › Last »

Alad commented on 2024-06-07 12:02 (UTC)

Sundials support no longer seems functional:

/mnt/storage/archie/aur/deal-ii/src/dealii-9.5.2/source/sundials/ida.cc:428:7: note: candidate is: ‘constexpr dealii::SUNDIALS::IDA<dealii::Vector<double> >::reset(double, double, dealii::Vector<double>&, dealii::Vector<double>&)::<lambda(int, int, N_Vector, N_Vector, N_Vector, SUNMatrix, void*, N_Vector, N_Vector, N_Vector)>::operator int (*)(int, int, N_Vector, N_Vector, N_Vector, SUNMatrix, void*, N_Vector, N_Vector, N_Vector)() const’ (near match)
  428 |       [](realtype tt,
      |       ^
/mnt/storage/archie/aur/deal-ii/src/dealii-9.5.2/source/sundials/ida.cc:428:7: note:   no known conversion from ‘int (*)(int, int, N_Vector, N_Vector, N_Vector, SUNMatrix, void*, N_Vector, N_Vector, N_Vector)’ {aka ‘int (*)(int, int, _generic_N_Vector*, _generic_N_Vector*, _generic_N_Vector*, _generic_SUNMatrix*, void*, _generic_N_Vector*, _generic_N_Vector*, _generic_N_Vector*)’} to ‘IDALsJacFn’ {aka ‘int (*)(double, double, _generic_N_Vector*, _generic_N_Vector*, _generic_N_Vector*, _generic_SUNMatrix*, void*, _generic_N_Vector*, _generic_N_Vector*, _generic_N_Vector*)’}
/usr/include/idas/idas_ls.h:90:59: note:   initializing argument 2 of ‘int IDASetJacFn(void*, IDALsJacFn)’
   90 | SUNDIALS_EXPORT int IDASetJacFn(void* ida_mem, IDALsJacFn jac);
      |                                                ~~~~~~~~~~~^~~
/mnt/storage/archie/aur/deal-ii/src/dealii-9.5.2/source/sundials/ida.cc: In instantiation of ‘void dealii::SUNDIALS::IDA<VectorType>::reset(double, double, VectorType&, VectorType&) [with VectorType = dealii::BlockVector<double>]’:
/mnt/storage/archie/aur/deal-ii/src/dealii-9.5.2/source/sundials/ida.cc:522:18:   required from here
  522 |   template class IDA<BlockVector<double>>;
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~
/mnt/storage/archie/aur/deal-ii/src/dealii-9.5.2/source/sundials/ida.cc:230:7: error: invalid user-defined conversion from ‘dealii::SUNDIALS::IDA<dealii::BlockVector<double> >::reset(double, double, dealii::BlockVector<double>&, dealii::BlockVector<double>&)::<lambda(int, N_Vector, N_Vector, N_Vector, void*)>’ to ‘IDAResFn’ {aka ‘int (*)(double, _generic_N_Vector*, _generic_N_Vector*, _generic_N_Vector*, void*)’} [-fpermissive]
  230 |       [](realtype tt, N_Vector yy, N_Vector yp, N_Vector rr, void *user_data)
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  231 |         -> int {
      |         ~~~~~~~~
  232 |         IDA<VectorType> &solver = *static_cast<IDA<VectorType> *>(user_data);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  233 | 
      |        
  234 |         auto *src_yy   = internal::unwrap_nvector_const<VectorType>(yy);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235 |         auto *src_yp   = internal::unwrap_nvector_const<VectorType>(yp);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  236 |         auto *residual = internal::unwrap_nvector<VectorType>(rr);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  237 | 
      |        
  238 |         return Utilities::call_and_possibly_capture_exception(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  239 |           solver.residual,
      |           ~~~~~~~~~~~~~~~~
  240 |           solver.pending_exception,
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~
  241 |           tt,
      |           ~~~
  242 |           *src_yy,
      |           ~~~~~~~~
  243 |           *src_yp,
      |           ~~~~~~~~
  244 |           *residual);
      |           ~~~~~~~~~~~
  245 |       },

drwells commented on 2024-02-17 18:24 (UTC)

Thanks - we're actually putting out a new patch release soon (we need 9.5.2) so I'll change those once we finalize that.

carlosal1015 commented on 2024-02-10 22:41 (UTC)

Hi, I suggest make this two changes, first one related with this, otherwise namcap will show this error:

deal-ii E: LGPL is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

The last one is about extra signature checking.

---
 .SRCINFO | 13 ++++++++-----
 PKGBUILD | 12 ++++++------
 2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 10d0848..0057036 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
 pkgbase = deal-ii
    pkgdesc = An Open Source Finite Element Differential Equations Analysis Library
-   pkgver = 9.5.1
+   pkgver = 9.5.2
    pkgrel = 1
-   url = http://www.dealii.org/
+   url = https://www.dealii.org
    install = deal-ii.install
    arch = i686
    arch = x86_64
-   license = LGPL
+   license = LGPL-2.1-or-later
    makedepends = cmake
    depends = boost
    depends = trilinos
@@ -33,7 +33,10 @@ pkgbase = deal-ii
    optdepends = tbb: High level abstract threading library
    optdepends = suitesparse: A collection of sparse matrix libraries
    optdepends = zlib: Compression library implementing the deflate compression method found in gzip and PKZIP
-   source = https://github.com/dealii/dealii/releases/download/v9.5.1/dealii-9.5.1.tar.gz
-   sha1sums = a94989a9e4c3b8599aceacf71d7156621c1d7426
+   source = https://github.com/dealii/dealii/releases/download/v9.5.2/dealii-9.5.2.tar.gz
+   source = https://github.com/dealii/dealii/releases/download/v9.5.2/dealii-9.5.2.tar.gz.asc
+   validpgpkeys = 1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3
+   sha1sums = 126183aaaf75eaa1b4c3812f6e44aa32a60f4da1
+   sha1sums = SKIP

 pkgname = deal-ii
diff --git a/PKGBUILD b/PKGBUILD
index 13e475c..0bd9d31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,14 @@
 # Maintainer: David Wells <drwells.aur at fastmail dot com>
-
 # Contributor: Florian Dang <florian dot coin at gmail dot com>

 pkgname=deal-ii
 _realname=dealii
-pkgver=9.5.1
+pkgver=9.5.2
 pkgrel=1
 pkgdesc="An Open Source Finite Element Differential Equations Analysis Library"
 arch=("i686" "x86_64")
-url="http://www.dealii.org/"
-license=('LGPL')
+url="https://www.dealii.org"
+license=('LGPL-2.1-or-later')
 # deal.II depends on Kokkos which is implicitly provided by Trilinos. Trilinos
 # does not yet support configuration with an external copy of Kokkos so do not
 # yet depend on that package.
@@ -44,8 +43,9 @@ optdepends=(
       )
 makedepends=('cmake')
 install=deal-ii.install
-source=(https://github.com/dealii/dealii/releases/download/v$pkgver/${_realname}-$pkgver.tar.gz)
-sha1sums=('a94989a9e4c3b8599aceacf71d7156621c1d7426')
+source=(https://github.com/dealii/dealii/releases/download/v$pkgver/${_realname}-$pkgver.tar.gz{,.asc})
+sha1sums=('126183aaaf75eaa1b4c3812f6e44aa32a60f4da1' 'SKIP')
+validpgpkeys=('1EE97BF66221FC3069B5CF90B5A4E06FBD3A97A3') # Matthias Maier <tamiko@43-1.org>
 # where to install deal.II: change to something else (e.g., /opt/deal.II/)
 # if desired.
 _installation_prefix=/usr
-- 
2.43.0

drwells commented on 2023-07-18 15:16 (UTC)

I updated to 9.5.1 and made Trilinos a required dependency to avoid the conflict. Once the Trilinos package is updated to include provides=('kokkos') then we can switch this back and make kokkos the (correct) dependency.

drwells commented on 2023-07-11 11:09 (UTC)

I wanted to get this done by now but I'm heading on vacation so it will have to wait until Saturday. We need to put out a 9.5.1 release due to some obscure Trilinos problems so this will need to be updated at that point anyway.

Thanks for investigating - I didn't realize the AUR had its own Kokkos package. To the best of my knowledge, Trilinos cannot be configured with an external Kokkos (they're working on it) so that's going to conflict with deal.II (though deal.II - Trilinos + external Kokkos should be OK).

carlosal1015 commented on 2023-07-10 15:58 (UTC) (edited on 2023-07-10 23:39 (UTC) by carlosal1015)

Many thanks. In that case I see will not easy because last week with 9.4.2 I tried built with trilinos (appending cmake_configuration_flags+=" -DDEAL_II_WITH_TRILINOS=ON), but it has a problem with bundled kokkos library.

Also I see that kokkos will not a first option because will be in conflict with trilinos and prefer last one.

When finished building deal.II both with aur kokkos and with up to date aur trilinos I will edit and attach these logs in a few hours.

Edited: Successfully with standalone kokkos or trilinos suite, any case is building fine:

drwells commented on 2023-07-10 15:09 (UTC)

Thanks for the report - I need to make MPI and Trilinos required dependencies since deal.II now requires Kokkos. I'll fix this later today or tomorrow.

carlosal1015 commented on 2023-07-10 14:24 (UTC)

With the recent upgrade 9.5.0, fails in build() stage.

drwells commented on 2022-12-03 13:52 (UTC)

This is now up-to-date with the 9.4.1 patch release.

drwells commented on 2022-04-21 16:13 (UTC)

Hi @athulshaji,

I suspect that the quick tests failed to link correctly because of a problem with one of deal.II's dependencies. Can you attach the quicktests.log file from the build or any additional terminal output here if you have it?