Package Details: petsc-git 20190205-1

Git Clone URL: https://aur.archlinux.org/petsc-git.git (read-only)
Package Base: petsc-git
Description: Portable, extensible toolkit for scientific computation
Upstream URL: https://www.mcs.anl.gov/petsc/
Licenses: BSD
Conflicts: petsc
Provides: petsc
Submitter: heitzmann
Maintainer: heitzmann
Last Packager: heitzmann
Votes: 1
Popularity: 0.644634
First Submitted: 2019-02-05 14:41
Last Updated: 2019-02-05 14:41

Latest Comments

1 2 Next › Last »

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

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: 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

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

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.