Hi, I am studying the system, Gemini.
When I make the file, some errors occur and I don't know how to do with it.
[root@node18 GeminiGraph-master]# make
mpicxx -O3 -Wall -std=c++11 -g -fopenmp -march=native -I/home/sbb/GeminiGraph-master -o toolkits/bc toolkits/bc.cpp -lnuma
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:27: error: ‘std::function’ has not been declared
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:35: error: expected ‘,’ or ‘...’ before ‘<’ token
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:24: error: ‘std::function’ has not been declared
R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
^~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:32: error: expected ‘,’ or ‘...’ before ‘<’ token
R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
^
/home/sbb/GeminiGraph-master/core/graph.hpp: In member function ‘R Graph<EdgeData>::process_vertices(int)’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1431:30: error: ‘active’ was not declared in this scope
unsigned long word = active->data[WORD_OFFSET(v_i)];
^~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1431:30: note: suggested alternative: ‘ctime’
unsigned long word = active->data[WORD_OFFSET(v_i)];
^~~~~~
ctime
/home/sbb/GeminiGraph-master/core/graph.hpp:1434:30: error: there are no arguments to ‘process’ that depend on a template parameter, so a declaration of ‘process’ must be available [-fpermissive]
local_reducer += process(v_i);
^~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1434:30: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/sbb/GeminiGraph-master/core/graph.hpp:1446:32: error: ‘active’ was not declared in this scope
unsigned long word = active->data[WORD_OFFSET(v_i)];
^~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1446:32: note: suggested alternative: ‘ctime’
unsigned long word = active->data[WORD_OFFSET(v_i)];
^~~~~~
ctime
/home/sbb/GeminiGraph-master/core/graph.hpp:1449:32: error: there are no arguments to ‘process’ that depend on a template parameter, so a declaration of ‘process’ must be available [-fpermissive]
local_reducer += process(v_i);
^~~~~~~
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp: In member function ‘R Graph<EdgeData>::process_edges(int)’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1506:7: error: ‘active’ was not declared in this scope
active
^~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1506:7: note: suggested alternative: ‘ctime’
active
^~~~~~
ctime
/home/sbb/GeminiGraph-master/core/graph.hpp:1546:13: error: there are no arguments to ‘sparse_signal’ that depend on a template parameter, so a declaration of ‘sparse_signal’ must be available [-fpermissive]
sparse_signal(v_i);
^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1665:11: error: ‘dense_selective’ was not declared in this scope
if (dense_selective!=nullptr && partitions>1) {
^~~~~~~~~~~~~~~
toolkits/bc.cpp: In function ‘void compute(Graph<Empty>*, VertexId)’:
toolkits/bc.cpp:91:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, VertexSubset*&, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:91:5: note: candidate expects 1 argument, 6 provided
);
^
toolkits/bc.cpp:98:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:98:5: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:111:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:111:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:120:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, Bitmap*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:120:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:157:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, Bitmap*&, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:157:5: note: candidate expects 1 argument, 6 provided
);
^
toolkits/bc.cpp:167:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, Bitmap*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:167:5: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:176:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:176:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp: In function ‘void compute_compact(Graph<Empty>*, VertexId)’:
toolkits/bc.cpp:227:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:227:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:276:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, VertexSubset*&, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:276:5: note: candidate expects 1 argument, 6 provided
);
^
toolkits/bc.cpp:284:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:284:5: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:296:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:296:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:308:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:308:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:316:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:316:3: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:353:5: error: no matching function for call to ‘Graph<Empty>::process_edges<VertexId, double>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, VertexAdjList<Empty>)>, compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId, double)>, VertexSubset*&, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: candidate: template<class R, class M> R Graph<EdgeData>::process_edges(int) [with R = R; M = M; EdgeData = Empty]
R process_edges(std::function<void(VertexId)> sparse_signal, std::function<R(VertexId, M, VertexAdjList<EdgeData>)> sparse_slot, std::function<void(VertexId, VertexAdjList<EdgeData>)> dense_signal, std::function<R(VertexId, M)> dense_slot, Bitmap * active, Bitmap * dense_selective = nullptr) {
^~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1493:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:353:5: note: candidate expects 1 argument, 6 provided
);
^
toolkits/bc.cpp:365:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:365:5: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:373:5: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:373:5: note: candidate expects 1 argument, 2 provided
);
^
toolkits/bc.cpp:382:3: error: no matching function for call to ‘Graph<Empty>::process_vertices<VertexId>(compute_compact(Graph<Empty>*, VertexId)::<lambda(VertexId)>, VertexSubset*&)’
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: candidate: template<class R> R Graph<EdgeData>::process_vertices(int) [with R = R; EdgeData = Empty]
R process_vertices(std::function<R(VertexId)> process, Bitmap * active) {
^~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp:1407:5: note: template argument deduction/substitution failed:
toolkits/bc.cpp:382:3: note: candidate expects 1 argument, 2 provided
);
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::emit(VertexId, M) [with M = double; EdgeData = Empty; VertexId = unsigned int]’:
toolkits/bc.cpp:56:40: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1486:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (local_send_buffer[t_i]->count==local_send_buffer_limit) {
In file included from /home/sbb/GeminiGraph-master/core/mpi.hpp:22:0,
from /home/sbb/GeminiGraph-master/core/graph.hpp:39,
from toolkits/bc.cpp:20:
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::gather_vertex_array(T*, int) [with T = double; EdgeData = Empty]’:
toolkits/bc.cpp:184:45: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:320:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(length == sizeof(T) * (partition_offset[i + 1] - partition_offset[i]));
^
In file included from toolkits/bc.cpp:20:0:
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘T* Graph<EdgeData>::dealloc_vertex_array(T*) [with T = double; EdgeData = Empty]’:
toolkits/bc.cpp:192:43: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:242:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:806:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp:817:18: warning: unused variable ‘dst’ [-Wunused-variable]
VertexId dst = read_edge_buffer[e_i].dst;
^~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:967:11: required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:936:19: required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:955:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
~~~^~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:977:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1062:20: required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:1045:19: required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1064:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
^~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1084:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1164:11: required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:1134:19: required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1153:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
~~~^~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1174:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId)::<lambda()> [with EdgeData = Empty]’:
/home/sbb/GeminiGraph-master/core/graph.hpp:1259:20: required from ‘struct Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]::<lambda()>’
/home/sbb/GeminiGraph-master/core/graph.hpp:1242:19: required from ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1261:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (EdgeId e_i=0;e_i<recv_edges;e_i++) {
^~~
/home/sbb/GeminiGraph-master/core/graph.hpp: In instantiation of ‘void Graph<EdgeData>::load_directed(std::__cxx11::string, VertexId) [with EdgeData = Empty; std::__cxx11::string = std::__cxx11::basic_string<char>; VertexId = unsigned int]’:
toolkits/bc.cpp:417:51: required from here
/home/sbb/GeminiGraph-master/core/graph.hpp:1281:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bytes_to_read - read_bytes > edge_unit_size * CHUNKSIZE) {
In file included from /home/sbb/GeminiGraph-master/core/graph.hpp:35:0,
from toolkits/bc.cpp:20:
/home/sbb/GeminiGraph-master/core/atomic.hpp: In instantiation of ‘bool cas(T*, T, T) [with T = double]’:
/home/sbb/GeminiGraph-master/core/atomic.hpp:50:16: required from ‘void write_add(T*, T) [with T = double]’
toolkits/bc.cpp:65:43: required from here
/home/sbb/GeminiGraph-master/core/atomic.hpp:27:53: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return __sync_bool_compare_and_swap((long*)ptr, *((long*)&old_val), *((long*)&new_val));
^~~~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/atomic.hpp:27:73: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return __sync_bool_compare_and_swap((long*)ptr, *((long*)&old_val), *((long*)&new_val));
^~~~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/atomic.hpp:29:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return __sync_bool_compare_and_swap((int*)ptr, *((int*)&old_val), *((int*)&new_val));
^~~~~~~~~~~~~~~~~
/home/sbb/GeminiGraph-master/core/atomic.hpp:29:71: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return __sync_bool_compare_and_swap((int*)ptr, *((int*)&old_val), *((int*)&new_val));
^~~~~~~~~~~~~~~~~
make: *** [toolkits/bc] Error 1