[Trilinos-Users] [EXTERNAL] PyTrilinos compilation failure on OSX 10.8.5

Dominique Orban dominique.orban at gmail.com
Mon Apr 7 23:46:05 MDT 2014


Bill,

You were right. Trilinos and PyTrilinos build with Swig 2.0.8. Now I'm
getting a bunch of test failures. My test log is here:
https://gist.github.com/10094737

You can safely ignore the "dyld: DYLD environment etc etc" messages; those
are output by OSX and it's a know incurable ailment of Mountain Lion. They
don't cause any harm though.

Hopefully you'll be able to tell the reason for the failures. I see a
number of messages of the form

Required regular expression not found.Regex=[OVERALL FINAL RESULT: TEST
PASSED

which seem to suggest that it's a false negative.

My goal here is to provide a complete Trilinos formula for the Homebrew
package manager (https://brew.sh).

Thanks!

Dominique


On Mon, Apr 7, 2014 at 11:15 AM, Dominique Orban
<dominique.orban at gmail.com>wrote:

> Bill,
>
> Thanks for the reply. I'm using Swig 3.0.0 (the version supplied by
> Homebrew on OSX). I'll see if I can downgrade to 2.0.8.
>
> Dominique
>
>
> On Mon, Apr 7, 2014 at 11:11 AM, Bill Spotz <wfspotz at sandia.gov> wrote:
>
>> Dominique,
>>
>> I don't know exactly what is happening here.  However, when I check the
>> first error, "NOX::Utils::Fill result;", this line is not generated in my
>> python wrapper.
>>
>> What version of SWIG are you using?  I recommend version 2.0.8 for now.
>>
>> -Bill
>>
>> On Apr 6, 2014, at 3:24 AM, Dominique Orban <dominique.orban at gmail.com>
>> wrote:
>>
>> > 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
>> > _______________________________________________
>> > Trilinos-Users mailing list
>> > Trilinos-Users at software.sandia.gov
>> > https://software.sandia.gov/mailman/listinfo/trilinos-users
>>
>> ** Bill Spotz                                              **
>> ** Sandia National Laboratories  Voice: (505)845-0170      **
>> ** P.O. Box 5800                 Fax:   (505)284-0154      **
>> ** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20140407/d7ef8da7/attachment.html>


More information about the Trilinos-Users mailing list