Package Details: petsc-git

Git Clone URL: (read-only, click to copy)
Package Base: petsc-git
Description: Portable, extensible toolkit for scientific computation
Upstream URL:
Licenses: BSD
Conflicts: petsc
Provides: petsc, petsc4py
Submitter: heitzmann
Maintainer: entshuld
Last Packager: entshuld
Votes: 3
Popularity: 0.000000
First Submitted: 2019-02-05 14:41 (UTC)
Last Updated: 2022-01-26 18:29 (UTC)

Required by (24)

Sources (3)

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2022-07-06 16:10 (UTC)

Hi, I have the following message error:

 -> Could not find all required packages:
    hypre=2.23.0 (Wanted by: petsc-git)

I think that is not a good idea pin the version hypre=2.23.0.

urbainvaes commented on 2021-02-04 10:08 (UTC)

I think chrpath should be added in make-depends?

heitzmann commented on 2020-05-21 12:17 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

petsc was moved to

jvellojin commented on 2019-04-05 16:54 (UTC) (edited on 2019-04-05 16:54 (UTC) by jvellojin)

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 (UTC)

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 (UTC)

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.