GithubHelp home page GithubHelp logo

tud-zih-energy / roco2 Goto Github PK

View Code? Open in Web Editor NEW
5.0 7.0 1.0 402 KB

A synthetic workload generator written in C++

License: GNU General Public License v3.0

CMake 6.88% C 12.87% C++ 38.51% Jupyter Notebook 31.85% Python 2.85% Shell 2.28% Lua 4.76%
cpp benchmark score-p trace synthetic-workload

roco2's People

Contributors

bmario avatar s9105947 avatar tilsche avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

s9105947

roco2's Issues

Binary with the name "python" required

When the current environment holds no binary python, the build crashes at compilation time. (See full log below)

Note: Maybe this issue should be moved to the firestarter repo, I don't know if this is still an issue upstream.

This is a problem for the more recent versions of debian, which only have a python3 binary, as the binary python has always referred to version 2.7 in that context.

Workaround: start from python virtual environment

Fix: Detect/Configure the python binary path correctly and incorporate python3

[  3%] Create FIRESTARTER source code directory
[  7%] Generate FIRESTARTER source code
/usr/bin/env: 'python': No such file or directory
make[2]: *** [CMakeFiles/libfirestarter.dir/build.make:136: firestarter/Makefile] Error 127
make[1]: *** [CMakeFiles/Makefile2:314: CMakeFiles/libfirestarter.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

Duplicate Target "roco2_ariel"

Both src/configurations/ariel/CMakeLists.txt and src/configurations/conway/CMakeLists.txt invoke a macro to create a target roco2_ariel which is thus a duplicate and causes cmake to crash at configuration time. (See below for a full log)

I suggest changing the name or disabling building the examples by default.

-- Checking git submodules in /tmp/tmp.AlcMpemkEl/roco2
-- SCOREP library found. (using /opt/scorep/bin/scorep-config)
-- Building WITHOUT Score-P user instrumentation.
-- Could NOT find X86Adapt (missing: X86_ADAPT_LIBRARIES X86_ADAPT_INCLUDE_DIRS)
-- X86Adapt wasn't found, DDCM not available.
CMake Error at CMakeLists.txt:74 (add_executable):
  add_executable cannot create target "roco2_ariel" because another target
  with the same name already exists.  The existing target is an executable
  created in source directory
  "/tmp/tmp.AlcMpemkEl/roco2/src/configurations/ariel".  See documentation
  for policy CMP0002 for more details.
Call Stack (most recent call first):
  src/configurations/conway/CMakeLists.txt:1 (Roco2Configuration)


-- Configuring incomplete, errors occurred!
See also "/tmp/tmp.AlcMpemkEl/roco2/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/tmp.AlcMpemkEl/roco2/build/CMakeFiles/CMakeError.log".

port to ppc64

normal build process should work on ppc64 machines, will test on ppc64le

concept: use cmake magic to detect arch and disable incompatible source parts

only search for score-p if explicitly enabled

roco2 will try to find score-p even if it is not to be used.
This will lead to problems if there is a broken version of score-p (or for another architecure) installed.

$ cmake .. -DUSE_SCOREP=OFF
-- Checking git submodules in ~/roco2
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- SCOREP library found. (using ~/.local/bin/scorep-config)
/home/s9105947/.local/bin/scorep-config: ~/.local/bin/scorep-config: cannot execute binary file
/home/s9105947/.local/bin/scorep-config: +/.local/bin/scorep-config: cannot execute binary file
CMake Error at cmake/FindScorep.cmake:65 (STRING):
  STRING sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  CMakeLists.txt:36 (find_package)
[...]
-- Could NOT find Scorep (missing: SCOREP_LIBRARIES SCOREP_INCLUDE_DIRS)
-- Building WITHOUT Score-P user instrumentation.
[...]

Improve selective build

Some features should be easily turned off in build, such as:

  • Cpufreq
  • T-States
  • C-States
  • P-States

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.