@MartinDiehl thank you! This was the first time I used pacman to downgrade something and it worked quite well :-)
Search Criteria
Package Details: petsc 3.23.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-2-Clause |
Provides: | petsc4py |
Submitter: | heitzmann |
Maintainer: | MartinDiehl |
Last Packager: | MartinDiehl |
Votes: | 20 |
Popularity: | 0.58 |
First Submitted: | 2018-02-24 11:36 (UTC) |
Last Updated: | 2025-05-04 08:54 (UTC) |
Dependencies (29)
- fftw-openmpi (fftw-amdAUR)
- gsl (gsl-gitAUR)
- hdf5-openmpi
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, openblas-lapackAUR, 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-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- suitesparse
- superlu
- zfp
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cython (cython-gitAUR) (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc-snapshotAUR) (make)
- gcc-fortran (gcc-fortran-gitAUR, gcc-fortran-snapshotAUR) (make)
- python-setuptools (make)
- hypreAUR (optional) – support for HYPRE
- Show 9 more dependencies...
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 9 10 11 Next › Last »
exocortex commented on 2023-11-03 22:08 (UTC)
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
MartinDiehl commented on 2023-10-14 11:38 (UTC)
@bred: Did you uninstall a previous PETSc installation?
bred commented on 2023-10-12 14:11 (UTC) (edited on 2023-10-12 14:15 (UTC) by bred)
I've this error in 1.20
Error while running make check
make[1]: *** [makefile:132: check] Error 1
make: *** [GNUmakefile:17: check] Error 2
-> error making: petsc-exit status 4
-> Failed to install the following packages. Manual intervention is required: petsc - exit status 4
lahwaacz commented on 2023-09-26 06:14 (UTC)
Still getting the same error due to hypre 2.29.0-1 with petsc 3.19.4-2...
lahwaacz commented on 2023-08-04 05:50 (UTC)
I get the following error trying to build petsc 3.19.4-1 with hypre 2.29.0-1:
In file included from /build/petsc/src/petsc-3.19.4/include/petscsys.h:1086,
from /build/petsc/src/petsc-3.19.4/include/petscvec.h:9,
from /build/petsc/src/petsc-3.19.4/include/petscmat.h:7,
from /build/petsc/src/petsc-3.19.4/include/petscpc.h:7,
from /build/petsc/src/petsc-3.19.4/include/petscksp.h:7,
from /build/petsc/src/petsc-3.19.4/include/petsc/private/pcimpl.h:5,
from /build/petsc/src/petsc-3.19.4/src/ksp/pc/impls/hypre/hypre.c:6:
/build/petsc/src/petsc-3.19.4/src/ksp/pc/impls/hypre/hypre.c: In function ‘PCApply_HYPRE’:
/build/petsc/src/petsc-3.19.4/src/ksp/pc/impls/hypre/hypre.c:446:31: error: incompatible types when assigning to type ‘hypre_Error’ from type ‘int’
446 | hypre__global_error = 0;
| ^
/build/petsc/src/petsc-3.19.4/include/petscerror.h:1738:7: note: in definition of macro ‘PetscStackCallExternalVoid’
1738 | __VA_ARGS__; \
| ^~~~~~~~~~~
/build/petsc/src/petsc-3.19.4/src/ksp/pc/impls/hypre/hypre.c: In function ‘PCApplyTranspose_HYPRE_BoomerAMG’:
/build/petsc/src/petsc-3.19.4/src/ksp/pc/impls/hypre/hypre.c:636:31: error: incompatible types when assigning to type ‘hypre_Error’ from type ‘int’
636 | hypre__global_error = 0;
| ^
/build/petsc/src/petsc-3.19.4/include/petscerror.h:1738:7: note: in definition of macro ‘PetscStackCallExternalVoid’
1738 | __VA_ARGS__; \
| ^~~~~~~~~~~
make[3]: *** [gmakefile:195: arch-linux-c-opt/obj/ksp/pc/impls/hypre/hypre.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC arch-linux-c-opt/obj/ksp/pc/impls/mpi/pcmpi.o
CC arch-linux-c-opt/obj/ksp/pc/impls/vpbjacobi/vpbjacobi.o
CC arch-linux-c-opt/obj/ksp/pc/impls/jacobi/jacobi.o
CC arch-linux-c-opt/obj/ksp/pc/impls/mg/fmg.o
CC arch-linux-c-opt/obj/ksp/ksp/interface/itfunc.o
CC arch-linux-c-opt/obj/ksp/pc/impls/gamg/geo.o
CC arch-linux-c-opt/obj/ksp/pc/impls/deflation/deflation.o
CC arch-linux-c-opt/obj/ksp/pc/impls/gamg/classical.o
CC arch-linux-c-opt/obj/ksp/pc/impls/is/nn/nn.o
CC arch-linux-c-opt/obj/ksp/pc/impls/is/pcis.o
CC arch-linux-c-opt/obj/ksp/pc/impls/hmg/hmg.o
CC arch-linux-c-opt/obj/ksp/pc/impls/wb/wb.o
CC arch-linux-c-opt/obj/ksp/pc/impls/gamg/agg.o
CC arch-linux-c-opt/obj/ksp/pc/impls/mg/gdsw.o
CC arch-linux-c-opt/obj/ksp/pc/impls/ml/ml.o
CC arch-linux-c-opt/obj/vec/is/sf/impls/basic/sfpack.o
CC arch-linux-c-opt/obj/ksp/pc/impls/asm/asm.o
CC arch-linux-c-opt/obj/ksp/pc/impls/bjacobi/bjacobi.o
CC arch-linux-c-opt/obj/ksp/pc/impls/gamg/gamg.o
make[3]: Leaving directory '/build/petsc/src/petsc-3.19.4'
make[2]: *** [/build/petsc/src/petsc-3.19.4/lib/petsc/conf/rules.doc:28: libs] Error 2
make[2]: Leaving directory '/build/petsc/src/petsc-3.19.4'
**************************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
carlosal1015 commented on 2023-06-08 20:20 (UTC)
now is passing the tests with superlu_dist 8.1.2-2 https://aur.archlinux.org/cgit/aur.git/commit/?h=superlu_dist&id=b800207ab252d45445d482e06cf56e1ab97c2d3c
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.