Hi Trevor,
Thanks a lot for you reply. I have 3 questions.
1. As per you suggestion I tried the following using splash2-
../sniper-4.1/run-sniper -- ../benchmarks/splash2/splash2/codes/apps/barnes/BARNES
But the program seems to get stuck, I am getting the followiing -
[SNIPER] Start
Running ['bash', '-c', '/home/sreda/workspace/x86simulator/sniper/sniper-4.1/pin_kit/ia32/bin/pinbin -mt -injection child -xyzzy -enable_vsm 0 -t /home/sreda/workspace/x86simulator/sniper/sniper-4.1/lib/pin_sim -c /home/sreda/workspace/x86simulator/sniper/sniper-4.1/config/base.cfg --general/total_cores=1 --general/output_dir=/home/sreda/workspace/x86simulator/sniper/kapil --config=/home/sreda/workspace/x86simulator/sniper/sniper-4.1/config/nehalem.cfg --config=/home/sreda/workspace/x86simulator/sniper/sniper-4.1/config/gainestown.cfg -- ../benchmarks/splash2/splash2/codes/apps/barnes/BARNES']
[SNIPER] Enabling performance models
[SNIPER] Setting instrumentation mode to DETAILED
2. One more question, using '--' while specifying benchmark, is it optional? When I ran - ../sniper-4.1/run-sniper -h, it gives me following output, which does not show any option for specifying a single benchmark. Does the default run-sniper file need to be changed to run benchmarks?
Run program under the Sniper simulator
Usage:
../sniper-4.1/run-sniper [-n <ncores (1)>] [-d <outputdir (.)>] [-c <sniper-config>] [-c [objname:]<name[.cfg]>,<name2[.cfg]>,...] [-g <sniper-options>] [--roi] [--roi-script] [--viz] [--perf] [--gdb] [--gdb-wait] [--gdb-quit] [--appdebug] [--appdebug-manual] [--appdebug-enable] [--power] [--cache-only] [--fast-forward] [--no-cache-warming] [--save-patch] [--pin-stats] [--mpi [--mpi-ranks=<ranks>] ] {--traces=<trace0>,<trace1>,... [--response-traces=<resptrace0>,<resptrace1>,...] | -- <cmdline>}
3. If a benchmark need input data, how do we specify that in the command line?
Thanks,
Nowroz