Package Details: petsc 3.12.0-1

Git Clone URL: (read-only)
Package Base: petsc
Description: Portable, extensible toolkit for scientific computation
Upstream URL:
Licenses: BSD
Submitter: heitzmann
Maintainer: MartinDiehl
Last Packager: MartinDiehl
Votes: 8
Popularity: 0.896185
First Submitted: 2018-02-24 11:36
Last Updated: 2019-10-06 19:53

Dependencies (18)

Sources (2)

Latest Comments

1 2 3 Next › Last »

capitalaslash commented on 2019-07-25 08:56

hypre's latest update moved all include files in /usr/include/hypre, should be updated.

cpuheater commented on 2019-02-13 19:58

When building this with aurutils the build fails with:

==> Starting prepare()...
rm: cannot remove '/logdest/logpipe.K4ZsD575': No such file or directory
==> ERROR: A failure occurred in prepare().

This seems to be an issue somewhere in the build toolchain (see but since I never had the issue with any other package I suggest just working around it by changing:

  while IFS= read file; do
    sed -i "s#$MATCH#\\1python2#" "$file"
  done < <( find ${srcdir} -name "*" -type f -exec grep -le "$MATCH" \{\} + )


  find ${srcdir} -name "*" -type f -exec grep -le "$MATCH" \{\} + | \
    while IFS= read file; do
      sed -i "s#$MATCH#\\1python2#" "$file"

(that works for me)

heitzmann commented on 2019-02-05 14:53

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.

ChrisTX commented on 2018-09-04 10:34

HYPRE detection is currently broken, the correct version should be 2.14.0 and the naming scheme for the so file is now. Replacing the corresponding lines 14/15 in with these fixes the problem:

    VERSION=$(readlink -f '/usr/lib/' | sed -r 's/^.*libHYPRE-(.*)\.so/\1/')

mach6 commented on 2018-08-30 20:12

Do we really need this step?

# src for tutorials
cp -r ${_build_dir}/src ${pkgdir}/usr/share/doc/$pkgname/

The src folder by itself is around 147M. Should it be enough just cp -r ${_build_dir}/doc ${pkgdir}/usr/share/doc/$pkgname?

heitzmann commented on 2018-08-29 17:07

I think that would make sense only if we actually installed petsc in the system directories under /usr/local . I'm not sure what the policy is on that...

mach6 commented on 2018-08-29 15:28

Should we also copy /opt/petsc/linux-c-opt/lib/pkgconfig/PETSc.pc to /usr/share/pkgconfig? I run pkg-config --cflags PETSc and get Package petsc was not found in the pkg-config search path

ChrisTX commented on 2018-08-20 10:36

@heitzmann: Sorry my bad, I just noticed they switched the configure, but hadn't actually tried myself. The reason you get undefined reference errors is because CBLAS and LAPACKE are missing in their pkg-config --libs output. Adding those will make configure work, but the code itself will not compile due to undefined symbol errors while compiling pastix.c. I would assume that PETSc simply doesn't PaStiX 6.x yet and that the API changed. Their own build script still downloads 5.2.4 supporting that assumption.

heitzmann commented on 2018-08-17 16:37

@ChrisTX: Would you have a fix by any chance? I gave it a try but could not make it work. I must be missing some libraries, because what I get from pkg-config pastix --libs gives me many undefined reference errors...

ChrisTX commented on 2018-08-17 09:32

@heitzmann: PaStiX 6.x doesn't ship pastix-conf anymore and they're now using pkg-config instead, with the package names pastix and pastixf (with Fortran support). Could you update accordingly?