[Trilinos-Users] Problem in building Trilinos (NOX Playa)

Eric Bavier bavier at cray.com
Fri Feb 16 10:21:34 EST 2018


Hello Marani,

On Fri, Feb 16, 2018 at 03:26:19PM +0100, a.marani wrote:
> Dear Trilinos community,
> I am trying to build the software (version 12.12.1) for our users at 
> CINECA's supercomputer MARCONI. Everything goes fine until near 87% of the 
> make process, when I get the following error (repeated multiple times):
>
>  Building CXX object 
> packages/Sundance/Playa/src/CMakeFiles/sundancePlaya.dir/NOX_Playa_Group.cpp.o
> /cineca/prod/build/applications/trilinos/12.12.1/intelmpi--2017--binary/BA_WORK/trilinos-12.12.1/packages/Sundance/Playa/src/NOX_Playa_Group.cpp(68): 
> error: object of abstract class type "NOX::NOXPlaya::Vector" is not 
> allowed:
>             pure virtual function 
> "NOX::Abstract::Vector::random" has no overrider
>     precision(3), xVector(rcp(new NOX::NOXPlaya::Vector(initcond, 
> precision, DeepCopy))), fVector(rcp(new NOX::NOXPlaya::Vector(initcond, 
> precision, ShapeCopy))), newtonVector(rcp(new 
> NOX::NOXPlaya::Vector(initcond, precision, ShapeCopy))), 
> gradientVector(rcp(new NOX::NOXPlaya::Vector(initcond, precision, 
> ShapeCopy))), solver(linsolver), jacobian(), nonlinearOp(nonlinOp), 
> normF(0.0)
>                                   ^

See https://github.com/trilinos/Sundance/pull/1 which fixes a
regression caused by a change in Trilinos.  The pull request has not
been merged yet.

You can fetch the commit directly and apply it to you source tree like
so:

$ cd packages/Sundance
$ wget https://github.com/trilinos/Sundance/pull/1/commits/c965ab49ec90c52b87911546b3163c98e1341a5d.patch -O sundance-fix-vector-random.patch
$ patch -p1 <sundance-fix-vector-random.patch

Hope that helps.

-- 
Eric Bavier, Scientific Libraries, Cray Inc.


More information about the Trilinos-Users mailing list