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

Littlewood, David John djlittl at sandia.gov
Wed Oct 25 16:53:48 EDT 2017


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.


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.sandia.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:

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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20171025/07bf047a/attachment.html>

More information about the Trilinos-Users mailing list