Package Details: dolfinx 0.8.0-1

Git Clone URL: https://aur.archlinux.org/dolfinx.git (read-only, click to copy)
Package Base: dolfinx
Description: Next generation FEniCS problem solving environment
Upstream URL: https://github.com/FEniCS/dolfinx
Keywords: fenics finite-element-methods parallel-computing partial-differential-equations
Licenses: GPL-3.0-or-later, LGPL-3.0-or-later
Submitter: carlosal1015
Maintainer: carlosal1015 (AutoUpdateBot)
Last Packager: carlosal1015
Votes: 3
Popularity: 0.000003
First Submitted: 2022-04-29 14:12 (UTC)
Last Updated: 2024-05-18 21:46 (UTC)

Pinned Comments

carlosal1015 commented on 2022-09-20 03:45 (UTC)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.

Latest Comments

carlosal1015 commented on 2024-04-26 01:43 (UTC)

Hi @zhushazang, I guess is an issue from pkg_search_module() function when parse metadata from /opt/slepc/linux-c-opt/lib/pkgconfig/slepc.pc. For example if we consider the CMakeLists.txt below.

cmake_minimum_required(VERSION 3.19)
project(FOO VERSION "0.1.0")

find_package(PkgConfig REQUIRED)

pkg_search_module(PETSC REQUIRED IMPORTED_TARGET PETSc>=3.15 petsc>=3.15)
pkg_search_module(SLEPC REQUIRED IMPORTED_TARGET SLEPc>=3.15 slepc>=3.15)

message("Found PETSc version ${PETSC_VERSION}, prefix: ${PETSC_PREFIX}")
message("Found SLEPc version ${SLEPC_VERSION}, prefix: ${SLEPC_PREFIX}")

And run cmake -S . -B build, then we will look a wrong path, let me investigate (debug) more in order to formulate an issue from SLEPc side.

Make sure with env that the variables are set.

carlosal1015 commented on 2023-12-28 03:01 (UTC)

Nice, that means that cmake configuration could be improved for avoid error, but post installation is fine.

zhushazang commented on 2023-12-28 02:58 (UTC)

Installing slepc after dolfinx and running the script:

EPS Object: 1 MPI process type: krylovschur 50% of basis vectors kept after restart using the locking variant problem type: generalized symmetric eigenvalue problem selected portion of the spectrum: closest to target: 5. (in magnitude) postprocessing eigenvectors with purification number of eigenvalues (nev): 12 number of column vectors (ncv): 27 maximum dimension of projected problem (mpd): 27 maximum number of iterations: 131 tolerance: 1e-08 convergence test: relative to the eigenvalue BV Object: 1 MPI process type: mat 28 columns of global length 1776 vector orthogonalization method: classical Gram-Schmidt orthogonalization refinement: if needed (eta: 0.7071) block orthogonalization method: GS non-standard inner product tolerance for definite inner product: 2.22045e-15 inner product matrix: Mat Object: (st_) 1 MPI process type: seqaij rows=1776, cols=1776 total: nonzeros=8688, allocated nonzeros=8688 total number of mallocs used during MatSetValues calls=0 not using I-node routines doing matmult as a single matrix-matrix product DS Object: 1 MPI process type: hep solving the problem with: Implicit QR method (steqr) ST Object: 1 MPI process type: shift shift: 0. number of matrices: 2 nonzero pattern of the matrices: UNKNOWN KSP Object: (st) 1 MPI process type: preonly maximum iterations=10000, initial guess is zero tolerances: relative=1e-08, absolute=1e-50, divergence=10000. left preconditioning using NONE norm type for convergence test PC Object: (st_) 1 MPI process type: lu out-of-place factorization tolerance for zero pivot 2.22045e-14 matrix ordering: nd factor fill ratio given 5., needed 5.42703 Factored matrix follows: Mat Object: (st_) 1 MPI process type: seqaij rows=1776, cols=1776 package used to perform factorization: petsc total: nonzeros=47150, allocated nonzeros=47150 not using I-node routines linear system matrix = precond matrix: Mat Object: (st_) 1 MPI process type: seqaij rows=1776, cols=1776 total: nonzeros=8688, allocated nonzeros=8688 total number of mallocs used during MatSetValues calls=0 not using I-node routines

carlosal1015 commented on 2023-12-27 18:31 (UTC)

No worries @zhushazang, did you see this message error

-- Found PkgConfig: /usr/sbin/pkg-config (found version "2.1.0") 
-- Checking for one of the modules 'PETSc;petsc'
-- Checking for one of the modules 'SLEPc;slepc'
-- Configuring done (4.3s)
CMake Error in CMakeLists.txt:
  Imported target "dolfinx" includes non-existent path

    "/tmp/makepkg/slepc/pkg/slepc/opt/slepc/linux-c-opt/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in CMakeLists.txt:
  Imported target "dolfinx" includes non-existent path

    "/tmp/makepkg/slepc/pkg/slepc/opt/slepc/linux-c-opt/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

What happens if you install SLEPc after python-fenics-dolfinx and run this script?

zhushazang commented on 2023-12-27 13:36 (UTC)

Hello @carlosal1015, sorry for the delay in responding, I forgot to check the option to be notified. Anyway, I confirm that I was able to perform the installation after removing slepc.

Yours sincerely

carlosal1015 commented on 2023-11-26 18:44 (UTC)

Hi @zhushazang, I have a question, the installation works without slepc installed?

zhushazang commented on 2023-11-25 01:00 (UTC)

Hello there, unable to install 0.7.2-1 version with this final error:

CMake Error in CMakeLists.txt: Imported target "dolfinx" includes non-existent path

"/home/rodolfo/.cache/yay/slepc/pkg/slepc/opt/slepc/linux-c-opt/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not provide.

==== CMake Error in CMakeLists.txt: Imported target "dolfinx" includes non-existent path

"/home/rodolfo/.cache/yay/slepc/pkg/slepc/opt/slepc/linux-c-opt/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

  • The path was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and references files it does not provide.

-- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. ======

But there is "/opt/slepc/linux-c-opt/include" directory.

Best Regards

P.S.: If this is not the channel to report issues, please tell me where. Thanks

carlosal1015 commented on 2022-09-20 03:45 (UTC)

Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.