graphB+ v0.2


graphB+ is a balancing algorithm for signed social network graphs. It operates on graphs stored in CSV format. A sample input graph can be found here.

Click on graphB_02.cu to download the CUDA code or on graphB_02.cpp to download the OpenMP C++ code (with g++ intrinsics). Note that graphB+ is protected by the license included in the beginning of the code.

The CUDA code can be compiled as follows:

nvcc -O3 -arch=sm_70 graphB_02.cu -o graphB+

The OpenMP C++ code can be compiled as follows:

g++ -O3 -march=native -fopenmp graphB_02.cpp -o graphB+

To run the code on the input file graph.csv with 100 samples and save the results of the balanced solutions in out.csv, enter:

./graphB+ graph.csv 100 out.csv

This work has been supported in part by equipment donations from Nvidia Corporation.

Official Texas State University Disclaimer