Giter Site home page Giter Site logo

siddhartha047 / graph500kroneckergraphgenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rapidsathkust/graph500kroneckergraphgenerator

0.0 1.0 0.0 303 KB

Kronecker Graph Generator (Forked from Graph500, supporting a binary edge list format)

CMake 0.24% Makefile 0.11% C 97.69% C++ 1.94% Shell 0.03%

graph500kroneckergraphgenerator's Introduction

Build with cmake

  • assume ~/yche-bin exists, otherwise mkdir -p ~/yche-bin *option (not-build-legacy-makefile), -DLEGACY_BUILD=OFF๏ผŒ otherwise -DLEGACY_BUILD=ON
rm -rf ~/build-tmp
mkdir -p ~/build-tmp 
cd ~/build-tmp
cmake -H~/workspace/yche/git-repos/Graph500KroneckerGraphGenerator -B~/build-tmp -DCMAKE_INSTALL_PREFIX=~/yche-bin
make -j
make install

Build with make only

see uwsampa/graphbench/data/generator.

make all

Run

  • example under the yche-bin folder
./yche_generator_omp 23 -e 16 -o /ssd/zlai/yche-datasets/kron23-16.bin -b 

-- generator_seq

./generator_seq <# of vertices (log 2 base)> <-e intNumber [optional: average # of edges per vertex, defualt to be 16> <-o outputFileName [optional: default to stdout]> <-s intName [optional: default to use the current time]> <-b [optional: default is ascii version, -b for binary version]>

-- generator_omp

./generator_omp <# of vertices (log 2 base)> <-e intNumber [optional: average # of edges per vertex, defualt to be 16> <-o outputFileName [optional: default to stdout]> <-s intName [optional: default to use the current time]> <-b [optional: default is ascii version, -b for binary version]>

Example

  • To produce a data file with 2^16 vertices and an average of 4 edges per vertex (degree 8), with tsv output, do:
./generator_omp	16 -e 4 -o output16.txt
  • generate binary files, turning on the switch option -b
./generator_omp 24 -e 16 -o s24.kron.bin -b
./generator_omp 28 -e 15 -o rapids-s28.e15.kron.edgelist.bin -b
./generator_omp 29 -e 10 -o rapids-s29.e10.kron.edgelist.bin -b

graph500kroneckergraphgenerator's People

Contributors

cheyulin avatar

Watchers

James Cloos avatar

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.