Giter Club home page Giter Club logo

roco2's Introduction

roco2

A synthetic workload generator written in C++ with integrated Score-P instrumentation.

Notes on this fork

This is a fork to get a simple experiment running. Several parts of the original roco2 have been severed or disabled.

Build with:

mkdir build && cd build
SCOREP_WRAPPER_INSTRUMENTER_FLAGS='--user --openmp --thread=omp --nocompiler' SCOREP_WRAPPER=off cmake .. -DCMAKE_C_COMPILER=scorep-gcc -DCMAKE_CXX_COMPILER=scorep-g++ -DUSE_SCOREP=ON -DBUILD_TESTING=OFF
make SCOREP_WRAPPER_INSTRUMENTER_FLAGS='--user --openmp --thread=omp --nocompiler'

Getting started

The folder src/configurations/example contains one example configuration. You can build this example, however it will require small adjustments to fit your machine. (See Build)

The file src/configurations/example/experiment.cpp contains all configuration, which is necessary to adapt to your machine. For simple adjustments, you can edit the section EDIT GENERIC SETTINGS. This section comprises the variables representing the duration of one experiment, a list of all tested frequencies and T-states, and the patterns of the active hardware threads. These four knobs determine the length of one execution. For more fine grained changes to the execution, you can edit the section EDIT TASK PLAN. This section determines the order of execution for the different workload kernels.

For further details, refer to the Wiki.

Requirements

  • A compiler with C++14 and OpenMP support
  • A recent Linux kernel
  • Intel MKL or CBLAS
  • Score-P
  • libnuma
  • libcpufreq
  • X86Adapt

Building with CMake

  1. Checkout the source

        git clone https://github.com/tud-zih-energy/roco2.git
        cd roco2
    
  2. Create build directory

        mkdir build
        cd build
    
  3. Run CMake

        cmake ..
    
  4. Run make

        make
    

Acknowledgments

This work is based on "Hackenberg et. al.: Power measurement techniques on standard compute nodes: A quantitative comparison".

roco2's People

Contributors

bmario avatar s9105947 avatar tilsche 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.