[Trilinos-Users] Problem in building Trilinos (NOX Playa)
a.marani
a.marani at cineca.it
Fri Feb 16 09:26:19 EST 2018
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)
^
/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: no instance of overloaded function "NOX::NOXPlaya::rcp" matches
the argument list
argument types are: (<error-type>)
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)
^
/cineca/prod/build/applications/trilinos/12.12.1/intelmpi--2017--binary/BA_WORK/trilinos-12.12.1/packages/Sundance/Playa/src/NOX_Playa_Group.hpp(77):
note: this candidate was rejected because at least one template argument
could not be deduced
using Teuchos::rcp;
^
/cineca/prod/build/applications/trilinos/12.12.1/intelmpi--2017--binary/BA_WORK/trilinos-12.12.1/packages/Sundance/Playa/src/NOX_Playa_Group.hpp(77):
note: this candidate was rejected because mismatch in count of arguments
using Teuchos::rcp;
/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)
^
/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: no instance of overloaded function "NOX::NOXPlaya::rcp" matches
the argument list
argument types are: (<error-type>)
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)
^
/cineca/prod/build/applications/trilinos/12.12.1/intelmpi--2017--binary/BA_WORK/trilinos-12.12.1/packages/Sundance/Playa/src/NOX_Playa_Group.hpp(77):
note: this candidate was rejected because at least one template argument
could not be deduced
using Teuchos::rcp;
^
/cineca/prod/build/applications/trilinos/12.12.1/intelmpi--2017--binary/BA_WORK/trilinos-12.12.1/packages/Sundance/Playa/src/NOX_Playa_Group.hpp(77):
note: this candidate was rejected because mismatch in count of arguments
using Teuchos::rcp;
^
...and so on.
I don't find any clue on the internet, so i suppose it is not a common
problem. It looks like something in the C++ code is failing, and some
are not defined as they should be, like it is searching for a structure
that doesn't exists or it is defined badly. But I guess it is not the
case, and I'm stuck trying to figure out what is happening.
Did anyone of you encounter the same problem before? Do you need some
extra information to help me solve this problem.
Thank you and best regards,
Alessandro Marani - HPC User Support @ CINECA
--
Marani Alessandro - HPC User Support
CINECA - SuperComputing, Applications and Innovation Department
Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
Phone: +39 051 6171897
E-mail: a.marani at cineca.it
More information about the Trilinos-Users
mailing list