unexpected AUX VEC type 26

768 views
Skip to first unread message

Nadim Jabbour

unread,
Apr 17, 2018, 12:03:02 PM4/17/18
to Sniper simulator
I am getting the below when running the example benchmarks provided. I tried putting the -ifeellucky like many user suggested, but I am not sure this is the correct way to put it. It is giving me the same error without the -ifeellucky.

./run-sniper -ifeellucky -p splash2-fft -i test -n 4 -c gainestown
[SPLASH] Benchmarks to run: fft

[SPLASH] [========== Running benchmark fft ==========]
[SPLASH] Setting up run directory: /tmp/tmpwVHu_r
[SPLASH] Running 'SNIPER_APP_LD_PRELOAD=$LD_PRELOAD; unset LD_PRELOAD; /home/nadim/Desktop/sniper-sim/sniper/run-sniper -n 4 -m 'localhost' -d '/home/nadim/Desktop/sniper-sim/sniper/benchmarks' -c gainestown --roi --curdir=/home/nadim/Desktop/sniper-sim/sniper/benchmarks  --  /home/nadim/Desktop/sniper-sim/sniper/benchmarks/splash2/splash2/codes/kernels/fft/FFT -m10 -p4':
[SPLASH] [---------- Beginning of output ----------]
[SNIPER] Start
A: Source/pin/injector_nonmac/auxvector.cpp: CopyAux: 291: unexpected AUX VEC type 26

################################################################################
## STACK TRACE
################################################################################
addr2line -C -f -e "/home/nadim/Desktop/sniper-sim/sniper/pin_kit/intel64/bin/pinbin" 0x55b2b31e67f9 0x55b2b31e75ce 0x55b2b31e78a0 0x55b2b3409b3c 0x55b2b340f2ff 0x55b2b3410e2d 0x55b2b3400fe1 0x55b2b3405b2d 0x55b2b33f622e 0x55b2b3400230 0x7f1b46784830 0x55b2b31db17a
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
Detach Service Count: 1
Pin 2.14
Copyright (c) 2003-2015, Intel Corporation. All rights reserved.
@CHARM-VERSION: $Rev: 71293 $
@CHARM-BUILDER: BUILDER
@CHARM-COMPILER: gcc 4.4.7
@CHARM-TARGET: ia32e
@CHARM-CFLAGS:  __OPTIMIZE__=1  __NO_INLINE__=__NO_INLINE__
[SNIPER] End
[SNIPER] Elapsed time: 0.12 seconds
[SPLASH] [----------    End of output    ----------]
[SPLASH] Done.

Trevor E. Carlson

unread,
Apr 17, 2018, 12:07:01 PM4/17/18
to nja...@ncsu.edu, snip...@googlegroups.com
Nadim,

To get this working, you’ll need to modify the sniper/run-sniper Python script, and add the -ifeellucky option to the line where we set the base pinoptions string. Try that first and see if it fixes the problem. Passing the option to the benchmarks/run-sniper command will not be able to help in this case.

Trevor

--
--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en

---
You received this message because you are subscribed to the Google Groups "Sniper simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snipersim+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nadim Jabbour

unread,
Apr 17, 2018, 12:22:42 PM4/17/18
to Sniper simulator
-ifeellucky option to the line where we set the base pinoptions string: I am nor sure where this is referring to. I tried inserting it in the below:

opts_passthrough = [ 'ifeellucky', 'profile', 'perf', 'gdb', 'gdb-wait', 'gdb-quit', 'appdebug', 'appdebug-manual', 'appdebug-enable', 'power', 'cache-only', 'fast-forward', 'no-cache-warming', 'save-patch', 'pin-stats', 'viz', 'viz-aso', 'wrap-sim=', 'sift']

try:
  opts, args = getopt.getopt(sys.argv[1:], "hvp:i:B:n:m:s:d:c:r:g:", [ "ifeellucky", "no-roi", "roi-script", "roi", "sim-end=", "save-run", "save-run-prefix=", "save-run-second-stage=", "benchmarks=" ] + opts_passthrough)

but it did not work i tried both -ifeellucky and ifeellucky

Trevor E. Carlson

unread,
Apr 17, 2018, 12:31:57 PM4/17/18
to nja...@ncsu.edu, snip...@googlegroups.com
Nadim,

See the attached patch file. To apply, run the following commands:

$ cd sniper # not benchmarks
$ patch -p1 < /path/to/sniper-6.1-ifeellucky.patch

You should then be able to run Sniper without this error as the -ifeellucky option will be passed to the Pin binary.

Trevor

sniper-6.1-ifeellucky.patch

Nadim Jabbour

unread,
Apr 17, 2018, 12:40:33 PM4/17/18
to Sniper simulator
Trevor my good man you are the king of sniper and everything computer engineering. Thank you very much for all your help!
Reply all
Reply to author
Forward
0 new messages