Package Details: petsc-git 20191031-1

Git Clone URL: (read-only, click to copy)
Package Base: petsc-git
Description: Portable, extensible toolkit for scientific computation
Upstream URL:
Licenses: BSD
Conflicts: petsc
Provides: petsc
Submitter: heitzmann
Maintainer: heitzmann
Last Packager: heitzmann
Votes: 1
Popularity: 0.017653
First Submitted: 2019-02-05 14:41
Last Updated: 2019-10-31 10:48

Latest Comments

1 2 Next › Last »

killozap commented on 2019-09-30 14:06

petsc was moved to

jvellojin commented on 2019-04-05 16:54

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

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

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

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

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

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/ ************* 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


heitzmann commented on 2019-02-19 09:31

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

heitzmann, I have reported the error to petsc's Bitbucket repository: 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

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