ldbc / ldbc_graphalytics

Generic driver for LDBC Graphalytics implementation
https://ldbcouncil.org/benchmarks/graphalytics/
Apache License 2.0
81 stars 34 forks source link

Clarification Needed: Platform Driver Graph Conversions #194

Closed bashdash4 closed 4 years ago

bashdash4 commented 4 years ago

I am preparing to create a driver for a platform that strictly supports Matrix Market File format graphs, but I notice that Graphalytics' preferred format is .e and .v files for graphs. Is it expected that the platform itself will handle the conversion and/or processing of graphs, or can we make conversions through the driver via external scripts?

As well, are you aware of any conversion scripts that will convert graphs from .e and .v to .mtx and vice versa?

I appreciate any information that can be provided, thank you!

amusaafir commented 4 years ago

Hi,

You can run external graph conversion scripts through the driver of your platform. As a reference, you could have a look at the GraphMat driver which is essentially doing the same thing. Note that this is calling a binary which is compiled from the source code of the GraphMat platform itself. The scripts you are looking for are not included in Graphalytics utils by default, but you could have a look at GraphMat's conversion script and perhaps even use the compiled version of this script directly.

amusaafir commented 4 years ago

You can also refer to the (more recent) GraphBlas driver which also includes a script for the conversion (much more straightforward).

szarnyasg commented 4 years ago

It seems this will be sorted out in https://github.com/gunrock/gunrock/issues/651. Btw, is the issue title "Clarification Needed: Platform Driver Graph Conversions" still relevant?

neoblizz commented 4 years ago

We can close this issue now, will take care of this within the gunrock's issue repo. Thank you so much @szarnyasg again for all the pointers and thanks @amusaafir!

szarnyasg commented 4 years ago

Thanks for picking this up @neoblizz. I'm following the other issue.