GithubHelp home page GithubHelp logo

Using graphs from LDBC about gapbs HOT 2 CLOSED

sbeamer avatar sbeamer commented on September 28, 2024
Using graphs from LDBC

from gapbs.

Comments (2)

sbeamer avatar sbeamer commented on September 28, 2024 1

The issue appears to be the LBDC format uses floating point weights. Much of the gapbs code is templated, so changing a typedef (WeightT) in one spot (src/benchmark.h) will suffice for your case.

However, I would be careful with using floating point weights for multiple reasons. First, although the modification described above will suffice for loading in these LBDC graphs, it will not be able to write it out as a .wsg because the .wsg format uses integer weights. The kernels can load graphs in whatever formats gapbs supports, and the use of the serialized formats (.sg or .wsg) is for speed on the biggest graphs. Second, floating point weights can cause problems for graph algorithm developers not accustomed to floating point arithmetic.

For more input graphs, I strongly recommend SuiteSparse or SNAP. We have also tried to list other sites we are aware of.

from gapbs.

jesuisalexjamet avatar jesuisalexjamet commented on September 28, 2024

Thank you a lot @sbeamer! I finally managed to get some new graph inputs running with the kernels provided in GAP. As we solved that one, I will close it.

Thanks again 😄

from gapbs.

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.