[Trilinos-Users] PyTrilinos compilation failure on OSX 10.8.5

Dominique Orban dominique.orban at gmail.com
Sun Apr 6 03:24:25 MDT 2014


I'm using clang 425 on OSX 10.8.5. I configure Trilinos using the following
cmake flags:

               -DBUILD_SHARED_LIBS=ON
               -DTPL_ENABLE_MPI:BOOL=ON
               -DTPL_ENABLE_BLAS=ON
               -DTPL_ENABLE_LAPACK=ON
               -DTPL_ENABLE_Zlib:BOOL=ON
               -DTrilinos_ENABLE_ALL_PACKAGES=ON
               -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=ON
               -DTrilinos_ENABLE_TESTS:BOOL=ON
               -DTrilinos_ENABLE_EXAMPLES:BOOL=ON
               -DTrilinos_VERBOSE_CONFIGURE:BOOL=OFF
               -DZoltan_ENABLE_ULLONG_IDS:Bool=ON
               -DTrilinos_ENABLE_ShyLU:BOOL=ON
               -DTrilinos_ENABLE_Teko:BOOL=ON
               -DTPL_ENABLE_Boost:BOOL=ON
               -DTPL_ENABLE_Netcdf:BOOL=ON
               -DTrilinos_ENABLE_PyTrilinos:BOOL=ON

I get to the 100% mark but compilation fails at that point:

[100%] Building CXX object
packages/PyTrilinos/src/CMakeFiles/Pliris.dir/PlirisPYTHON_wrap.cpp.o

/tmp/trilinos-yAyl/trilinos-11.6.1-Source/build/packages/PyTrilinos/src/NOX.__init__PYTHON_wrap.cpp:5802:20:
error:
      no matching constructor for initialization of 'NOX::Utils::Fill'
  NOX::Utils::Fill result;
                   ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/packages/nox/src/NOX_Utils.H:114:5:
note:
      candidate constructor not viable: requires 2 arguments, but 0 were
provided
    Fill(int ntimes, char ch) : n(ntimes), c(ch) {};
    ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/packages/nox/src/NOX_Utils.H:111:9:
note:
      candidate constructor (the implicit copy constructor) not viable:
requires 1
      argument, but 0 were provided
  class Fill {
        ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/build/packages/PyTrilinos/src/NOX.__init__PYTHON_wrap.cpp:6542:19:
error:
      no matching constructor for initialization of 'NOX::Utils::Sci'
  NOX::Utils::Sci result;
                  ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/packages/nox/src/NOX_Utils.H:127:5:
note:
      candidate constructor not viable: requires at least argument 'val',
but no
      arguments were provided
    Sci(double val, int precision = -1) : d(val), p(precision) {};
    ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/packages/nox/src/NOX_Utils.H:124:9:
note:
      candidate constructor (the implicit copy constructor) not viable:
requires 1
      argument, but 0 were provided
  class Sci {
        ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/build/packages/PyTrilinos/src/NOX.__init__PYTHON_wrap.cpp:6573:19:
error:
      no matching constructor for initialization of 'NOX::Utils::Sci'
  NOX::Utils::Sci result;
                  ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/packages/nox/src/NOX_Utils.H:127:5:
note:
      candidate constructor not viable: requires at least argument 'val',
but no
      arguments were provided
    Sci(double val, int precision = -1) : d(val), p(precision) {};
    ^
/tmp/trilinos-yAyl/trilinos-11.6.1-Source/packages/nox/src/NOX_Utils.H:124:9:
note:
      candidate constructor (the implicit copy constructor) not viable:
requires 1
      argument, but 0 were provided
  class Sci {
        ^

Any ideas?

Thanks,

Dominique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20140406/4dba95e1/attachment.html>


More information about the Trilinos-Users mailing list