According to this log. petsc
can not be compiled without scotch
. Happily the binaries are available in arch4edu repository. See https://mirror.sunred.org/arch4edu/x86_64
Search Criteria
Package Details: petsc 3.22.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/petsc.git (read-only, click to copy) |
---|---|
Package Base: | petsc |
Description: | Portable, extensible toolkit for scientific computation |
Upstream URL: | https://petsc.org |
Keywords: | computing scientific |
Licenses: | BSD |
Provides: | petsc4py |
Submitter: | heitzmann |
Maintainer: | MartinDiehl |
Last Packager: | MartinDiehl |
Votes: | 19 |
Popularity: | 0.000002 |
First Submitted: | 2018-02-24 11:36 (UTC) |
Last Updated: | 2024-10-21 10:02 (UTC) |
Dependencies (30)
- fftw-openmpi
- gsl (gsl-gitAUR)
- hdf5-openmpi
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, openblas-lapackAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libyaml (libyaml-gitAUR)
- netcdf-openmpi
- openmpi (openmpi-gitAUR)
- python-mpi4py (python-mpi4py-intelAUR)
- python-numpy (python-numpy-flameAUR, python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR, python-numpy-mkl-binAUR)
- suitesparse
- superlu
- zfp
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake-gitAUR) (make)
- cython (cython-gitAUR, cython0AUR) (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
- python-setuptools (make)
- hypreAUR (optional) – support for HYPRE
- kokkosAUR (trilinosAUR) (optional) – support Kokkos
- metisAUR (metis-gitAUR) (optional) – support for METIS
- mumpsAUR (mumps-seq-sharedAUR, mumps-cmakeAUR, mumps-parAUR, mumps-seqAUR) (optional) – support for MUMPS
- parmetisAUR (parmetis-gitAUR) (optional) – support for ParMETIS
- scalapackAUR (optional) – support for ScaLAPACK
- scotchAUR (scotch-gitAUR) (optional) – support for Scotch
- superlu_distAUR (optional) – support for SuperLU_DIST
- triangleAUR (optional) – support for Triangle
- trilinos-ml (trilinosAUR) (optional) – support for ML (part of Trilinos)
- zoltanAUR (trilinosAUR) (optional) – support for zoltan
Required by (26)
- coolfluid-svn
- damask (make)
- damask-grid
- damask-grid (make)
- damask-mesh
- damask-mesh (make)
- deal-ii (optional)
- dolfin
- dolfin-hpc
- dolfinx
- dolfinx-git
- fenics-basix-git
- freefem (optional)
- libmesh-petsc
- petsc4foam
- pism
- precice
- precice-git
- python-basix-git
- python-clawpack (optional)
- Show 6 more...
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
carlosal1015 commented on 2023-01-22 18:40 (UTC)
MartinDiehl commented on 2023-01-22 17:45 (UTC)
@smp: scotch is now build with cmake, which required some changes on the petsc side. Did you try to update scotch first?
smp commented on 2023-01-22 17:12 (UTC)
As described previously, building PETSc without the optional Scotch dependency fails. It looks like the issue can be fixed by replacing the following line in file test_optdepends.sh
if [ -d "${SCOTCH_DIR}" ]; then
with
if [ -f /usr/include/scotch.h ]; then
killozap commented on 2023-01-17 12:07 (UTC)
Can we add superlu_dist as optional dependency? Same as for superlu:
if [ -f "/usr/lib/pkgconfig/superlu_dist.pc" ]; then
CONFOPTS="${CONFOPTS} --with-superlu_dist-lib=-lsuperlu_dist --with-superlu_dist-include=/usr/include/superlu_dist"
fi
MartinDiehl commented on 2022-10-06 16:22 (UTC)
@lahwaacz: I'm just trying to understand what's going on and find a solution, not workarounds. If ssh is a dependency for openmpi, it has to be solved in the respective package. If all PETSc applications require it, it is a dependency. But checkdepends seems to be a quick fix that should not be in the official PKGBUILD
lahwaacz commented on 2022-10-06 15:33 (UTC)
@MartinDiehl petsc currently can't be built in a clean chroot without openssh
in checkdepends
. The solution for more problems is more workarounds, not delaying previous workarounds.
MartinDiehl commented on 2022-10-06 15:11 (UTC)
@lahwaacz and @carlosal1015: I think then it makes sense to apply the same fix as for MUMPS.
However, it seems that ssh is not the problem the only problem. At least on my setup, I cannot run MPI applications if WiFi and ethernet is disabled. I understand that MPI is meant to work over network, but it would be nice if one could use the same executable on a machine without ssh and a network connection.
lahwaacz commented on 2022-10-06 11:12 (UTC)
@MartinDiehl The openssh problem is reported in https://bugs.archlinux.org/task/75535 but carlosal1015's comment was about adding it to checkdepends
, not depends
. FWIW it's the same problem that you've recently fixed in https://aur.archlinux.org/cgit/aur.git/commit/?h=mumps&id=05532ed6645296c32c6e9c247024959aa4715bcc
Pinned Comments
MartinDiehl commented on 2022-10-06 10:26 (UTC)
@jrohwer
When building PETSc (more specifically, petsc4py), one test (ex100 from ksp) will fail if a previous (major) version is installed. I could not figure out why this happens. The solution would be to build in a clean root (which is a little bit complicated due to dependency on other AUR packages) or simply uninstall the old version before.
Any help to solve this issue is welcomed.