Building GaloisGPU on CentOS

[WIP] Building GaloisGPU/LonestarGPU on Linux

git clone -b release-4.0

Follow below steps

cd GaloisGPU/rt/include
wget #I tried v1.3.1 it is not working. But this seems to.
git clone -b branch_1.1 #I tried the one in release it is not working. But this seems to.

## rm old line and link both
ls -lrt #these are to be rm'ed. You should see them blinking
  mgpu -> /h2/sreepai/pd/gunrock/externals/moderngpu
  cub -> /h2/sreepai/pd/cub-1.3.1/cub/

rm mgpu
rm cub
ln -s cub-1.3.2/cub/ cub      #slash is imp
ln -s moderngpu mgpu          #no slash is imp
ls -lrt #verify if all fine
  lrwxrwxrwx  1 cs16d003 rupeshgrp      14 Sep  1 10:51 cub -> cub-1.3.2/cub/
  lrwxrwxrwx  1 cs16d003 rupeshgrp      18 Sep  1 10:53 mgpu -> moderngpu
cd ../../ #fall back to Galois's Root

Let’s make

make inputs #wait till 2GB downloads and 4GB disk



change to

-gencode arch=compute_60,code=sm_70
-gencode arch=compute_70,code=compute_70

make #no threads please.

#we need libggrt.a file the be generated. Although it ended in errors looks like it is generated.
ls -lrt rt/lib/
cd apps/sssp

usage: ./sssp [-q] [-g gpunum] [-o output-file] [-l] [-d delta] [-s startNode] graph-file
 -l: enable thread block load balancer (by default false)

cd apps/pr #Doing the same for PR and TC. What about BC?
cd apps/triangle


Below are the error path that I had to come througth.

Errors 1

1 catastrophic error detected in the compilation of "/tmp/tmpxft_0000f9eb_00000000-4_main.cpp4.ii".
Compilation aborted.
nvcc error   : 'cudafe++' died due to signal 6
nvcc error   : 'cudafe++' core dumped
make[1]: *** [pta] Error 134
make[1]: Leaving directory `/tmp/GaloisGPU/apps/pta'

Errors 2

make[1]: Entering directory `/tmp/GaloisGPU/apps/bh'
nvcc -O3 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_70,code=compute_70 -w -I ../../include -I ../../rt/include/cub  -Wno-deprecated-declarations   -o bh
ptxas /tmp/tmpxft_00004d84_00000000-5_main.ptx, line 2633; error   : Instruction 'vote' without '.sync' is not supported on .target sm_70 and higher from PTX ISA version 6.4
ptxas fatal   : Ptx assembly aborted due to errors
make[1]: *** [bh] Error 255
make[1]: Leaving directory `/tmp/GaloisGPU/apps/bh'
make: *** [bh] Error 2

★ 6 min read · Rajesh Pandian M · install , galois , galoisGPU , lonestargpu