hgyhungry / ge-spmm

MIT License
101 stars 10 forks source link

Gunrock building problem #7

Open hgyhungry opened 3 years ago

hgyhungry commented 3 years ago

The gunrock-test building process is not working.

Problem:

GugaGugaGuga commented 2 years ago
cd gunrock-test
cp -r app/spmm ./gunrock/gunrock/app/
cp -r examples/spmm ./gunrock/examples
cp CMakeList.txt ./gunrock/examples

mkdir build && cd build
cmake .. && make spmm -j8

How can I run this instruction?I'm running make spmm -j8,but command box points out make: *** No rule to make target 'spmm'. Stop. under ubuntu18.04.

hgyhungry commented 2 years ago

It seems that 'cmake ' cannot go through, so 'make' fails. Try the following steps

git clone --recursive https://github.com/hgyuhungry/ge-spmm # this step may give error about gunlock's submodule, but it's ok to continue
cd ge-spmm/gunrock-test/gunrock
git submodule update externals/cub externals/moderngpu externals/rapidjson
mkdir build && cd build && cmake ..
make spmm

The only change is the git submodule update... line. Gunrock has one submodule external/docs which is causing trouble during recursive pulling, but we do not need it to benchmark. So you can manually ask git to pull the submodules that we need. And build .

Hope this helps.