Okay, that error was because I was not setting the SNIPER_ROOT variable. So, I am able to get past that error. Now I am running into another fail as follows :-
sniper/test/fft$ make run
cc -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -mno-avx -I/home/rp/sniper/include -c -o fft.o fft.c
fft.c: In function ‘main’:
fft.c:361:93: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cc fft.o -lm -Lhome/rp/sniper/sniper/lib -pthread -o fft
../../run-sniper -n 2 -c gainestown --roi --viz --viz-aso -- ./fft -p 2
[SNIPER] Start
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Sniper using Pin frontend
[SNIPER] Running pre-ROI region in CACHE_ONLY mode
[SNIPER] Running application ROI in DETAILED mode
[SNIPER] Running post-ROI region in FAST_FORWARD mode
[SNIPER] --------------------------------------------------------------------------------
A:Source/pin/pin/image.cpp:RTN_Name:RTN_Name:1699: assertion failed: RTN_Valid(x)
################################################################################
## STACK TRACE
################################################################################
addr2line -C -f -e "home/rp/sniper/sniper/lib/pin_sim" 0x2b77f73df0b9 0x2b77f73dfc50 0x2b77f7481220 0x2b77f71c7880 0x2b77f71c7bba 0x2b77f71c5ea2 0x2b77f749daf2 0x030635d61 0x030680633 0x03062ec66 0x03062fe61 0x030630c0b 0x0306cec20 0x0306b5d3e 0x030757dd0
addr2line: 'home/rp/sniper/sniper/lib/pin_sim': No such file
FAILED TO GET STACK TRACE
Pin 2.13
Copyright (c) 2003-2013, Intel Corporation. All rights reserved.
@CHARM-VERSION: $Rev: 61147 $
@CHARM-BUILDER: BUILDER
@CHARM-COMPILER: gcc 4.4.7
@CHARM-TARGET: ia32e
@CHARM-CFLAGS: __OPTIMIZE__=1 __NO_INLINE__=__NO_INLINE__
Pin app terminated abnormally due to signal 6.
[SNIPER] End
[SNIPER] Elapsed time: 8.82 seconds
[SNIPER] Generating visualization in viz/
Traceback (most recent call last):
File "home/rp/sniper/sniper/tools/viz/viz.py", line 87, in <module>
defaultinterval = snapshots[1] - snapshots[0]
IndexError: list index out of range
make: *** [run_fft] Error 134