[Trilinos-Users] [EXTERNAL] Re: error while installing stk package

Sjaardema, Gregory D gdsjaar at sandia.gov
Thu Nov 20 12:56:26 MST 2014


The current stk does not have vlm, it was removed a couple months ago, but
probably after the Trilinos branch.

Do you need the stk_search capability?  Stk_mesh does not depend on
stk_search, so if you disable stk_search, stk_mesh should still build.

What version of the glm library are you using?

..Greg

On 11/20/14, 12:41 PM, "hitesh.raninga at stud.uni-due.de"
<hitesh.raninga at stud.uni-due.de> wrote:

>>i need it for peridigm. without stk installation i am getting error in
>installing peridigm.
>and by disabling tpl glm stk doesn't get built.
>
>trilinos-users-request at software.sandia.gov wrote on 11/20/2014 11:00 AM:
>>> Subject:
>>> [Trilinos-Users] error while installing stk package
>>> From:
>>> <hitesh.raninga at stud.uni-due.de>
>>> Date:
>>> 11/20/2014 02:25 AM
>>>
>>> To:
>>> <trilinos-users at software.sandia.gov>
>>> CC:
>>> <dominik.brands at uni-due.de>
>>>
>>>
>>> hello,
>>> i am getting following error while compiling stk package
>>> "In file included from
>>> 
>>>/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_u
>>>til/stk_search_util/PeriodicBoundarySearch.cpp:34:0:
>>> 
>>>/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_u
>>>til/stk_search_util/PeriodicBoundarySearch.hpp:
>>> In constructor
>>> 
>>>Œstk::mesh::PeriodicBoundarySearch<CoordinateFunctor>::TransformHelper::
>>>TransformHelper(double,
>>> const double*)¹:
>>> 
>>>/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_u
>>>til/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
>>> error: no matching function for call to Œrotate(double&, const double&,
>>> const double&, const double&)¹
>>>         m_rotation = glm::f64mat3x3(glm::rotate(angle, axis[0],
>>>axis[1],
>>> axis[2]));
>>>                
>>>         ^
>>> 
>>>/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_u
>>>til/stk_search_util/PeriodicBoundarySearch.hpp:96:79:
>>> note: candidates are:
>>> In file included from /usr/include/glm/gtc/matrix_transform.hpp:292:0,
>>>                   from
>>> 
>>>/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_u
>>>til/stk_search_util/PeriodicBoundarySearch.hpp:39,
>>>                   from
>>> 
>>>/home/hitesh/Downloads/trilinos-11.12.1-Source/packages/stk/stk_search_u
>>>til/stk_search_util/PeriodicBoundarySearch.cpp:34:
>>> /usr/include/glm/gtc/matrix_transform.inl:69:43: note: template<class
>>>T,
>>> glm::precision P> glm::detail::tmat4x4<T, P> glm::rotate(const
>>> glm::detail::tmat4x4<T, P>&, const T&, const glm::detail::tvec3<T, P>&)
>>>    GLM_FUNC_QUALIFIER detail::tmat4x4<T, P> rotate
>>>                                             ^
>> [snip]
>>> "
>>> can you please help me with this?
>>>
>>> regards,
>>> Hitesh Raninga
>>>
>>>
>>>
>> Hitesh,
>>
>> You could try disabling the glm TPL entirely with -D TPL_ENABLE_GLM=OFF;
>> however, I don't know if you really need it for your application. Please
>> describe what it is you want to do with STK. The STK experts on this
>> list (I'm not one of them) might be able to offer more help if they have
>> some context.
>>
>> Regards,
>> Jonathan
>>
>>
>> _______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at software.sandia.gov
>> https://software.sandia.gov/mailman/listinfo/trilinos-users
>>
>>
>
>
>_______________________________________________
>Trilinos-Users mailing list
>Trilinos-Users at software.sandia.gov
>https://software.sandia.gov/mailman/listinfo/trilinos-users



More information about the Trilinos-Users mailing list