owensgroup / merge-spmm

Code for paper "Design Principles for Sparse Matrix Multiplication on the GPU" accepted to Euro-Par 2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello, I couldn't compile modern GPU

hochawa opened this issue · comments

Hello,

I tried to install merge-spmm based on the instructions provided in README.

But, I failed to install modern GPU as follows.

I am not sure, but password seems to be required to install modern GPU.

Could you tell me how can I resolve this issue?

Thank you!

Regards,
Changwan Hong


[hongc@cerberus mgpu]$ git clone --recursive https://github.com/owensgroup/GraphBLAS.git
Initialized empty Git repository in /home/hongc/carl_spmm/mgpu/GraphBLAS/.git/
remote: Enumerating objects: 230, done.
remote: Counting objects: 100% (230/230), done.
remote: Compressing objects: 100% (163/163), done.
remote: Total 4005 (delta 135), reused 141 (delta 66), pack-reused 3775
Receiving objects: 100% (4005/4005), 5.13 MiB, done.
Resolving deltas: 100% (2690/2690), done.
Submodule 'ext/cub' (https://ctcyang@github.com/NVlabs/cub.git) registered for path 'ext/cub'
Submodule 'ext/moderngpu' (https://ctcyang@github.com/ctcyang/moderngpu.git) registered for path 'ext/moderngpu'
Initialized empty Git repository in /home/hongc/carl_spmm/mgpu/GraphBLAS/ext/cub/.git/
Password:
remote: Enumerating objects: 32642, done.
remote: Total 32642 (delta 0), reused 0 (delta 0), pack-reused 32642
Receiving objects: 100% (32642/32642), 16.49 MiB | 24.46 MiB/s, done.
Resolving deltas: 100% (28621/28621), done.
Password:
Submodule path 'ext/cub': checked out 'd622848f9fb62f13e5e064e1deb43b6bcbb12bad'
Initialized empty Git repository in /home/hongc/carl_spmm/mgpu/GraphBLAS/ext/moderngpu/.git/
Password:
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 1664 (delta 13), reused 15 (delta 6), pack-reused 1639
Receiving objects: 100% (1664/1664), 6.81 MiB, done.
Resolving deltas: 100% (952/952), done.
Password:
Submodule path 'ext/moderngpu': checked out '9e491c383e935c2cbc0279350640dad3febb8b9d'
[hongc@cerberus mgpu]$ git checkout europar
fatal: Not a git repository (or any of the parent directories): .git

Hi Changwan,

I see your issue. It seems that my instructions left out a line. It says:

git clone --recursive https://github.com/owensgroup/GraphBLAS.git
git checkout europar

but it should actually be:

git clone --recursive https://github.com/owensgroup/GraphBLAS.git
cd GraphBLAS
git checkout europar

Maybe you can give that a try and let me know what happens.

I see the problem you are having. The problem is it says:

git clone --recursive https://github.com/owensgroup/GraphBLAS.git
cd GraphBLAS
git checkout europar

What it should have said is:

git clone --recursive https://github.com/owensgroup/merge-spmm.git
cd merge-spmm

Then the next step should work:

cd ext/merge-spmv
make gpu_spmv sm=350
cd ../../

Sounds good! Let me know if you run into any issues.

Boost can be challenging to install. I know I've had to spend a good hour getting it to install the first time. What I would do is:
-try to do sudo ./b2 --with-program_options. Sometimes, if the [path/to/installation/prefix] is in /usr/lib, you need sudo privileges in order to install to there
-if that doesn't work, I would look at the Boost installation documentation. They may give some more help: https://www.boost.org/doc/libs/1_58_0/more/getting_started/unix-variants.html
-if that still doesn't work, I would look at installing using some variant of:

sudo apt-get update
sudo apt-get install libboost-dev

(This command is for Ubuntu 16.04. You may need to vary the command a bit depending on the OS you have)