Package Details: petsc 3.16.0-1

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://www.mcs.anl.gov/petsc
Keywords: computing scientific
Licenses: BSD
Provides: petsc4py
Submitter: heitzmann
Maintainer: MartinDiehl
Last Packager: MartinDiehl
Votes: 16
Popularity: 0.197445
First Submitted: 2018-02-24 11:36
Last Updated: 2021-09-30 14:31

Dependencies (21)

Required by (18)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

carlosal1015 commented on 2021-09-23 21:15

Thanks @MartinDiehl, I'm glad we have python bindings and the scotch package will be good maintained soon. Both are the building blocks of many packages. Here is the log file for petsc 3.15.4-5, no problem installation.

MartinDiehl commented on 2021-09-23 09:02

@lahwaacz: thanks, it is fixed now.

lahwaacz commented on 2021-09-22 14:48

The version 3.15.4-3 does not build for me (in a clean chroot with aurutils):

=========================================
Now to install the libraries do:
sudo make PETSC_DIR=/build/petsc/src/petsc-3.15.4 PETSC_ARCH=arch-linux-c-opt install
=========================================
*** Using PETSC_DIR=/build/petsc/src/petsc-3.15.4 PETSC_ARCH=arch-linux-c-opt ***
*** Copying PETSc to DESTDIR location: /build/petsc/src/tmp/opt/petsc/linux-c-opt  ***
====================================
Copy to DESTDIR /build/petsc/src/tmp/opt/petsc/linux-c-opt is now complete.
Before use - please copy/install over to specified prefix: /opt/petsc/linux-c-opt
====================================
/usr/bin/make  --no-print-directory -f makefile PETSC_ARCH=arch-linux-c-opt PETSC_DIR=/build/petsc/src/petsc-3.15.4 mpi4py-install petsc4py-install libmesh-install mfem-install slepc-install hpddm-install amrex-install bamg-install
make[2]: Nothing to be done for 'mpi4py-install'.
*** Building petsc4py ***
Sorry, user builduser is not allowed to execute '/usr/bin/python setup.py build' as builduser on lahwaacz.
**************************ERROR*************************************
Error building petsc4py.
********************************************************************
make[2]: *** [/build/petsc/src/petsc-3.15.4/arch-linux-c-opt/lib/petsc/conf/petscrules:49: petsc4pybuild] Error 1
make[1]: *** [makefile:296: install] Error 2
make: *** [GNUmakefile:17: install] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/lahwaacz/build

MartinDiehl commented on 2021-09-21 15:52

@carlosal1015: I missed some dependencies. Please let me know if the current version still does not work.

xantares commented on 2020-05-27 08:52

can you check the checksums ?

Validating source files with sha256sums...

petsc-lite-3.13.1.tar.gz ... Passed

test_optdepends.sh ... FAILED

MartinDiehl commented on 2020-04-04 10:27

@xantares: This is the first time that the extensive test suite (including popups) is exectuted. I'm not sure if that is the intended beavior, I guess not.

xantares commented on 2020-04-04 09:28

could "make test" be run with xvfb-run to avoid popups ?

capitalaslash commented on 2019-07-25 08:56

hypre's latest update moved all include files in /usr/include/hypre, test_optdepends.sh 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 https://github.com/AladW/aurutils/issues/19) 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" \{\} + )

to:

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

(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.