Package Details: petsc-git 3.21.1.r89.g70699e4d17e-1

Git Clone URL: https://aur.archlinux.org/petsc-git.git (read-only, click to copy)
Package Base: petsc-git
Description: Portable, extensible toolkit for scientific computation
Upstream URL: https://petsc.org
Licenses: BSD-2-Clause
Conflicts: petsc
Provides: petsc, petsc4py
Submitter: heitzmann
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 2
Popularity: 0.000000
First Submitted: 2019-02-05 14:41 (UTC)
Last Updated: 2024-05-29 14:47 (UTC)

Required by (27)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3

linux_dream commented on 2019-02-15 21:27 (UTC) (edited on 2019-02-17 13:51 (UTC) by linux_dream)

Thank you heitzmann, that indeed was the culprit. I hope petsc will get fixed soon! I also changed slepc for slepc-git.

heitzmann commented on 2019-02-14 22:14 (UTC)

This problem is related to the updated openmpi package to version 4. I believe PETSc only supports version 3 at this moment. I had the same issue and could only make it work by downgrading openmpi back to the last version. If you do, make sure you recompile any packages that depend on it, such as fftw-mpi.

linux_dream commented on 2019-02-14 21:50 (UTC)

I had the same problem as jvellojin, I installed fftw-mpi (had to remove fftw). Then I faced a similar problem with hdf5 and hdf5-openmpi. That problem was solved too.

However here is another, much nastier problem I'm facing:

=============================================================================== Compiling and installing SUPERLU_DIST; this may take several minutes =============================================================================== TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:160) ************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):


Downloaded superlu_dist could not be used. Please check install in /home/linuxdream/.cache/yay/petsc-git/src/petsc/arch-linux-c-opt


==> ERROR: A failure occurred in build().
Aborting... Error making: petsc-git

I'm really lost now... Needless to say the petsc package also returned the same problem(s).

heitzmann commented on 2019-02-11 12:34 (UTC)

I believe it works with fftw-mpi. It might work with fftw if you set --with-mpi=0, but I haven't tried that.

jvellojin commented on 2019-02-11 12:28 (UTC)

When trying to install from pamac gives the following error when building PETSC:

Unable to find fftw in default locations! Perhaps you can specify with --with-fftw-dir=<directory> If you do not want fftw, then give --with-fftw=0 You might also consider using --download-fftw instead.

Setting --with-fftw=0 is followed by the error: CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandartArgs.cmake:137 (message): PETSc could not be found. Be sure to set PETSC DIR. (missing: PETSC FOUND)