Git Product home page Git Product logo

h-index_triangle_counting's Introduction

This is the code for Triangle Counting submitted at Graph Challenge 2019.

Compile the code

make

Dataset

For generating the binary of datasets, we use the converter from:
    https://github.com/huyang1988/TC/blob/master/README.md
Some example datasets are provided in the data folder of this repository. For using different repository, provide the path to the dataset.
i.e. for p2p08 dataset, "data/p2p08/"

How to use the converter?

1. Go to TC/gConv/ directory. 
    'make gConvu'
2. Go to TC/graph_converter/undirected_csr/  directory. 
    'make'
 Copy gConvu and tuple_to_undirected_csr.bin to a folder. 
3. Download the Adjacency MMIO file for datasets from graphchallenge website [https://snap.stanford.edu/data/] to the same folder.
4. ./converter.sh <MMIO_file>

Multi-GPU

We use jsrun to run multi-gpu version of the code on Summit.
https://www.olcf.ornl.gov/for-users/system-user-guides/summit/summit-user-guide/#running-jobs

Configuration

Change arguments in Makefile.

Input arguments

  1. Folder name containing the binary file of dataset.
  2. Total number of process
  3. Number of Threads per Block (Minimum 32)
  4. Number of Blocks
  5. Number of Buckets for hashing (Limit: 256)
  6. Block-based (1) or Warp-based(0)
  7. Degree based workload partition (1) or Index based partition(0)

Output Format

  1. Name of the dataset
  2. Vertex count
  3. Edge count
  4. Triangles count
  5. Max Time
  6. Min Time
  7. TEPS rate based upon max time
  8. Total number of process

Contact

Please send me a email if you have any questions: [email protected]

h-index_triangle_counting's People

Contributors

concept-inversion avatar wzbxpy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.