[petsc-users] Elemental support is outdated?

Denis Davydov davydden at gmail.com
Tue Sep 5 07:26:02 CDT 2017


Dear developers,

I just tried compiling PETSc with Elemental 0.87.7 and got compiler errors (see below) which suggests that the interface in PETSc is outdated.
Looking at the “elemental.py” https://bitbucket.org/petsc/petsc/src/90564b43f6b05485163c147b464b5d6d28cde3ef/config/BuildSystem/config/packages/elemental.py?at=hongzh%2Fswe&fileviewer=file-view-default <https://bitbucket.org/petsc/petsc/src/90564b43f6b05485163c147b464b5d6d28cde3ef/config/BuildSystem/config/packages/elemental.py?at=hongzh/swe&fileviewer=file-view-default> 
I see that the suggested Elemental's commit is from Nov 2015 https://github.com/elemental/Elemental/commit/e81005dc3af9b331d43e16e4d221e889378e2c49 <https://github.com/elemental/Elemental/commit/e81005dc3af9b331d43e16e4d221e889378e2c49> 
whereas 0.87.7 is from Feb. 2017; There are 8 releases in between.

Regards,
Denis.

===

petsc-3.7.6/src/mat/impls/elemental/matelem.cxx:653:7: error: no matching function for call to 'SolveAfter'
      El::lu::SolveAfter(El::NORMAL,*a->emat,*a->pivot,xer);
      ^~~~~~~~~~~~~~~~~~
elemental-0.87.7-arf6zkytd5mmyckplcrjiin3zapbhvyt/include/El/lapack_like/factor.hpp:552:6: note: candidate function [with Field = double] not viable: no known conversion from 'El::DistMatrix<PetscInt, El::VC, El::STAR>' (aka 'DistMatrix<int, El::VC, El::STAR>') to 'const El::DistPermutation' for 3rd argument



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170905/cb1b1d5e/attachment.html>


More information about the petsc-users mailing list