Francesco
unread,Dec 13, 2012, 5:07:25 PM12/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to snip...@googlegroups.com
Hello,
I am having an error when launching any of the scripts for the new version of SNIPER. I did not get this error with the previous version
It seems there is some conflict when importing 'sim'
here is an example:
$ ./run-sniper -p parsec-dedup -i test -n 4 -c gainestown -d prova -g perf_model/core/frequency=1.60 -s powertrace
[PARSEC] Benchmarks to run: dedup
[PARSEC] [========== Running benchmark dedup ==========]
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'test'.
test.dat
[PARSEC] Running '/***********/sniper-4.0/run-sniper -n 4 -m 'localhost' -d '/***********/benchmarks/prova' -c gainestown -g perf_model/core/frequency=1.60 -s powertrace --roi --curdir=/***********/benchmarks -- /***********/benchmarks/parsec/parsec-2.1/pkgs/kernels/dedup/inst/i686-linux.gcc-sniper/bin/dedup -c -p -f -t 1 -i test.dat -o output.dat.ddp':
[PARSEC] [---------- Beginning of output ----------]
[SNIPER] Start
Running ['bash', '-c', '/***********/sniper-4.0/pin_kit/ia32/bin/pinbin -mt -injection child -xyzzy -enable_vsm 0 -t /***********/sniper-4.0/lib/pin_sim -c /***********/sniper-4.0/config/base.cfg --general/total_cores=4 --general/output_dir=/***********/benchmarks/prova --config=/***********/sniper-4.0/config/nehalem.cfg --config=/***********/sniper-4.0/config/gainestown.cfg --perf_model/core/frequency=1.60 -g --general/magic=true -g --hooks/numscripts=1 -g --hooks/script0name=/***********/sniper-4.0/scripts/powertrace.py -g --hooks/script0args= -- /***********/benchmarks/parsec/parsec-2.1/pkgs/kernels/dedup/inst/i686-linux.gcc-sniper/bin/dedup -c -p -f -t 1 -i test.dat -o output.dat.ddp']
Executing Python script /***********/sniper-4.0/scripts/powertrace.py
Traceback (most recent call last):
File "/***********/sniper-4.0/scripts/powertrace.py", line 5, in <module>
import sys, os, sim
File "/***********/sniper-4.0/scripts/sim/__init__.py", line 9, in <module>
import os, sqlite3
File "/home/wheirman/src/exascience/graphite-master/python_kit/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
File "/home/wheirman/src/exascience/graphite-master/python_kit/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
ImportError: No module named _sqlite3
Cannot open Python script /***********/sniper-4.0/scripts/powertrace.py
any suggestion?
Thank you
Francesco