The LAST compile step error
ZhongshengSang opened this issue · 5 comments
I installed everything as you described in the wiki, while finally I got this brute and messy error. I do not have any idea about that. I guess the problem is the yaml and tried to install many different versions of yaml (old or new), nothing worked. Would you mind giving me any tips for my case? Thanks so much and stay well.
The error as follow:
[zsl1990@pliny build]$ make
Scanning dependencies of target nalu
[ 0%] Building CXX object CMakeFiles/nalu.dir/src/ActuatorLinePointDrag.C.o
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h: In member function 'sierra::nalu::BoundaryConditions* sierra::nalu::BoundaryConditions::load(const YAML::Node&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:70:34: error: could not convert '(& node)->YAML::Node::operator[](((const char*)"boundary_conditions"))' from 'const YAML::Node' to 'bool'
if(node["boundary_conditions"]) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:71:71: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node boundary_conditions = node["boundary_conditions"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:71:71: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:73:90: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node boundary_condition_node = boundary_conditions[iboundary_condition];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:73:90: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:14:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/InitialConditions.h: In member function 'sierra::nalu::InitialConditions* sierra::nalu::InitialConditions::load(const YAML::Node&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/InitialConditions.h:68:33: error: could not convert '(& node)->YAML::Node::operator[](((const char*)"initial_conditions"))' from 'const YAML::Node' to 'bool'
if(node["initial_conditions"]) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/InitialConditions.h:69:69: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node initial_conditions = node["initial_conditions"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/InitialConditions.h:69:69: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:14:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/InitialConditions.h:71:88: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node initial_condition_node = initial_conditions[j_initial_condition];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/InitialConditions.h:71:88: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:16:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h: In static member function 'static void sierra::nalu::NaluParsingHelper::emit(YAML::Emitter&, const YAML::Node&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:33:13: error: 'const class YAML::Node' has no member named 'as'
out = node.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:33:27: error: expected primary-expression before '>' token
out = node.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:33:29: error: expected primary-expression before ')' token
out = node.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:39:44: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node subnode = node[i] ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:39:44: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:16:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:46:14: error: 'const_iterator' is not a member of 'YAML'
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:46:35: error: expected ;' before 'i'
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:46:53: error: 'i' was not declared in this scope
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:49:21: error: 'const class YAML::Node' has no member named 'as'
out = key.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:49:35: error: expected primary-expression before '>' token
out = key.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:49:37: error: expected primary-expression before ')' token
out = key.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h: In static member function 'static std::string sierra::nalu::NaluParsingHelper::line_info(const YAML::Node&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:75:11: error: 'const class YAML::Node' has no member named 'Mark'
<< node.Mark().pos << ", "
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:76:11: error: 'const class YAML::Node' has no member named 'Mark'
<< node.Mark().line << ", "
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:77:11: error: 'const class YAML::Node' has no member named 'Mark'
<< node.Mark().column << ")" ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h: In static member function 'static void sierra::nalu::NaluParsingHelper::traverse(std::ostream&, const YAML::Node&, unsigned int)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:100:20: error: 'const class YAML::Node' has no member named 'as'
out = node.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:100:34: error: expected primary-expression before '>' token
out = node.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:100:36: error: expected primary-expression before ')' token
out = node.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:113:14: error: 'const_iterator' is not a member of 'YAML'
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:113:35: error: expected ';' before 'i'
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:113:53: error: 'i' was not declared in this scope
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:116:21: error: 'const class YAML::Node' has no member named 'as'
out = key.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:116:35: error: expected primary-expression before '>' token
out = key.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:116:37: error: expected primary-expression before ')' token
out = key.asstd::string();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h: In static member function 'static void sierra::nalu::NaluParsingHelper::find_nodes_given_key(const string&, const YAML::Node&, std::vector<const YAML::Node*>&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:137:20: error: could not convert '(& node)->YAML::Node::operator[]<std::basic_string >((* & key))' from 'const YAML::Node' to 'bool'
if (node[key])
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:151:12: error: 'const_iterator' is not a member of 'YAML'
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:151:33: error: expected ';' before 'i'
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsingHelper.h:151:51: error: 'i' was not declared in this scope
for (YAML::const_iterator i = node.begin(); i != node.end(); ++i) {
^
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: In function 'void sierra::nalu::get_if_present(const YAML::Node&, const string&, T&, const T&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:423:20: error: 'const class YAML::Node' has no member named 'as'
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:423:24: error: expected primary-expression before '>' token
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:423:26: error: expected primary-expression before ')' token
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: In function 'void sierra::nalu::get_if_present_no_default(const YAML::Node&, const string&, T&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:436:20: error: 'const class YAML::Node' has no member named 'as'
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:436:24: error: expected primary-expression before '>' token
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:436:26: error: expected primary-expression before ')' token
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: In function 'void sierra::nalu::get_required(const YAML::Node&, const string&, T&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:446:20: error: 'const class YAML::Node' has no member named 'as'
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:446:24: error: expected primary-expression before '>' token
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:446:26: error: expected primary-expression before ')' token
result = value.as();
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: At global scope:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:509:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Velocity {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:509:51: error: explicit specialization of non-template 'YAML::convert'
template<> struct convertsierra::nalu::Velocity {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:513:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Coordinates {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:513:52: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::Coordinates {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:517:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Pressure {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:517:49: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::Pressure {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:521:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::TurbKinEnergy {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:521:54: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::TurbKinEnergy {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:525:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::SpecDissRate {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:525:53: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::SpecDissRate {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:529:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Temperature {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:529:52: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::Temperature {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:533:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::MixtureFraction {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:533:56: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::MixtureFraction {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:537:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::MassFraction {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:537:53: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::MassFraction {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:541:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Emissivity {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:541:51: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::Emissivity {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:545:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Irradiation {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:545:52: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::Irradiation {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:549:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::Transmissivity {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:549:55: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::Transmissivity {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:553:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::EnvironmentalT {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:553:55: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::EnvironmentalT {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:557:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::ReferenceTemperature {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:557:61: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::ReferenceTemperature {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:561:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::HeatTransferCoefficient {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:561:64: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::HeatTransferCoefficient {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:565:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::RobinCouplingParameter {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:565:63: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::RobinCouplingParameter {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:569:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::UserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:569:49: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::UserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:573:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::NormalHeatFlux {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:573:55: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::NormalHeatFlux {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:577:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::NormalTemperatureGradient {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:577:66: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::NormalTemperatureGradient {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:581:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::MasterSlave {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:581:52: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::MasterSlave {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:585:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::WallUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:585:53: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::WallUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:589:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::InflowUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:589:55: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::InflowUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:593:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::OpenUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:593:53: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::OpenUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:597:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::OversetUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:597:56: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::OversetUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:601:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::SymmetryUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:601:57: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::SymmetryUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:605:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::PeriodicUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:605:57: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::PeriodicUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:609:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::NonConformalUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:609:61: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::NonConformalUserData {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:614:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::BoundaryConditionOptions {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:614:65: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::BoundaryConditionOptions {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:618:19: error: 'convert' is not a class template
template<> struct convertsierra::nalu::MeshInput {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:618:50: error: 'YAML::convert' is not a template type
template<> struct convertsierra::nalu::MeshInput {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:623:19: error: 'convert' is not a class template
template<> struct convert<std::map<std::string,std::vectorstd::string > > {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:623:75: error: 'YAML::convert' is not a template type
template<> struct convert<std::map<std::string,std::vectorstd::string > > {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C: In member function 'virtual void sierra::nalu::ActuatorLinePointDrag::load(const YAML::Node&)':
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:239:54: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node y_actuatorLine = y_node["actuator"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:239:54: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:240:21: error: could not convert 'y_actuatorLine' from 'const YAML::Node' to 'bool'
if (y_actuatorLine) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:253:73: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node searchTargets = y_actuatorLine["search_target_part"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:253:73: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:256:45: error: 'const class YAML::Node' has no member named 'as'
searchTargetNames_[0] = searchTargets.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:256:59: error: expected primary-expression before '>' token
searchTargetNames_[0] = searchTargets.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:256:61: error: expected primary-expression before ')' token
searchTargetNames_[0] = searchTargets.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:261:50: error: 'const class YAML::Node' has no member named 'as'
searchTargetNames_[i] = searchTargets[i].asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:261:64: error: expected primary-expression before '>' token
searchTargetNames_[i] = searchTargets[i].asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:261:66: error: expected primary-expression before ')' token
searchTargetNames_[i] = searchTargets[i].asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:265:87: error: no matching function for call to 'YAML::Node::Node(const YAML::Node)'
const YAML::Node y_specs = expect_sequence(y_actuatorLine, "specifications", false);
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:265:87: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:266:16: error: could not convert 'y_specs' from 'const YAML::Node' to 'bool'
if (y_specs) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:277:48: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node y_spec = y_specs[ispec];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:277:48: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:283:57: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node theName = y_spec["turbine_name"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:283:57: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:284:22: error: could not convert 'theName' from 'const YAML::Node' to 'bool'
if ( theName )
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:285:52: error: 'const class YAML::Node' has no member named 'as'
actuatorLineInfo->turbineName_ = theName.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:285:66: error: expected primary-expression before '>' token
actuatorLineInfo->turbineName_ = theName.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:285:68: error: expected primary-expression before ')' token
actuatorLineInfo->turbineName_ = theName.asstd::string() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:305:61: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node tipCoord = y_spec["tip_coordinates"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:305:61: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:306:23: error: could not convert 'tipCoord' from 'const YAML::Node' to 'bool'
if ( tipCoord )
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:307:56: error: 'const class YAML::Node' has no member named 'as'
actuatorLineInfo->tipCoordinates_ = tipCoord.as() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:307:70: error: expected primary-expression before '>' token
actuatorLineInfo->tipCoordinates_ = tipCoord.as() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:307:72: error: expected primary-expression before ')' token
actuatorLineInfo->tipCoordinates_ = tipCoord.as() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:312:63: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node tailCoord = y_spec["tail_coordinates"];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:312:63: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:313:24: error: could not convert 'tailCoord' from 'const YAML::Node' to 'bool'
if ( tailCoord )
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:314:58: error: 'const class YAML::Node' has no member named 'as'
actuatorLineInfo->tailCoordinates_ = tailCoord.as() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:314:73: error: expected primary-expression before '>' token
actuatorLineInfo->tailCoordinates_ = tailCoord.as() ;
^
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:314:75: error: expected primary-expression before ')' token
actuatorLineInfo->tailCoordinates_ = tailCoord.as() ;
^
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: In instantiation of 'void sierra::nalu::get_if_present(const YAML::Node&, const string&, T&, const T&) [with T = std::basic_string; std::string = std::basic_string]':
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:245:87: required from here
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:421:3: error: could not convert '(& node)->YAML::Node::operator[]<std::basic_string >((* & key))' from 'const YAML::Node' to 'bool'
if (node[key]) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:422:38: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node value = node[key];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:422:38: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: In instantiation of 'void sierra::nalu::get_if_present(const YAML::Node&, const string&, T&, const T&) [with T = int; std::string = std::basic_string]':
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:293:110: required from here
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:421:3: error: could not convert '(& node)->YAML::Node::operator[]<std::basic_string >((* & key))' from 'const YAML::Node' to 'bool'
if (node[key]) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:422:38: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node value = node[key];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:422:38: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
In file included from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h: In instantiation of 'void sierra::nalu::get_if_present(const YAML::Node&, const string&, T&, const T&) [with T = double; std::string = std::basic_string]':
/home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:296:94: required from here
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:421:3: error: could not convert '(& node)->YAML::Node::operator[]<std::basic_string >((* & key))' from 'const YAML::Node' to 'bool'
if (node[key]) {
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:422:38: error: no matching function for call to 'YAML::Node::Node(const YAML::Node&)'
const YAML::Node value = node[key];
^
/home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:422:38: note: candidate is:
In file included from /home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/yaml.h:13:0,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/BoundaryConditions.h:15,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/NaluParsing.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/Actuator.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/include/ActuatorLinePointDrag.h:12,
from /home/zsl1990/nalu_build_dir/packages/Nalu/src/ActuatorLinePointDrag.C:9:
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: YAML::Node::Node()
Node();
^
/home/zsl1990/nalu_build_dir/install/yaml/include/yaml-cpp/node.h:39:3: note: candidate expects 0 arguments, 1 provided
make[2]: *** [CMakeFiles/nalu.dir/src/ActuatorLinePointDrag.C.o] Error 1
make[1]: *** [CMakeFiles/nalu.dir/all] Error 2
make: *** [all] Error 2
Here is the content of my do-configNaluNonTracked file, I have TOTALLY no idea why the tioga suddenly appear in the last step. I follow your installation manual exactly step by step and did not see any information about tioga, which is really really confusing.
[zsl1990@pliny build]$ vi do-configNaluNonTracked
nalu_install_dir=/home/zsl1990/nalu_build_dir/install
trilinos_install_dir=$nalu_install_dir/Trilinos_stable_release
yaml_install_dir=$nalu_install_dir/yaml/
tioga_install_dir=$nalu_install_dir/tioga
EXTRA_ARGS=$@
Cleanup old cache before we configure
Note: This does not remove files produced by make. Use "make clean" for this.
find . -name "CMakeFiles" -exec rm -rf {} ;
rm -f CMakeCache.txt
cmake
-DTrilinos_DIR:PATH=$trilinos_install_dir
-DYAML_DIR:PATH=$yaml_install_dir
-DTIOGA_DIR:PATH=$tioga_install_dir
-DENABLE_INSTALL:BOOL=OFF
-DCMAKE_BUILD_TYPE=RELEASE
-DENABLE_TESTS:BOOL=ON
-DCMAKE_CXX_FLAGS:STRING="-Wall"
-DENABLE_TESTS:BOOL=ON
-DENABLE_HYPRE:BOOL=OFF
-DENABLE_TIOGA:BOOL=OFF
$EXTRA_ARGS
../
I checked every single step with your manual very carefully and all looks good. But the last step just simply failed which is frustrating and confusing. I googled it a lot, nothing helpful in the internet
This simply provides an installation path:
tioga_install_dir=$nalu_install_dir/tioga
However, you have this off:
-DENABLE_TIOGA:BOOL=OFF
What version of YAML are you using? This looks to be Nalu using new YAML with your TPL an old version.
awww, fixed it, thanks!
My pleasure - best of luck!