Hi Wim,
thank you for your reply.
I think my ambient variables are well set up, here they are
$echo $GRAPHITE_ROOT
/.../sniper/sniper-3.07
$ echo $BENCHMARKS_ROOT
/.../sniper/benchmarks
Running without powertrace as follows, the simulation works (the complete output is below)
./run-sniper -p parsec-blackscholes -i test -n 2 -c gainestown -d dir
But if I run inside the dir directory mcpac in this way: ../../sniper-3.07/tools/mcpat.py
I have the same error as before
../../sniper-3.07/tools/../mcpat/mcpatXeonCore: 1: ../../sniper-3.07/tools/../mcpat/mcpatXeonCore: Syntax error: Unterminated quoted string
Traceback (most recent call last):
File "../../sniper-3.07/tools/mcpat.py", line 1076, in <module>
main(jobid = jobid, resultsdir = resultsdir, powertype = powertype, vdd = vdd, config = config, outputfile = outputfile, no_graph = no_graph, partial = partial)
File "../../sniper-3.07/tools/mcpat.py", line 130, in main
raise ValueError('No valid McPAT output found')
ValueError: No valid McPAT output found
The files inside dir are:
ls -l dir/
total 96
-rw-rw-r-- 1 ... ... 320 Nov 21 10:10 app_1.log
-rw-rw-r-- 1 ... ... 11 Nov 21 10:10 debug_offset.out
-rw-rw-r-- 1 ... ... 1954 Nov 21 10:10 graphite.out
-rw-rw-r-- 1 ... ... 0 Nov 21 10:11 power.txt
-rw-rw-r-- 1 ... ... 32930 Nov 21 10:11 power.xml
-rw-rw-r-- 1 ... ... 4759 Nov 21 10:10 sim.cfg
-rw-rw-r-- 1 ... ... 1904 Nov 21 10:10 sim.out
-rw-rw-r-- 1 ... ... 15538 Nov 21 10:10 sim.stats.base
-rw-rw-r-- 1 ... ... 19951 Nov 21 10:10 sim.stats.delta
-rw-rw-r-- 1 ... ... 0 Nov 21 10:10 system-default.log
Maybe power.txt should not be empty!
Do you have any suggestion?
Thanks,
Francesco
-----------
output of ./run-sniper -p parsec-blackscholes -i test -n 2 -c gainestown -d dir
[PARSEC] Benchmarks to run: blackscholes
[PARSEC] [========== Running benchmark blackscholes ==========]
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'test'.
in_4.txt
[PARSEC] Running '/.../sniper/sniper-3.07/run-sniper -n 2 -m 'localhost' -d '/.../sniper/benchmarks/dir' -c gainestown --roi -- /.../sniper/benchmarks/parsec/parsec-2.1/pkgs/apps/blackscholes/inst/i686-linux.gcc-sniper/bin/blackscholes 1 in_4.txt prices.txt':
[PARSEC] [---------- Beginning of output ----------]
[SNIPER] Start
Running ['bash', '-c', '/.../sniper/sniper-3.07/pin_kit/ia32/bin/pinbin -mt -injection child -xyzzy -enable_vsm 0 -t /.../sniper/sniper-3.07/lib/pin_sim -c /.../sniper/sniper-3.07/config/base.cfg --general/total_cores=2 --general/output_dir=/.../sniper/benchmarks/dir --config=/.../sniper/sniper-3.07/config/nehalem.cfg --config=/.../sniper/sniper-3.07/config/gainestown.cfg -g --general/magic=true -- /.../sniper/benchmarks/parsec/parsec-2.1/pkgs/apps/blackscholes/inst/i686-linux.gcc-sniper/bin/blackscholes 1 in_4.txt prices.txt']
PARSEC Benchmark Suite Version 2.1
[HOOKS] PARSEC Hooks Version 1.2
Num of Options: 4
Num of Runs: 100
Size of data: 160
[HOOKS] Entering ROI
[SNIPER] Enabling performance models
[SNIPER] Setting instrumentation mode to DETAILED
0 [23070] [ 1] [interval_timer.cc : 180] *WARNING* Significant fraction of x87 instructions encountered, accuracy will be low. Compile without -mno-sse2 -mno-sse3 to avoid these instructions.
46 [23070] [ 1] [interval_timer.cc : 180] *WARNING* Future warnings of this type will be suppressed.
[SNIPER] Disabling performance models
[SNIPER] Leaving ROI after 0.91 seconds
[SNIPER] Simulated 0.2M instructions @ 176.4 KIPS (88.2 KIPS / target core - 11340.7ns/instr)
[SNIPER] Setting instrumentation mode to FAST_FORWARD
[HOOKS] Leaving ROI
[HOOKS] Total time spent in ROI: 0.000s
[SNIPER] End
[SNIPER] Elapsed time: 6.35 seconds
[PARSEC] [---------- End of output ----------]
[PARSEC] Done.