Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Adapt to the latest API changes of libgrape-lite #770

Closed
lidongze0629 opened this issue Sep 7, 2021 · 1 comment · Fixed by #767
Closed

[BUG] Adapt to the latest API changes of libgrape-lite #770

lidongze0629 opened this issue Sep 7, 2021 · 1 comment · Fixed by #767
Assignees
Labels
bug Something isn't working component:gae

Comments

@lidongze0629
Copy link
Collaborator

Describe the bug

Following compilation failure will occur after the latest commit of libgrape-lite

[ 33%] Built target gs_proto
Scanning dependencies of target run_string_oid
[ 35%] Building CXX object CMakeFiles/run_string_oid.dir/test/run_string_oid.cc.o
[ 37%] Linking CXX executable run_pregel_app
[ 37%] Built target run_pregel_app
Scanning dependencies of target projected_graph_benchmarks
[ 38%] Building CXX object CMakeFiles/projected_graph_benchmarks.dir/benchmarks/projected_graph_benchmarks.cc.o
In file included from /__w/GraphScope/GraphScope/analytical_engine/benchmarks/projected_graph_benchmarks.cc:28:0:
/__w/GraphScope/GraphScope/analytical_engine/benchmarks/apps/bfs/bfs.h: In instantiation of ‘void gs::benchmarks::BFS<FRAG_T>::PEval(const fragment_t&, gs::benchmarks::BFS<FRAG_T>::context_t&, gs::benchmarks::BFS<FRAG_T>::message_manager_t&) [with FRAG_T = gs::ArrowProjectedFragment<long int, long unsigned int, grape::EmptyType, grape::EmptyType>; gs::benchmarks::BFS<FRAG_T>::fragment_t = gs::ArrowProjectedFragment<long int, long unsigned int, grape::EmptyType, grape::EmptyType>; gs::benchmarks::BFS<FRAG_T>::context_t = gs::benchmarks::BFSContext<gs::ArrowProjectedFragment<long int, long unsigned int, grape::EmptyType, grape::EmptyType> >; gs::benchmarks::BFS<FRAG_T>::message_manager_t = grape::ParallelMessageManager]’:
/opt/graphscope/include/grape/worker/parallel_worker.h:96:5:   required from ‘void grape::ParallelWorker<T>::Query(Args&& ...) [with Args = {long int}; APP_T = gs::benchmarks::BFS<gs::ArrowProjectedFragment<long int, long unsigned int, grape::EmptyType, grape::EmptyType> >]’
/__w/GraphScope/GraphScope/analytical_engine/benchmarks/projected_graph_benchmarks.cc:55:3:   required from ‘void RunApp(std::shared_ptr<_Tp>, const grape::CommSpec&, const grape::ParallelEngineSpec&, const string&, Args ...) [with GRAPH_T = gs::ArrowProjectedFragment<long int, long unsigned int, grape::EmptyType, grape::EmptyType>; APP_T = gs::benchmarks::BFS<gs::ArrowProjectedFragment<long int, long unsigned int, grape::EmptyType, grape::EmptyType> >; Args = {long int}; std::string = std::basic_string<char>]’
/__w/GraphScope/GraphScope/analytical_engine/benchmarks/projected_graph_benchmarks.cc:108:76:   required from here
/__w/GraphScope/GraphScope/analytical_engine/benchmarks/apps/bfs/bfs.h:83:5: error: no matching function for call to ‘grape::DenseVertexSet<long unsigned int>::Init(grape::VertexRange<long unsigned int>&, uint32_t)’
     ctx.curr_inner_updated.Init(inner_vertices, thread_num());
     ^~~
In file included from /opt/graphscope/include/grape/grape.h:30:0,
@lidongze0629 lidongze0629 self-assigned this Sep 7, 2021
@lidongze0629 lidongze0629 added component:gae bug Something isn't working labels Sep 7, 2021
@yecol
Copy link
Collaborator

yecol commented Sep 7, 2021

also see #762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:gae
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants