Package Details: petsc-git 20210515-1

Git Clone URL: (read-only, click to copy)
Package Base: petsc-git
Description: Portable, extensible toolkit for scientific computation (external downloads enabled)
Upstream URL:
Licenses: BSD
Conflicts: petsc
Provides: petsc
Submitter: heitzmann
Maintainer: heitzmann
Last Packager: heitzmann
Votes: 3
Popularity: 0.000633
First Submitted: 2019-02-05 14:41
Last Updated: 2021-05-18 20:57

Required by (14)

Sources (1)

Latest Comments

1 2 Next › Last »

urbainvaes commented on 2021-02-04 10:08

I think chrpath should be added in make-depends?

heitzmann commented on 2020-05-21 12:17

Indeed I just copied a version that seemed to be working because I didn't have the time to fully check it. I've gone through the external packages now and left all that were working as external downloads. Party and Suitesparse are notable exceptions for now.

This last PKGBUILD update seems to be working properly now. Let me know if I missed anything.

killozap commented on 2020-05-21 01:38

heitzmann: I checked, the previous PKGBUILD does indeed not compile with latest gcc. But at the beginning of the new script, the for loop for the desired external packages can be uncommented. Seems to work as before, with the latest gcc.

Btw, in PKGBUILD on l.103 there is a $ missing: --CXXOPTFLAGS="CXXOPTFLAGS" Thanks

heitzmann commented on 2020-05-20 19:27

Hi killozap, I haven't been using this package for a while. I got a message that it was not working anymore due to the latest gcc update, so I updated to this working version. Have you tried installing the previous PKGBUILD version with the latest gcc?

killozap commented on 2020-05-20 18:55

Hi, I thought the idea of this package, in contrast to petsc was that petsc would conveniently download the external packages/optional dependencies automatically. This has been changed? Many packages, like scotch, scalapack require manual intervention when installed from the AUR.

heitzman on the petsc package: "I'm disowning this package because I don't have the time to handle all dependency detection and their supported versions. I've created a petsc-git pacakge which downloads and installs all supported dependencies with eventual patches."

killozap commented on 2019-09-30 14:06

petsc was moved to

jvellojin commented on 2019-04-05 16:54

On a fresh installed Arch, with openmpi frozen on version 3.x,fftw-mpi, I get the following error when building petsc-git:

/var/tmp/pamac-build-jesus/dolfin-git/src/dolfin/dolfin/la/PETScVector.cpp: En la función miembro ‘virtual void dolfin::PETScVector::gather(dolfin::GenericVector&, const std::vector<int>&) const’: /var/tmp/pamac-build-jesus/dolfin-git/src/dolfin/dolfin/la/PETScVector.cpp:753:10: error: ‘VecScatterCreateWithData’ no se declaró en este ámbito ierr = VecScatterCreateWithData(_x, from, _y.vec(), to, &scatter); ^~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/pamac-build-jesus/dolfin-git/src/dolfin/dolfin/la/PETScVector.cpp:753:10: nota: suggested alternative: ‘VecScatterCreateToZero’ ierr = VecScatterCreateWithData(_x, from, _y.vec(), to, &scatter); ^~~~~~~~~~~~~~~~~~~~~~~~ VecScatterCreateToZero make[2]: [dolfin/CMakeFiles/dolfin.dir/build.make:1935: dolfin/CMakeFiles/dolfin.dir/la/PETScVector.cpp.o] Error 1 make[2]: Se espera a que terminen otras tareas.... make[1]: [CMakeFiles/Makefile2:273: dolfin/CMakeFiles/dolfin.dir/all] Error 2 make: [Makefile:141: all] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando...

linux_dream commented on 2019-02-19 20:32

Yeah, I've just tried that, but then it's scalapack's turn to yield the same build error... I guess the downgrade to openmpi 3 is by far the easiest solution for now.

heitzmann commented on 2019-02-19 20:24

Probably the same issue there... I don't believe you need pastix if you're ok with using superlu, so you might simply want to remove it from the list of downloaded packages for now.

linux_dream commented on 2019-02-19 20:15

Thanks for the tip heitzmann, but by switching to the next branch, I get the same build error with pastix instead of superlu_dist.