[Trilinos-Users] [EXTERNAL] Re: Trilinos 11.10.2: sacado test fail to compile with clang

Phipps, Eric T etphipp at sandia.gov
Sun Nov 9 09:45:30 MST 2014


Denis,

As Simone mentioned, the clang errors have been fixed in 11.12.  Unfortunately there were some Trilinos framework changes right before the release that introduced these linking errors.  I promise that will be fixed very soon and a new release will be generated.  I will let you know when that happens.

-Eric

On Nov 9, 2014, at 8:28 AM, Denis Davydov <davydden at gmail.com<mailto:davydden at gmail.com>> wrote:

Thank you very much Simone for a prompt answer.
Sorry for reporting something that is already fixed.

There is also a sacado test compilation issue with 11.12.1.
Perhaps it has been already discussed, but I could not find how to access
mailing list archives to check it.
Just in case, here is the compilation error:

[ 16%] Building CXX object packages/sacado/test/performance/CMakeFiles/fe_jac_fill_funcs.dir/fe_jac_fill_funcs.cpp.o
Linking CXX shared library libfe_jac_fill_funcs.dylib
Undefined symbols for architecture x86_64:
  "Teuchos::ActiveRCPNodesSetup::ActiveRCPNodesSetup()", referenced from:
      __GLOBAL__I_a in fe_jac_fill_funcs.cpp.o
  "Teuchos::ActiveRCPNodesSetup::~ActiveRCPNodesSetup()", referenced from:
      __GLOBAL__I_a in fe_jac_fill_funcs.cpp.o
  "Teuchos::Time::stop()", referenced from:
      analytic_jac_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
      residual_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
  "Teuchos::Time::start(bool)", referenced from:
      analytic_jac_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
      residual_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
  "Teuchos::Time::Time(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)", referenced from:
      analytic_jac_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
      residual_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
  "Teuchos::Time::totalElapsedTime(bool) const", referenced from:
      analytic_jac_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
      residual_fill(unsigned int, unsigned int, double) in fe_jac_fill_funcs.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Kind regards,
Denis

On 9 Nov 2014, at 16:18, Simone Rossi <simone.rossi at epfl.ch<mailto:simone.rossi at epfl.ch>> wrote:

Dear Denis,
we had a discussion not long ago about it.
I solved this issue by including in Sacado_MathFunctions.hpp, the c math library, that is:
#include <cmath>

The bugfix should be included included in future versions of Trilinos,
Best,
Simone


_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov<mailto:Trilinos-Users at software.sandia.gov>
https://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20141109/ce98ff33/attachment.html>


More information about the Trilinos-Users mailing list