Git Product home page Git Product logo

graphhpc-2017's Introduction

******************************
GraphHPC-2017 contest      
******************************

===============================================================================

Authors
-------
Artem Mazeev
Alexander Semenov
Timur Ismagilov
 

RMAT graph generator is adapted from snap-0.4 http://snap-graph.sourceforge.net

Description of executables:
---------------------------
gen_random              -- random (Erdos-Renyi) graph serial generator
gen_RMAT                -- RMAT graph serial generator
reference               -- reference serial implementation
reference_bfs           -- reference with bfs serial implementation
reference_mpi           -- mpi reference distributed implementation
solution                -- there should be your solution
solution_mpi            -- there should be your distributed solution
validation              -- validation tool
gen_valid_info          -- to get right answer

===============================================================================

To implement your own algorithm, write code in solution.cpp, and in solution_mpi.cpp for distributed version

To build implementations, type 'make'

Brief instructions:
-------------------
Examples of testing your implementation by hands:

**********************************************

Serial version:

0. Print 'make' in your console:

    $ make

1. Run graph generator:

    $ ./gen_RMAT -s 5
	
	or
	
	$ ./gen_random -s 10

2. Run your implementation:

    $ ./solution -in rmat-5
	
	or
	
	$ ./solution -in random-10

3. Get right answer:

    $ ./gen_valid_info -in rmat-5
    
    or
    
    $ ./gen_valid_info -in random-10

4. Run validation tool:

    $ ./validation -ans rmat-5.ans -res rmat-5.res
	
	or
	
	$ ./validation -ans random-10.ans -res random-10.res

**********************************************

Distributed version:

0. Print 'make' in your console:

	$ make

1. Run graph generator:

	$ ./gen_RMAT -s 12
	
2. Run your implementation:

	$ mpirun -n 8 ./solution_mpi -in rmat-12
	
	or (--generate is useful for debugging, but incompatible with validation)
	
	$ mpirun -n 4 ./solution_mpi --generate random -s 14

3. Get right answer:

    $ ./gen_valid_info -in rmat-12

4. Run validation tool:

	$ ./validation -ans rmat-12.ans -res rmat-12.res

===============================================================================
Change Log:
---------------------------
Date        Version     Comments
10.02.2017  0.4         + absolute or relative error must be less then 1e-6
06.02.2017  0.3         + gen_valid_info tool
27.01.2017  0.2         + MPI reference implementation, random generator

graphhpc-2017's People

Contributors

drons avatar

Watchers

 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.