gunrock / graphblast

High-Performance Linear Algebra-based Graph Primitives on GPUs
Apache License 2.0
209 stars 27 forks source link

Latest commits are breaking Makefile builds #16

Closed Sinan81 closed 4 years ago

Sinan81 commented 4 years ago

Hi. Just noticed that there were some commits made yesterday rendering the software not buildable (via Makefile method)

==> 29525: graphblast: Executing phase: 'edit'                                                                                                                                                                                                                                                                     [82/11013]
==> 29525: graphblast: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    'make' '-j12'

18 errors found in build log:
     17    nvcc -g -gencode arch=compute_35,code=compute_35 -gencode arch=compute_60,code=compute_60 -O3 -use_fast_math -w -std=c++11 -o bin/ggc example/ggc.cu -Iext/moderngpu/include/ -Iex
           t/cub/cub/ -I/data/ctcyang/boost_1_58_0/ -I./ ext/moderngpu/src/mgpucontext.cu ext/moderngpu/src/mgpuutil.cpp -L/data/ctcyang/boost_1_58_0/stage/lib/ -lboost_program_options -lcu
           blas -lcusparse -lcurand
     18    mkdir -p bin
     19    mkdir -p bin
     20    nvcc -g -gencode arch=compute_35,code=compute_35 -gencode arch=compute_60,code=compute_60 -O3 -use_fast_math -w -std=c++11 -o bin/ggc_cusparse example/ggc_cusparse.cu -Iext/moder
           ngpu/include/ -Iext/cub/cub/ -I/data/ctcyang/boost_1_58_0/ -I./ ext/moderngpu/src/mgpucontext.cu ext/moderngpu/src/mgpuutil.cpp -L/data/ctcyang/boost_1_58_0/stage/lib/ -lboost_pr
           ogram_options -lcublas -lcusparse -lcurand
     21    nvcc -g -gencode arch=compute_35,code=compute_35 -gencode arch=compute_60,code=compute_60 -O3 -use_fast_math -w -std=c++11 -o bin/gpr example/gpr.cu -Iext/moderngpu/include/ -Iex
           t/cub/cub/ -I/data/ctcyang/boost_1_58_0/ -I./ ext/moderngpu/src/mgpucontext.cu ext/moderngpu/src/mgpuutil.cpp -L/data/ctcyang/boost_1_58_0/stage/lib/ -lboost_program_options -lcu
           blas -lcusparse -lcurand
     22    nvcc -g -gencode arch=compute_35,code=compute_35 -gencode arch=compute_60,code=compute_60 -O3 -use_fast_math -w -std=c++11 -o bin/gtc example/gtc.cu -Iext/moderngpu/include/ -Iex
           t/cub/cub/ -I/data/ctcyang/boost_1_58_0/ -I./ ext/moderngpu/src/mgpucontext.cu ext/moderngpu/src/mgpuutil.cpp -L/data/ctcyang/boost_1_58_0/stage/lib/ -lboost_program_options -lcu
           blas -lcusparse -lcurand
  >> 23    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     24    
  >> 25    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     26    
  >> 27    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     28    
  >> 29    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     30    
  >> 31    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     32    
  >> 33    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     34    
  >> 35    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     36    
  >> 37    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     38    
  >> 39    ./graphblas/backend/cuda/reduce.hpp(160): error: function template "graphblas::backend::reduceInner(T *, BinaryOpT, MonoidT, const graphblas::backend::SparseMatrix<a> *, graphbla
           s::backend::Descriptor *)" has already been defined
     40    
     41    1 error detected in the compilation of "/cache//tmpxft_000074a3_00000000-14_gpr.compute_60.cpp1.ii".
  >> 42    make: *** [gpr] Error 1
     43    make: *** Waiting for unfinished jobs....
     44    1 error detected in the compilation of "/cache//tmpxft_000074a6_00000000-14_gtc.compute_60.cpp1.ii".
  >> 45    make: *** [gtc] Error 1
     46    1 error detected in the compilation of "/cache//tmpxft_0000749f_00000000-14_ggc.compute_60.cpp1.ii".
  >> 47    make: *** [ggc] Error 1
     48    1 error detected in the compilation of "/cache//tmpxft_00007493_00000000-14_gbfs.compute_60.cpp1.ii".
  >> 49    make: *** [gbfs] Error 1
     50    1 error detected in the compilation of "/cache//tmpxft_00007495_00000000-14_gsssp.compute_60.cpp1.ii".
  >> 51    make: *** [gsssp] Error 1
     52    1 error detected in the compilation of "/cache//tmpxft_00007497_00000000-14_glgc.compute_60.cpp1.ii".
     53    1 error detected in the compilation of "/cache//tmpxft_00007494_00000000-14_gdiameter.compute_60.cpp1.ii".
  >> 54    make: *** [glgc] Error 1
  >> 55    make: *** [gdiameter] Error 1
     56    1 error detected in the compilation of "/cache//tmpxft_0000749e_00000000-14_gmis.compute_60.cpp1.ii".
     57    1 error detected in the compilation of "/cache//tmpxft_000074a2_00000000-14_ggc_cusparse.compute_60.cpp1.ii".
  >> 58    make: *** [gmis] Error 1
  >> 59    make: *** [ggc_cusparse] Error 1

I am attempting to build it using Spack HPC package manager, to which the graphblast package will be added tomorrow or so (details can be found here https://github.com/spack/spack/pull/17289 )

Which version of boost, gcc, cuda do you guys use to build the latest version of the package? Thanks.

ctcyang commented 4 years ago

Oops, sorry about that. It should be fixed with PR #17

To compile the latest version, I used:

Ubuntu 18.04.4 LTS
boost 1.58.0
nvcc 10.0
gcc 7.5.0

Thanks for including our package and letting us know about this issue!

Sinan81 commented 4 years ago

I've also created the Spack package file for GunRock recently. At this moment there is a bug in git cloning of the repo, but that should be fixed soon. I thought you might be interested to know.

https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/gunrock/package.py

jowens commented 4 years ago

@Sinan81 Supercool! Also, please, "Gunrock", not "GunRock". https://gunrock.github.io/docs/#/gunrock/frequently_asked_questions

Sinan81 commented 4 years ago

@Sinan81 Supercool! Also, please, "Gunrock", not "GunRock". https://gunrock.github.io/docs/#/gunrock/frequently_asked_questions

Good to know! Cheers

ctcyang commented 4 years ago

Cheers!