Hi
According to Sniper Manual file for running a benchmark, we should use -p but for running multiple benchmarks we should use --benchmarks.
running only one benchmark works well but --benchmarks returns an error that follows:
E: Missing application name
Pin: pin-3.7-97619-0d0c92f4f
So I personally investigated the run-sniper file in $BENCHMARKS_ROOT and record-trace file in $SNIPER_ROOT and my observation is:
1- for only one benchmark with -p the command which is sent to pin is
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
$SNIPER_ROOT/pin_kit/pin -mt -injection child -xyzzy -ifeellucky -follow_execv -t /home/ahmad/sniper/sift/recorder/obj-intel64/sift_recorder -verbose 0 -debug 0 -roi 1 -roi-mpi 0 -f 0 -d 0 -b 0 -o /tmp/tmpKo84E3/run_benchmarks -e 1 -s 0 -r 1 -pa 0 -rtntrace 1 -stop 0 -- /home/ahmad/sniper/benchmarks/splash2/splash2/codes/kernels/fft/FFT -m10 -p4
but for multiple benchmarks using --benchmarks that command does not contain any after -stop 0 like this:
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
$SNIPER_ROOT/pin_kit/pin -mt -injection child -xyzzy -ifeellucky -follow_execv -t /home/ahmad/sniper/sift/recorder/obj-intel64/sift_recorder -verbose 0 -debug 0 -roi 1 -roi-mpi 0 -f 0 -d 0 -b 0 -o /tmp/tmpKo84E3/run_benchmarks -e 1 -s 0 -r 1 -pa 0 -rtntrace 1 -stop 0 --
So first guess is that the command line which is sent to pin is incomplete that the pin returns error.
2- for only one benchmark with -p the command the benchmark runs inside sniper following this command:
[SPLASH] Running 'SNIPER_APP_LD_PRELOAD=$LD_PRELOAD; unset LD_PRELOAD; /home/ahmad/sniper/run-sniper -n 4 -m 'localhost' -d '/home/ahmad/sniper/benchmarks' -c gainestown --roi --curdir=/home/ahmad/sniper/benchmarks -- /home/ahmad/sniper/benchmarks/splash2/splash2/codes/kernels/fft/FFT -m10 -p4'
but for multiple benchmarks the command is as follows for each benchmark:
[app1] [SPLASH] Running '/home/ahmad/sniper/record-trace --routine-tracing -o /tmp/tmp9D1A1A/run_benchmarks -e 1 -r 1 -s 1 --roi -- /home/ahmad/sniper/benchmarks/splash2/splash2/codes/kernels/fft/FFT -m10 -p1'
So the main difference is about the run-trace file and it should be under reconsideration for fixing bugs (i assume)
if anyone has any suggestion, I appreciate in advance for notice.