[Trilinos-Users] [EXTERNAL] [Peridigm-users] Moocho

Eligiusz Postek ewpostek at googlemail.com
Fri Oct 27 07:19:06 EDT 2017


​Dave,
Anyway, it is true, that it is warning,
the problem is rather with linking
[ 57%] Linking CXX static library libmoocho.a
[ 57%] Built target moocho
make: *** [all] Error 2
​The warning passed.
Elek
​


On Fri, Oct 27, 2017 at 10:46 AM, Eligiusz Postek <ewpostek at googlemail.com>
wrote:

> Dave,
> thank you for the answer.
> I do not have warnings-as-errors on.
> I am examining the problem.
>
> It is considered as an issue
> https://github.com/trilinos/Trilinos/issues/1877
> It is opened by Bartlett Roscoe who works on Trilinos.
>
> I was just thinking about a temporary measure
> to circumvent it.
> The problem appears in version 11 as well.
>
> Best regards,
> Elek
>
>
>
>
>
> On Wed, Oct 25, 2017 at 9:53 PM, Littlewood, David John <
> djlittl at sandia.gov> wrote:
>
>> Elek,
>>
>>
>>
>> That looks like a warning, not an error.  The build should not fail
>> because of a warning, unless you have warnings-as-errors turned on.  Are
>> you certain that the moocho warning is the cause of the build failure?
>>
>>
>>
>> Further, the warning line tells you how to suppress the warning.  Or you
>> could hack Trilinos to make the offending non-virtual destructor into a
>> virtual destructor (maybe there is no destructor defined, in which case
>> just add a virtual no-op destructor).  Admittedly, this shouldn’t be
>> something you have to deal with.  Just trying to get you a path forward.
>>
>>
>>
>> I’m going to forward this to the Trilinos mailing list, as it’s not a
>> Peridigm issue per se.
>>
>>
>>
>> Dave
>>
>>
>>
>>
>>
>> *From: *<peridigm-users-bounces at software.sandia.gov> on behalf of
>> Eligiusz Postek <ewpostek at googlemail.com>
>> *Date: *Wednesday, October 25, 2017 at 2:36 PM
>> *To: *"peridigm-users at software.sandia.gov" <peridigm-users at software.sandi
>> a.gov>
>> *Subject: *[EXTERNAL] [Peridigm-users] Moocho
>>
>>
>>
>> Dear Colleagues,
>> Let me ask, is it a  method to avoid MOOCHO
>> pack ?
>> I build trilinos for peridigm.
>>
>> However, I get the error:
>>
>> /home/ewpostek/Tri2/trilinos-12.12.1-Source/packages/moocho/
>> src/MoochoPack/configurations/MamaJama/MoochoPack_NLPAlgoConfigMamaJama.cpp:1922:1:
>> required from here
>> /home/ewpostek/Tri2/trilinos-12.12.1-Source/packages/teuchos
>> /core/src/Teuchos_RCPDecl.hpp:985:33: warning: deleting object of
>> polymorphic class type 'MoochoPack::CheckConvergenceStd_Strategy' which
>> has non-virtual destructor might cause undefined behaviour
>> [-Wdelete-non-virtual-dtor]
>>    void free( T* ptr ) { if(ptr) delete ptr; }
>>                                  ^
>> [ 57%] Linking CXX static library libmoocho.a
>> [ 57%] Built target moocho
>> make: *** [all] Error 2
>>
>>
>>
>> No, it is an issue in trilinos, as below:
>>
>>
>> https://github.com/trilinos/Trilinos/issues/1877
>>
>> I can't avoid this error working on two different clusters (cray xc40 and
>> another with centos).
>>
>> However, I guess you build the peridigm.
>>
>> Could you be so kind to give a hint ?
>>
>> Best regards,
>>
>> Elek
>>
>> orcid.org/0000-0002-5757-8757
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20171027/894509b5/attachment.html>


More information about the Trilinos-Users mailing list