Code Monkey home page Code Monkey logo

Comments (10)

yzhwang avatar yzhwang commented on May 23, 2024

Hi, can you try to pull the latest version: b588f89
I think I have fixed this.

from gunrock.

yzhwang avatar yzhwang commented on May 23, 2024

So we are currently checking the interface inconsistency for other graph primitives. We have recently added the neighborhood gather reduce feature. That should be the problem which caused the issue. Will let you know when we fix this.

from gunrock.

1duo avatar 1duo commented on May 23, 2024

@fvella The cmake list out-of-date, will fix this later.

from gunrock.

fvella avatar fvella commented on May 23, 2024

Thanks guys!
From scratch installation, after run make:
"/usr/src/gunrock/gunrock-master/gunrock/util/sort_utils.cuh:21:23: error: cub/cub.cuh: No such file or directory
CMake Error at gunrock_generated_topk_app.cu.o.cmake:206 (message):
Error generating
/usr/src/gunrock/gunrock/CMakeFiles/gunrock.dir/app/topk/./gunrock_generated_topk_app.cu.o

make[2]: *** [gunrock/CMakeFiles/gunrock.dir/app/topk/./gunrock_generated_topk_app.cu.o] Error 1
make[1]: *** [gunrock/CMakeFiles/gunrock.dir/all] Error 2
make: *** [all] Error 2
"
Note
I have extracted cub and moderngpu into "external" directory.

from gunrock.

1duo avatar 1duo commented on May 23, 2024

@fvella You should be able to compile now, currently we have breadth_first_search, direction-optimizing-bfs, minimum_spanning_tree, connected_component, hyperlink_induced_topic_search and single_source_shortest_path in the CMakeList. Several other primitives have some issues that might due to the recent interface changes, will add those back once we done testing. Thanks for your report and let me know if it still not work 👍

from gunrock.

fvella avatar fvella commented on May 23, 2024

I have downloaded the last release, but I have the same problem.
I have copied cub e moderngpu onto externals.
Cmake works!
run make
Here's the output:
In file included from /usr/src/gunrock/gunrock-master/gunrock/app/topk/topk_enactor.cuh:19,
from /usr/src/gunrock/gunrock-master/gunrock/app/topk/topk_app.cu:21:
/usr/src/gunrock/gunrock-master/gunrock/util/sort_utils.cuh:21:23: error: cub/cub.cuh: No such file or directory
CMake Error at gunrock_generated_topk_app.cu.o.cmake:206 (message):
Error generating
/usr/src/gunrock/gunrock/CMakeFiles/gunrock.dir/app/topk/./gunrock_generated_topk_app.cu.o

make[2]: *** [gunrock/CMakeFiles/gunrock.dir/app/topk/./gunrock_generated_topk_app.cu.o] Error 1
make[1]: *** [gunrock/CMakeFiles/gunrock.dir/all] Error 2
make: *** [all] Error 2

Do I have to customize the include files into utilities ?

from gunrock.

1duo avatar 1duo commented on May 23, 2024

You actually do not need to copy those dependencies manually, the following works for me:

  1. git clone https://github.com/gunrock/gunrock
  2. cd gunrock/
    $ git checkout 7a43bc8 (simply because I tested this version yesterday.)
  3. git submodule init
  4. git submodule update (after step 3 and 4, you should have the cub and moderengpu in the externals)
  5. cd ../ && mkdir build (if you want to have a build path separately)
  6. cd build/
  7. cmake ../gunrock -i (Y - enable advance settings, and change the first one Boost_INCLUDE_DIR to your Boost path and skip the rest)
    If no error, should be something like this:
    build$ cmake ../gunrock/
    -- Boost version: 1.53.0
    -- Configuring done
    -- Generating done
    -- Build files have been written to: ...
    You can then make or make -j8 and the binaries will in the bin/
    Is this work for you?

from gunrock.

fvella avatar fvella commented on May 23, 2024

Works!
Minor Please check run.sh samples (i.e. BFS). Maybe the paths into the script are not correct.

from gunrock.

1duo avatar 1duo commented on May 23, 2024

Thanks for your feedback, we will updates those scripts.

from gunrock.

fvella avatar fvella commented on May 23, 2024

Hi guys,
Does bc work in current branch ?

from gunrock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.