puzzlef / louvain-communities-openmp-dynamic

Design of OpenMP-based Parallel Dynamic Louvain algorithm for community detection.
https://arxiv.org/abs/2404.19634
MIT License
4 stars 0 forks source link

How to convert the .gt (graph-tool) file to some allowed file format for the C++ code? #3

Open baicunli opened 2 months ago

baicunli commented 2 months ago

Hello, thanks for the algorithm! I have a question: I have some graphs saved as .gt format now (very large, about 100+ G per file), how can I use them to run the louvain-communities-openmp-dynamic code conveniently? (I'm not very proficient with C++)

wolfram77 commented 2 months ago

Hello @baicunli

It seems the .gt format is a binary format. The easiest option might still be to convert it to the Matrix Market (MTX) format, and feed it to our source code. I would recommend you to try on our dataset (the ones we tried), before moving on to 100 GB+ binary files. Do update me on how it goes. Thanks.