Giter VIP home page Giter VIP logo

grass's Introduction

GRASS

An Efficient Implementation of a Subgraph Isomorphism Algorithm for GPUs.

License: MIT


The subgraph isomorphism problem is a computational task that applies to a wide range of today’s applications, ranging from the understanding of biological networks to the analysis of social networks. Even though different implementations for CPUs have been proposed to improve the efficiency of such a graph search algorithm, they have shown to be bounded by the intrinsic sequential nature of the algorithm. More recently, graphics processing units (GPUs) have become widespread platforms that provide massive parallelism at low cost. Nevertheless, parallelizing any efficient and optimized sequential algorithm for subgraph isomorphism on many-core architectures is a very challenging task. This article presents GRASS, a parallel implementation of the subgraph isomorphism algorithm for GPUs. Different strategies are implemented in GRASS to deal with the space complexity of the graph searching algorithm, the potential workload imbalance, and the thread divergence involved by the non-homogeneity of actual graphs. The paper presents the results obtained on several graphs of different sizes and characteristics to understand the efficiency of the proposed approach.


Requirements

GRASS is implemented in C++/CUDA and it has been run on a Intel Core i7-5960X 64bit hardware with 16 3GHz CPUs and 64Gb of host RAM and running a Ubuntu 16.04 LTS operating system, equipped with an NVIDIA GeForce GTX 980 Ti GPU card with 6Gb of RAM and running with the CUDA 8.0 toolkit.


Usage

Before running the compilation for the GRASS executable,please be sure that the CUDA toolkit has been correctly installed on your system and that the nvcc compiler is accessible form the curretn directory.

git clone https://github.com/InfOmics/GRASS.git
cd GRASS
mkdir obj
make

After the compilation, the GRASS executable will be available.

./GRASS -gff -c target_graph_file query_graph_file

where target_graph_file and query_graph_file contains two graphs in the undirected graph format (see the RI project )


License

GRASS is distributed under the MIT license. This means that it is free for both academic and commercial use. Note however that some third party components in GRASS require that you reference certain works in scientific publications. You are free to link or use GRASS inside source code of your own program. If do so, please reference (cite) GRASS and this website. We appreciate bug fixes and would be happy to collaborate for improvements.


Citation

If you have used any of the GRASS project software, please cite the following paper:

Vincenzo Bonnici, Rosalba Giugno, and Nicola Bombieri. 
An Efficient Implementation of a Subgraph Isomorphism Algorithm for GPUs.
2018 IEEE International Conference on Bioinformatics and Biomedicine (BIBM). IEEE, 2018.

grass's People

Contributors

vbonnici avatar giugnolabadmin avatar

Stargazers

RyanLee avatar

Watchers

James Cloos avatar  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.