Cannot be installed because petsc is currently 3.25 and it requires petsc < 3.25
Search Criteria
Package Details: damask-mesh 3.0.2-5
Package Actions
| Git Clone URL: | https://aur.archlinux.org/damask.git (read-only, click to copy) |
|---|---|
| Package Base: | damask |
| Description: | Mesh solver for DAMASK |
| Upstream URL: | https://damask-multiphysics.org |
| Keywords: | Materials Science |
| Licenses: | AGPL-3.0-or-later |
| Submitter: | MartinDiehl |
| Maintainer: | MartinDiehl |
| Last Packager: | MartinDiehl |
| Votes: | 2 |
| Popularity: | 0.000000 |
| First Submitted: | 2021-10-07 10:49 (UTC) |
| Last Updated: | 2026-01-24 13:11 (UTC) |
Dependencies (25)
- hdf5-openmpi
- libfyaml (libfyaml-gitAUR, libfyaml-gitAUR)
- openmpi (openmpi-gitAUR)
- petscAUR (petsc-gitAUR, petsc-complexAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- fftw-openmpi (fftw-amdAUR) (make)
- fmt (fmt-gitAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc-fortran-snapshotAUR) (make)
- hdf5-openmpi (make)
- libfyaml (libfyaml-gitAUR, libfyaml-gitAUR) (make)
- petscAUR (petsc-gitAUR, petsc-complexAUR) (make)
- python-build (make)
- python-h5py-openmpi (make)
- python-installer (make)
- python-matplotlib (python-matplotlib-gitAUR) (make)
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR) (make)
- python-pandas (make)
- python-pyaml (make)
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mkl-tbbAUR, python-scipy-mklAUR) (make)
- python-setuptools (make)
- Show 5 more dependencies...
Required by (1)
Sources (3)
Latest Comments
lllf commented on 2026-05-28 09:41 (UTC)
J0pp3rt commented on 2024-11-02 18:12 (UTC)
Hi, while building this in a clean-chroot I noticed some missing pieces in the PKGBUILD. I'll list them: 1. 'hdf5-openmpi' and 'python-h5py' are in reverse conflict with eachother, blocking the build. The correct version should be 'python-h5py-openmpi' for all packages. 2. I noticed you only changed the petsc (<3.23) requirement for the main package. Was this with a specific reason? 3. 'gcc-fortran' is missing from the makedepends for the main package, without this, it doesn't build. 4. Beside 'python-setuptools', also 'python-build' 'python-wheel' 'python-installer' are needed. I belief these were part of the setuptools but in a recent change these packages are no longer included, so these are needed for this to compile. 5. 'fmt' and 'verdict' needs to be added to the makedepends of the main package. These are optional/make dependancies to the vtk package, however, during the check() it is expected to be present and needs to be build against.
So in short: main package makedeps: -python-h5py +python-h5py-openmpi +gcc-fortran +python-build +python-wheel +python-installer +fmt +verdict
damask_grid deps: -petsc<3.22 +petsc<3.23
damask_mesh deps: -petsc<3.22 +petsc<3.23
package_python-damask deps: -python-h5py +python-h5py-openmpi
entshuld commented on 2024-05-12 23:40 (UTC)
In case that this is useful: (from the git repository 43b8bb6fa Merge branch 'PETSc-3.21_compatible' into 'development')
From 0f2d72ed4d490cf073e10deabeecfdb9bcf0250a Mon Sep 17 00:00:00 2001
From: hi <you_know_me@uni.dot>
Date: Mon, 13 May 2024 01:36:19
Subject: [PATCH] fftw3_mpi shotgun
---
CMakeLists.txt | 5 ++++-
src/CMakeLists.txt | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 676a7f2f6..be2d447e0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -138,7 +138,10 @@ if(fYAML_FOUND STREQUAL "1")
set(CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}} -I${fYAML_INCLUDE_DIR}")
endif()
-set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} ${BUILDCMD_POST}")
+set(CMAKE_Fortran_LINK_EXECUTABLE "${CMAKE_Fortran_LINK_EXECUTABLE} ${BUILDCMD_POST} -lfftw3 -lm -lfftw3_mpi")
+
+set(${FFTW3_LIBRARIES} "-lfftw3_mpi ${FFTW3_LIBRARIES}")
+set(${FFTW3_LDFLAGS} "-lfftw3_mpi ${FFTW3_LDFLAGS}")
message("Fortran Compiler Flags:\n${CMAKE_Fortran_FLAGS_${CMAKE_BUILD_TYPE}}\n")
message("C Compiler Flags:\n${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE}}\n")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1aef09c3f..25d14f5b5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,6 +6,7 @@ file(GLOB solver-sources CONFIGURE_DEPENDS ${DAMASK_SOLVER_LOWER}/*.f90)
if(NOT CMAKE_BUILD_TYPE STREQUAL "SYNTAXONLY")
add_executable(${executable-name} ${damask-sources} ${solver-sources})
install(TARGETS ${executable-name} RUNTIME DESTINATION bin)
+ target_link_libraries(${executable-name} fftw3_mpi fftw3)
else()
add_library(${executable-name} OBJECT ${damask-sources} ${solver-sources})
exec_program(mktemp OUTPUT_VARIABLE nothing)
--
2.45.0
In PKGBUILD (build):
sed -i "s/.*/${pkgver_}/g" "${srcdir}"/"${pkgbase}"/VERSION
cd ${pkgbase}/python
python -m build --wheel --no-isolation
Should pkgver_ be _pkgver ? Thanks for DAMASK.
MartinDiehl commented on 2024-03-21 14:37 (UTC)
due to a malformed version (3.0.0~beta, which is considered larger than 3.0.0), updating the package requires to uninstall version which tilde in the version string.
archuser2021 commented on 2022-08-20 13:05 (UTC) (edited on 2022-08-20 13:12 (UTC) by archuser2021)
Hi,
Thank you for packaging your excellent software on AUR!
The package failed to build with latest petsc.
PETSC_DIR:
/opt/petsc/linux-c-opt
-- Checking for modules 'PETSc>=3.12.0;PETSc<3.17.0'
-- Package dependency requirement 'PETSc < 3.17.0' could not be satisfied.
Package 'PETSc' has version '3.17.4', required version is '< 3.17.0'
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
CMakeLists.txt:13 (pkg_check_modules)
Best,
Pinned Comments
MartinDiehl commented on 2024-03-21 14:37 (UTC)
due to a malformed version (3.0.0~beta, which is considered larger than 3.0.0), updating the package requires to uninstall version which tilde in the version string.