prisms-center / plasticity

PRISMS Crystal Plasticity and Continuum Plasticity FEM code
Other
157 stars 77 forks source link

trilinos-release error #12

Closed Batmanabcdefg closed 2 years ago

Batmanabcdefg commented 5 years ago

/home/fff/deal.ii-candi/trilinos-release-12-10-1/include/Kokkos_View.hpp:1580:3: error: decl-specifier in declaration of deduction guide constexpr unsigned rank( const View<D , P...> & V ) { return V.Rank; } //Temporary until added to view ^~~~~ /home/fff/deal.ii-candi/trilinos-release-12-10-1/include/Kokkos_View.hpp:1580:53: error: ‘signed’ or ‘unsigned’ invalid for ‘__dguide_rank’ constexpr unsigned rank( const View<D , P...> & V ) { return V.Rank; } //Temporary until added to view ^ /home/fff/deal.ii-candi/trilinos-release-12-10-1/include/Kokkos_View.hpp:1580:22: error: deduction guide for ‘std::rank< >’ must have trailing return type

MRezaYaghoobi commented 5 years ago

Can you explain this more. Do you have problems with compiling Deal.II?

Mohammadreza

Batmanabcdefg commented 5 years ago

no, Now I am using DEALII 9.1.0, I cannot compile prisms-center/plasticity. make :

/home/fff/deal.ii-candi/trilinos-release-12-10-1/include/Kokkos_View.hpp:1580:3: error: decl-specifier in declaration of deduction guide
constexpr unsigned rank( const View<D , P...> & V ) { return V.Rank; } //Temporary until added to view
^~~~~~~~~
/home/fff/deal.ii-candi/trilinos-release-12-10-1/include/Kokkos_View.hpp:1580:53: error: ‘signed’ or ‘unsigned’ invalid for ‘__dguide_rank’
constexpr unsigned rank( const View<D , P...> & V ) { return V.Rank; } //Temporary until added to view
^
/home/fff/deal.ii-candi/trilinos-release-12-10-1/include/Kokkos_View.hpp:1580:22: error: deduction guide for ‘std::rank< >’ must have trailing return type
MRezaYaghoobi commented 5 years ago

Yes, You're right. The current version of the code is compatible with deal.II version 8.5.0. Also, you need to compile deal.ii without trilinos package. To do that, if you're using candi, you can turn it off in candi.cfg by commenting that as #PACKAGES="${PACKAGES} once:trilinos". However, the next version, which will be released by August 5th will be compatible with the most updated deal.ii version. Still, you need to compile deal.ii without trilinos package.

manirm commented 5 years ago

Has the new version of prisms-center/plasticity released? I am unable to compile Version 1.0.0 with deal.II V.9.1.1 ( without Trilinos).

MRezaYaghoobi commented 5 years ago

Yes, this is the new release. I compiled it with deal.ii v9.1.1 without problem. Can you put the error you got?

lizuosheng commented 3 years ago

I encountered some difficulties in installing deal.ii without trilinos package according to the tutorial you shared. I have tried many times, but still no success.Can you share a virtual machine so that I can run it directly. If I can get your help, I will be very grateful.my email is lizuosheng625@outlook.com,thank you very much!