Package Details: petsc 3.21.0-2

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://petsc.org
Keywords: computing scientific
Licenses: BSD
Provides: petsc4py
Submitter: heitzmann
Maintainer: MartinDiehl
Last Packager: MartinDiehl
Votes: 19
Popularity: 0.000100
First Submitted: 2018-02-24 11:36 (UTC)
Last Updated: 2024-04-03 06:01 (UTC)

Pinned Comments

MartinDiehl commented on 2022-10-06 10:26 (UTC)

@jrohwer

When building PETSc (more specifically, petsc4py), one test (ex100 from ksp) will fail if a previous (major) version is installed. I could not figure out why this happens. The solution would be to build in a clean root (which is a little bit complicated due to dependency on other AUR packages) or simply uninstall the old version before.

Any help to solve this issue is welcomed.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 9 Next › Last »

Alad commented on 2024-02-18 16:11 (UTC)

I have trilinos installed but get the following error:

*********************************************************************************************
           UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------------
  Unable to find ml in default locations!
  Perhaps you can specify with --with-ml-dir=<directory>
  If you do not want ml, then give --with-ml=0
  You might also consider using --download-ml instead
*********************************************************************************************

MartinDiehl commented on 2024-02-10 10:42 (UTC)

Unfortunately, OpenMPI with CUDA shows warnings if CUDA is not available. This causes the failure of PETSc tests. See https://github.com/open-mpi/ompi/issues/12314 for the upstream bug report. For the moment, I recommend to simply disable the tests in PKGBUILD, I'll provide a sustainable solution soon.

lahwaacz commented on 2024-02-09 20:58 (UTC)

The messages like

mca_base_component_repository_open: unable to open mca_accelerator_cuda: libcuda.so.1: cannot open shared object file: No such file or directory (ignored)

etc. are just warnings, not erros. It is possible that there are problems with OpenMPI 5.0, but you need to investigate more to find the actual error.

lahwaacz commented on 2023-12-24 11:29 (UTC)

@MartinDiehl You've added superlu_dist as hard dependency, but it is only available in AUR. It seems unintentional according to the commit message.

MartinDiehl commented on 2023-12-04 15:43 (UTC)

@exocortex: During compilation, PETSc will report the found packages. If you install superLU and then compile (installing an already built package is not sufficient) PETSc, it should find it.

exocortex commented on 2023-12-04 15:40 (UTC)

Is there a way that I can find out if my installation is using superlu ? Does it work to install SuperLU and then reinstall petsc (so that petsc automatically detects SuperLU when reinstalling)?

I am trying specifically to run the TAO/toy example (called "maros.c" in newer versions). The example can be found here

MartinDiehl commented on 2023-11-29 16:34 (UTC)

@exocortex:

superLU is an optional dependency, but it need to be present at build time. If you install superLU firt, PETSc should find it during build.

That makes building in a clean CHROOT a little bit more difficult, so I normally build on my system.