tud-zih-energy / roco2 Goto Github PK
View Code? Open in Web Editor NEWA synthetic workload generator written in C++
License: GNU General Public License v3.0
A synthetic workload generator written in C++
License: GNU General Public License v3.0
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
Can be achieved with /dev/cpu_dma_latency
Maybe use lo2s?
Improve interface while running roco
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".
normal build process should work on ppc64 machines, will test on ppc64le
concept: use cmake magic to detect arch and disable incompatible source parts
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.
[...]
Some features should be easily turned off in build, such as:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.