Package Details: petsc-git 3.18.1.r24.g1f6a6395d11-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: custom: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: 2022-11-02 03:36 (UTC)

Dependencies (36)

Required by (26)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

killozap commented on 2019-09-30 14:06 (UTC)

petsc was moved to https://gitlab.com/petsc/petsc

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.

linux_dream commented on 2019-02-19 20:15 (UTC)

Thanks for the tip heitzmann, but by switching to the next branch, I get the same build error with pastix instead of superlu_dist.

heitzmann commented on 2019-02-19 19:58 (UTC)

Yes, but the changes are still in branch next, and by default we use branch maint. You can modify the PKGBUILD to try out next and see if that works.

linux_dream commented on 2019-02-19 19:37 (UTC)

I see heitzmann, indeed, petsc also made a quick fix (because I reported it). However I still face the error:

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/isaac/.cache/yay/petsc-git/src/petsc/arch-linux-c-opt


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

Damn...

heitzmann commented on 2019-02-19 09:31 (UTC)

It looks like superlu_dist is already updated. I guess it is only a matter of time until petsc also updates their version.

Mumps should be enabled in this version of petsc: it is set to be downloaded and installed by default. Personally I find Pastix better than Mumps, though. I've had issues with mumps in the past (bugs, maybe).

linux_dream commented on 2019-02-18 21:12 (UTC)

heitzmann, I have reported the error to petsc's Bitbucket repository: https://bitbucket.org/petsc/petsc/issues/260/compatibility-with-openmpi-4. Apparently the error is due to SuperLU that uses a deprecated function that OpenMPI 4 does not support anymore. I am told to try MUMPS instead of SuperLU. Would you happen to have an idea on how to enable MUMPS instead of SuperLU for the petsc compilation?

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.