Comments (6)
Hi Vaastav,
I was not sure which benchmark you wanted to run, therefore I suggested you to add random weights as benchmarks like sssp need edge weights.
The main point above was to pass the right value for edgeType for the conversion of edge lists. If you don't want weights you can use:
./graph-convert -edgelist2gr -edgeType=void twitter_rv.edgelist twitter_rv.gr
./graph-convert -gr2sortedparentdegreegr -edgeType=void twitter_rv.gr twitter_rv.sortedgr
Regarding connectedcomponent, algorithm expects the symmetric graph. Use the following command to convert gr to a symmetric graph:
./graph-convert -gr2sgr -edgeType=void twitter_rv.gr twitter_rv.sgr
--
Gurbinder
from galois.
Hello Vaastav,
Thank you for using Galois.
Did you use the following command to convert twitter_rv edgelist to gr format before using -gr2sortedparentdegreegr option on it?
./graph-convert -edgelist2gr -edgeType=void twitter_rv.edgelist twitter_rv.gr
I have noticed that twitter_rv is an unweighted edgelist with 2 columns (sourceID destinationID), therefore edgeType void is required.
After converting to an unweighted .gr format you can add weights using -gr2randomweightgr option:
./graph-convert -gr2randomweightgr -edgeType=uint32 twitter_rv.gr twitter_rv.wgr
Try converting graph using the above-mentioned steps and then use -gr2sortedparentdegreegr:
./graph-convert -gr2sortedparentdegreegr -edgeType=uint32 twitter_rv.wgr twitter_rv.sortedwgr
See if this works. If not, please let us know.
Gurbinder
from galois.
Hello Gurbinder,
Thank you for responding. I tried your commands on another unweighted graph which I had previously tested on as well (cit-patents). The end result is still the same as before. The conversion runs into a segmentation fault.
Regardless I am not sure as to why I need to convert an unweighted graph to a graph with random weights before I can sort the nodes in the graph according to the order of the parent's degree.
Regarding the edgetype=void usage, I did not use this initially but I was able to successfully convert the graph into bfs-sorted order and degree-sorted order and was able to successfully run connected components with -noverify option.
from galois.
Link to the cit-Patents dataset : https://snap.stanford.edu/data/cit-Patents.html
I also get verification failures when I run lonestar/connectedcomponents/connectedcomponents on every graph so I have to use the -noverify option. It seems to me that the verification might be broken but I am not so sure if this is at all related to how I am converting the edgelists.
from galois.
I had initially tried these 2 commands:
./graph-convert -edgelist2gr -edgeType=void twitter_rv.edgelist twitter_rv.gr
./graph-convert -gr2sortedparentdegreegr -edgeType=void twitter_rv.gr twitter_rv.sortedgr_
and it resulted in a Segfault as I have mentioned before. This segfault is not specific to a dataset but seems to happen to every dataset I have tried.
Regarding connectedcomponent, I tried using the symmetric graph like you mentioned without the -noverify option and it still resulted in a "verification failed" error.
from galois.
Hello @vaastav.
I have just pushed a fix for the segmentation fault issue that you were running into with gr2sortedparentdegreegr: there was a mistake in the iterators being used during the sort. Thank you very much for bringing this to our attention as well as for providing a test case I was able to use to replicate the error for debugging.
Since the original problem raised by this issue has been resolved, I am closing this issue. If the issue persists, please let me know and I'll reopen the issue.
Regarding the connected components issue: if it is still a problem, please open another issue and we can address it there.
Thank you,
Loc
from galois.
Related Issues (20)
- Compilation Problems HOT 2
- Question about sssp-pull.cpp HOT 1
- What is the format of mastersFile? HOT 1
- How to add new code to Galois and modify the Makefile HOT 2
- Question of the MPI Network Layer (is the order guaranteed for the message?) HOT 6
- BFS hangs HOT 1
- Compiling Galois HOT 1
- Installation error HOT 1
- did you forget to ‘#include <optional>’? HOT 2
- Performance degradation for distributed PageRank HOT 8
- Is this project still alive? HOT 1
- papiGetTID error HOT 1
- Cmake error HOT 1
- "endian.h" file not found error while building BFS Application
- conversion undefined for void graphs HOT 1
- Cannot seem to get correct results for Connected Components
- Where is the directory of your HyperNetVec's implementation in corresponding paper?
- Does it support running on mac with m series chips
- Did this framework support SIMD instruction for parallelization?
- The server with the inputs requires a secured https connection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galois.