mls/bls-als/gridsim-simgrid/code/otf2tracegenerator102bf7abcc5amaster
otf2tracegenerator
README
otf2 trace generator - hardware visualisation of Scheduling Algorithms on multicore systems
modified and extended from "hippie2" visualisation of scheduling algorithms by Aram Yesildeniz
(1) Installation
(2) Usage
(1) Installation
Manually using GCC (a) or automated using Makefile (b). OTF2 has to be installed.
(a)
gcc −std=c99 −I/opt/otf2/include −c parser.c −o parser.o gcc −std=c99 −I/opt/otf2/include −c groupwriter.c −o groupwriter.o gcc −std=c99 −I/opt/otf2/include −c hippie2.c −o hippie2.o gcc parser.o groupwriter.o hippie2.o −L/opt/otf2/lib −Wl,−rpath −Wl,/opt/otf2/lib −lotf2 −lm −o hippie2
(b)
make
(2) Usage
./trace_gen [OPTION] FILE
Sample files in folder “simgrid_files”
(3) Information SimGird trace file must contain 1 - number of SimGrid hosts using "#hosts = 4" 2 - number of jobs in the file using "job counter = 2" 3 - number of chunks in the file using "chunk counter = 10" 4 - total execution time in seconds using "Simulated execution time 50.444" 5 - table for number of cores per host as in the example file 6 - table for job IDs as in the example file 7 - table for chunks information as in the example file