Missing configuration file (sniper.py)

75 views
Skip to first unread message

Victor Rodriguez

unread,
Jan 16, 2025, 1:55:00 PMJan 16
to Sniper simulator
Hi team

I hope this message finds you well. I tried compiling and executing the docker image but found the next bug. Below are the details of the issue:


$./run-sniper

Run program under the Sniper simulator

Usage:
./run-sniper [-n <ncores (1)>] [-d <outputdir (.)>] [-c <sniper-config>] [-c [objname:]<name[.cfg]>,<name2[.cfg]>,...] [-c <sniper-options: section/key=value>] [-s <script>] [--roi] [--roi-script] [--viz] [--viz-aso] [--profile] [--memory-profile] [--cheetah] [--perf] [--gdb] [--gdb-wait] [--gdb-quit] [--appdebug] [--appdebug-manual] [--appdebug-enable] [--follow-execv=1] [--power] [--cache-only] [--fast-forward] [--no-cache-warming] [--save-output] [--save-patch] [--pin-stats] [--wrap-sim=] [--mpi [--mpi-ranks=<ranks>] [--mpi-exec="<mpiexec -mpiarg...>"] ] {--traces=<trace0>,<trace1>,... [--sim-end=<first|last|last-restart (default: first)>] | --pinballs=<pinball-basename>,* | --pid=<process-pid> | [--sift] | [--frontend=] -- <cmdline> }
Example: $ ./run-sniper -- /bin/ls
Note: To get started quickly with our integrated benchmarks distribution (supports SPLASH-2 and PARSEC 2.1),
see http://snipersim.org/w/Download_Benchmarks
$ ./run-sniper -- /bin/ls
[SNIPER] Warning: Unable to use physical addresses for shared memory simulation.
Traceback (most recent call last):
File "./run-sniper", line 644, in <module>
execfile(configfile, {}, config)
IOError: [Errno 2] No such file or directory: '/home/centos/devel/sniper-7.4/config/sniper.py'
Traceback (most recent call last):
File "/home/centos/devel/sniper-7.4/record-trace", line 150, in <module>
execfile(configfile, {}, config)
IOError: [Errno 2] No such file or directory: '/home/centos/devel/sniper-7.4/config/sniper.py'

The simulator fails to run due to a missing configuration file (sniper.py). Maybe is something that I configured wrong when I followed the instructions from: https://snipersim.org/w/Getting_Started

Please let me know if you need additional information to diagnose and resolve this issue. I would greatly appreciate your help fixing this bug.

Best regards

Victor Rodriguez

Abhishek kumar

unread,
Feb 26, 2025, 11:00:02 AMFeb 26
to Sniper simulator
you need to compile the snipersim first and make the binary then only you can use them
Reply all
Reply to author
Forward
0 new messages