Coder Social home page Coder Social logo

dumpitracegen's Introduction

dumpitracegen

DUMPI Trace Generator

Generates synthetic traffic given some parameters and writes ASCII DUMPI files to reflect the traffic. .meta file is also written.

Prerequisites: Python 2 (2.7 or greater)

usage: dumpitracegen.py [-h] [--a2d A2D] [--start START] [--init_dt INIT_DT] [--dt DT] [--final_dt FINAL_DT] config prefix

positional arguments: config file with list of job descriptions prefix output filename prefix

optional arguments: -h, --help show this help message and exit --a2d ascii2dunmpi specify converter to convert ASCII output to binary --start START starting walltime (default 100.0 seconds since epoch) --init_dt INIT_DT time to run init functions (default 1.0 seconds) --dt DT time to run MPI functions (default 1.0 seconds) --final_dt FINAL_DT time to run finalize functions (default 1.0 seconds)

Note: All jobs start at the same time.

Adding new configuration file line parsers: Modify the function config.parse_line

Default format:
    rank-start rank-end msg-count msg-type  iterations pattern pattern-specific-values
    ex:
        0         255     1024    MPI_CHAR       5      rand               1

Adding new traffic patterns: Add the traffic pattern.py file into the traffic directory. Input: Job dictionary from parser

        Fields that are already available:
            start rank
            end rank
            how many elements to send
            data type of elements
            number of iterations
            traffic pattern name

    Output
        {source rank : [destination ranks]}

Add the traffic pattern into traffic/__init__.py

To use the script to generate synthetic dumpi traces, you can use the commands below to generate dumpi traces in binary format with the config file shift100-1024ranks-1iter and a filename prefix of shift100. Make sure "ascii2dumpi" is correctedly installed under the SST-DUMPI library. "./dumpitracegen.py --a2d ascii2dumpi shift100-1024ranks-1iter trace/shift100"

dumpitracegen's People

Contributors

ztong87 avatar casillas7max avatar calccrypto 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.