boost::split(parameters, cluster->topo_parameters, boost::is_any_of(";"));
if (parameters.size() != 4){
boost::split(parameters, cluster->topo_parameters, boost::is_any_of(";"));
if (parameters.size() != 4){
- surf_parse_error("Fat trees are defined by the levels number et 3 vectors,"
- " see the documentation for more informations");
+ surf_parse_error("Fat trees are defined by the levels number and 3 vectors"
+ ", see the documentation for more informations");
// Then, a l-sized vector standing for the childs number by level
boost::split(tmp, parameters[1], boost::is_any_of(","));
if(tmp.size() != this->levels) {
// Then, a l-sized vector standing for the childs number by level
boost::split(tmp, parameters[1], boost::is_any_of(","));
if(tmp.size() != this->levels) {
- surf_parse_error("Fat trees are defined by the levels number et 3 vectors,"
- " see the documentation for more informations");
+ surf_parse_error("Fat trees are defined by the levels number and 3 vectors"
+ ", see the documentation for more informations");
}
for(unsigned int i = 0 ; i < tmp.size() ; i++){
this->lowerLevelNodesNumber.push_back(std::atoi(tmp[i].c_str()));
}
for(unsigned int i = 0 ; i < tmp.size() ; i++){
this->lowerLevelNodesNumber.push_back(std::atoi(tmp[i].c_str()));
// Then, a l-sized vector standing for the parents number by level
boost::split(tmp, parameters[2], boost::is_any_of(","));
if(tmp.size() != this->levels) {
// Then, a l-sized vector standing for the parents number by level
boost::split(tmp, parameters[2], boost::is_any_of(","));
if(tmp.size() != this->levels) {
- surf_parse_error("Fat trees are defined by the levels number et 3 vectors,"
- " see the documentation for more informations");
+ surf_parse_error("Fat trees are defined by the levels number and 3 vectors"
+ ", see the documentation for more informations");
}
for(unsigned int i = 0 ; i < tmp.size() ; i++){
this->upperLevelNodesNumber.push_back(std::atoi(tmp[i].c_str()));
}
for(unsigned int i = 0 ; i < tmp.size() ; i++){
this->upperLevelNodesNumber.push_back(std::atoi(tmp[i].c_str()));
// Finally, a l-sized vector standing for the ports number with the lower level
boost::split(tmp, parameters[3], boost::is_any_of(","));
if(tmp.size() != this->levels) {
// Finally, a l-sized vector standing for the ports number with the lower level
boost::split(tmp, parameters[3], boost::is_any_of(","));
if(tmp.size() != this->levels) {
- surf_parse_error("Fat trees are defined by the levels number et 3 vectors,"
- " see the documentation for more informations");
+ surf_parse_error("Fat trees are defined by the levels number and 3 vectors"
+ ", see the documentation for more informations");