[petsc-users] Elemental support is outdated?

Denis Davydov davydden at gmail.com
Tue Sep 5 09:49:35 CDT 2017


I already tried building PETSc with 0.87.7, the error is:

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


strangely enough I have the same issues with 0.87.4:


/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.4-xas7fy5wlvgtr2a4i7kqm52metc73tqk/include/El/lapack_like/factor.hpp:549:6: note: candidate function [with F = 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
void SolveAfter
     ^
/elemental-0.87.4-xas7fy5wlvgtr2a4i7kqm52metc73tqk/include/El/lapack_like/factor.hpp:543:6: note: candidate template ignored: could not match 'Matrix' against 'DistMatrix'
void SolveAfter
     ^
/elemental-0.87.4-xas7fy5wlvgtr2a4i7kqm52metc73tqk/include/El/lapack_like/factor.hpp:530:6: note: candidate function template not viable: requires 3 arguments, but 4 were provided
void SolveAfter
     ^
/elemental-0.87.4-xas7fy5wlvgtr2a4i7kqm52metc73tqk/include/El/lapack_like/factor.hpp:535:6: note: candidate function template not viable: requires 3 arguments, but 4 were provided
void SolveAfter
     ^
/elemental-0.87.4-xas7fy5wlvgtr2a4i7kqm52metc73tqk/include/El/lapack_like/factor.hpp:558:6: note: candidate function template not viable: requires 5 arguments, but 4 were provided
void SolveAfter
     ^
/elemental-0.87.4-xas7fy5wlvgtr2a4i7kqm52metc73tqk/include/El/lapack_like/factor.hpp:565:6: note: candidate function template not viable: requires 5 arguments, but 4 were provided
void SolveAfter
     ^

Regards,
Denis

> On 5 Sep 2017, at 16:43, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> You could try (with petsc master):
> 
> --download-elemental-commit=v0.87.7
> 
> Latest elemental master appears to have major changes [including C++14
> reqirement] - so that might require more work..
> 
> Satish
> 
> On Tue, 5 Sep 2017, Denis Davydov wrote:
> 
>> Hi Karl,
>> 
>> Thanks for the prompt reply,
>> I did not notice that I was not looking at the master branch.
>> I will try with 0.87.4...
>> 
>> It would still be good if PETSc supports the most recent Elemental.
>> 
>> Regards,
>> Denis.
>> 
>>> On 5 Sep 2017, at 15:10, Karl Rupp <rupp at iue.tuwien.ac.at> wrote:
>>> 
>>> Hi Denis,
>>> 
>>>> 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 whereas 0.87.7 is from Feb. 2017; There are 8 releases in between.
>>> 
>>> the master branch of PETSc uses version 0.87.4 from November 2016:
>>> https://bitbucket.org/petsc/petsc/src/743f4829774bac6ed514af01aa0f24f18a42afc0/config/BuildSystem/config/packages/elemental.py?at=master&fileviewer=file-view-default
>>> 
>>> Best regards,
>>> Karli
>> 
>> 



More information about the petsc-users mailing list