Thanks Danny!
I tried under both clustering and topic_modeling, here are the new outputs
When I tried "make" under release/toolkits/clustering
sudo make
[ 9%] Built target libevent
[ 19%] Built target libtcmalloc
[ 30%] Built target libjson
[ 42%] Built target libbz2
[ 52%] Built target boost
[ 54%] Building CXX object
src/graphlab/CMakeFiles/graphlab.dir/scheduler/scheduler_list.cpp.o
In file included from /opt/graphlabapi/deps/local/include/libjson/libjson.h:4:0,
from /opt/graphlabapi/src/graphlab/graph/json_parser.hpp:35,
from
/opt/graphlabapi/src/graphlab/graph/distributed_graph.hpp:88,
from
/opt/graphlabapi/src/graphlab/aggregation/distributed_aggregator.hpp:37,
from /opt/graphlabapi/src/graphlab/engine/iengine.hpp:44,
from
/opt/graphlabapi/src/graphlab/scheduler/scheduler_list.cpp:26:
/opt/graphlabapi/deps/local/include/libjson/Source/JSONDefs.h:160:6:
warning: #warning , Release build of libjson, but NDEBUG is not on
[-Wcpp]
In file included from
/opt/graphlabapi/src/graphlab/graph/distributed_graph.hpp:88:0,
from
/opt/graphlabapi/src/graphlab/aggregation/distributed_aggregator.hpp:37,
from /opt/graphlabapi/src/graphlab/engine/iengine.hpp:44,
from
/opt/graphlabapi/src/graphlab/scheduler/scheduler_list.cpp:26:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:406:71: error:
‘JSONNode’ does not name a type
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:406:81: error: ISO
C++ forbids declaration of ‘n’ with no type [-fpermissive]
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_graph_structure_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:231:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:231:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:232:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:232:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:235:11: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:235:16: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:243:18: error:
expected ‘;’ before ‘csr’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:244:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:244:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:245:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:245:21: error:
‘csr’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:259:18: error:
expected ‘;’ before ‘csc’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:260:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:260:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:262:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:262:21: error:
‘csc’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_vid2lvid_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:296:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:296:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:297:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:297:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:299:11: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:299:16: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:301:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:301:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:304:15: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_edatalist_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&,
graphlab::json_parser<VertexData, EdgeData>::edge_parser_type)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:320:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:320:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:321:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:321:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:324:11: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:324:16: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:327:18: error:
expected ‘;’ before ‘edatanode’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:328:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:328:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:333:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:333:21: error:
‘edatanode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_vrecord_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&,
graphlab::json_parser<VertexData, EdgeData>::vertex_parser_type)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:355:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:355:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:356:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:356:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:361:12: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:361:17: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:363:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:363:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:364:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_vid_array(std::vector<typename
graphlab::distributed_graph<VertexData, EdgeData>::vertex_id_type>&,
const int&)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:407:11: error:
request for member ‘type’ in ‘n’, which is of non-class type ‘const
int’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:409:5: error:
‘JSONNode’ has not been declared
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:409:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:410:12: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:410:19: error:
request for member ‘end’ in ‘n’, which is of non-class type ‘const
int’
make[2]: *** [src/graphlab/CMakeFiles/graphlab.dir/scheduler/scheduler_list.cpp.o]
Error 1
make[1]: *** [src/graphlab/CMakeFiles/graphlab.dir/all] Error 2
make: *** [all] Error 2
When tried under release/toolkits/topic_modeling:
sudo make
[ 10%] Built target libevent
[ 20%] Built target libtcmalloc
[ 32%] Built target libjson
[ 45%] Built target libbz2
[ 55%] Built target boost
[ 57%] Building CXX object
src/graphlab/CMakeFiles/graphlab.dir/scheduler/scheduler_list.cpp.o
In file included from /opt/graphlabapi/deps/local/include/libjson/libjson.h:4:0,
from /opt/graphlabapi/src/graphlab/graph/json_parser.hpp:35,
from
/opt/graphlabapi/src/graphlab/graph/distributed_graph.hpp:88,
from
/opt/graphlabapi/src/graphlab/aggregation/distributed_aggregator.hpp:37,
from /opt/graphlabapi/src/graphlab/engine/iengine.hpp:44,
from
/opt/graphlabapi/src/graphlab/scheduler/scheduler_list.cpp:26:
/opt/graphlabapi/deps/local/include/libjson/Source/JSONDefs.h:160:6:
warning: #warning , Release build of libjson, but NDEBUG is not on
[-Wcpp]
In file included from
/opt/graphlabapi/src/graphlab/graph/distributed_graph.hpp:88:0,
from
/opt/graphlabapi/src/graphlab/aggregation/distributed_aggregator.hpp:37,
from /opt/graphlabapi/src/graphlab/engine/iengine.hpp:44,
from
/opt/graphlabapi/src/graphlab/scheduler/scheduler_list.cpp:26:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:406:71: error:
‘JSONNode’ does not name a type
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:406:81: error: ISO
C++ forbids declaration of ‘n’ with no type [-fpermissive]
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_graph_structure_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:231:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:231:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:232:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:232:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:235:11: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:235:16: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:243:18: error:
expected ‘;’ before ‘csr’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:244:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:244:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:245:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:245:21: error:
‘csr’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:259:18: error:
expected ‘;’ before ‘csc’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:260:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:260:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:262:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:262:21: error:
‘csc’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_vid2lvid_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:296:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:296:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:297:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:297:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:299:11: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:299:16: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:301:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:301:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:304:15: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_edatalist_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&,
graphlab::json_parser<VertexData, EdgeData>::edge_parser_type)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:320:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:320:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:321:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:321:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:324:11: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:324:16: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:327:18: error:
expected ‘;’ before ‘edatanode’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:328:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:328:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:333:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:333:21: error:
‘edatanode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_vrecord_from_json(graphlab::json_parser<VertexData,
EdgeData>::graph_type&, const string&,
graphlab::json_parser<VertexData, EdgeData>::vertex_parser_type)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:355:5: error:
‘JSONNode’ was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:355:14: error:
expected ‘;’ before ‘n’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:356:5: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:356:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:361:12: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:361:17: error: ‘n’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:363:9: error:
‘JSONNode’ is not a class or namespace
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:363:34: error:
expected ‘;’ before ‘j’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:364:16: error: ‘j’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp: In static member
function ‘static bool graphlab::json_parser<VertexData,
EdgeData>::parse_vid_array(std::vector<typename
graphlab::distributed_graph<VertexData, EdgeData>::vertex_id_type>&,
const int&)’:
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:407:11: error:
request for member ‘type’ in ‘n’, which is of non-class type ‘const
int’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:409:5: error:
‘JSONNode’ has not been declared
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:409:30: error:
expected ‘;’ before ‘i’
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:410:12: error: ‘i’
was not declared in this scope
/opt/graphlabapi/src/graphlab/graph/json_parser.hpp:410:19: error:
request for member ‘end’ in ‘n’, which is of non-class type ‘const
int’
make[2]: *** [src/graphlab/CMakeFiles/graphlab.dir/scheduler/scheduler_list.cpp.o]
Error 1
make[1]: *** [src/graphlab/CMakeFiles/graphlab.dir/all] Error 2
make: *** [all] Error 2
Thanks!
Baoqiang