@MartinDiehl You've added superlu_dist
as hard dependency, but it is only available in AUR. It seems unintentional according to the commit message.
Search Criteria
Package Details: petsc 3.22.1-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.000001 |
First Submitted: | 2018-02-24 11:36 (UTC) |
Last Updated: | 2024-11-25 08:56 (UTC) |
Dependencies (29)
- 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
- 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)
- python-damask (make)
- python-dolfin (optional)
- python-pyop2
- slepc
- sparselizard
- underworld2-git
Sources (2)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »
lahwaacz commented on 2023-12-24 11:29 (UTC)
MartinDiehl commented on 2023-12-04 15:43 (UTC)
@exocortex: During compilation, PETSc will report the found packages. If you install superLU and then compile (installing an already built package is not sufficient) PETSc, it should find it.
exocortex commented on 2023-12-04 15:40 (UTC)
Is there a way that I can find out if my installation is using superlu
?
Does it work to install SuperLU and then reinstall petsc (so that petsc automatically detects SuperLU when reinstalling)?
I am trying specifically to run the TAO/toy example (called "maros.c" in newer versions). The example can be found here
MartinDiehl commented on 2023-11-29 16:34 (UTC)
@exocortex:
superLU is an optional dependency, but it need to be present at build time. If you install superLU firt, PETSc should find it during build.
That makes building in a clean CHROOT a little bit more difficult, so I normally build on my system.
exocortex commented on 2023-11-29 14:56 (UTC)
When trying out the example from here (and putting the HS21 directory next to my main) I got this error:
[0]PETSC ERROR: Could not locate solver type superlu for factorization type LU and matrix type mpiaij. Perhaps you must ./configure with --download-superlu
Is there a way I can change my installation so that it does download this stuff. (if that is indeed the cause of this error).
exocortex commented on 2023-11-03 22:08 (UTC)
@MartinDiehl thank you! This was the first time I used pacman to downgrade something and it worked quite well :-)
MartinDiehl commented on 2023-11-02 14:21 (UTC)
@exocortex: This is a bug in SuiteSparse 7.3.0 (https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/478). You either have to downgrade or uninstall it for the moment. Hopefully, SuiteSparse 7.3.1 is out soon.
exocortex commented on 2023-11-02 13:13 (UTC) (edited on 2023-11-02 13:13 (UTC) by exocortex)
installing petsc fails for me. I couldn't run a python script (simple tutorial) after I upgraded my computer because of some problem with libcholmod
. I tried reinstalling petsc (and slepc) but now also during installation of petsc there's an error (this time in a file aijcholmod
. My terminal output with the error is here:
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/matrart.o
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/symtranspose.o
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/crl/crl.o
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/cholmod/aijcholmod.o
In file included from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/petscsystypes.h:553,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/petscsys.h:43,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/petscvec.h:8,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/petscmat.h:6,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/petsc/private/matimpl.h:3,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/../src/mat/impls/aij/seq/aij.h:3,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/src/mat/impls/aij/seq/cholmod/aijcholmod.c:1:
/usr/include/cholmod.h:1902:12: error: expected ‘)’ before ‘__extension__’
1902 | void **I, // integer block of memory (int32_t or int64_t)
| ^
In file included from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/include/../src/mat/impls/sbaij/seq/cholmod/cholmodimpl.h:43,
from /home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/src/mat/impls/aij/seq/cholmod/aijcholmod.c:2:
/usr/include/cholmod.h:1903:5: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
1903 | void **J, // integer block of memory (int32_t or int64_t)
| ^~~~
make[3]: *** [gmakefile:197: arch-linux-c-opt/obj/src/mat/impls/aij/seq/cholmod/aijcholmod.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/inode.o
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/aijperm/aijperm.o
CC arch-linux-c-opt/obj/src/mat/impls/aij/seq/matmatmult.o
make[3]: Leaving directory '/home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0'
make[2]: *** [/home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0/lib/petsc/conf/rules.doc:28: libs] Error 2
make[2]: Leaving directory '/home/lukipuki/.cache/yay/petsc/src/petsc-3.20.0'
**************************ERROR*************************************
Error during compile, check arch-linux-c-opt/lib/petsc/conf/make.log
Send it and arch-linux-c-opt/lib/petsc/conf/configure.log to petsc-maint@mcs.anl.gov
********************************************************************
make[1]: *** [makefile:45: all] Error 1
make: *** [GNUmakefile:9: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: petsc-exit status 4
-> Failed to install the following packages. Manual intervention is required:
petsc - exit status 4
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.