No SIFT connections made yet

48 views
Skip to first unread message

kyeonghoon

unread,
Nov 23, 2022, 7:33:52 AM11/23/22
to Sniper simulator
Hello all,
I have a problem with running CPU 2006 benchmark suite
Other benchmark suite (e.g., Splash2, npb, local) runs succefully and difference between CPU 2006 benchmark suites is that red command. Only CPU 2006 benchmark suite points other directory (Directory where CPU 2006 benchmarks are stored is /home/kyeonghoon/snipersim/benchmarks/cpu2006/)
Is there anyone who can solve this problem?

Thank you!

root@36046ed72934:/home/kyeonghoon/snipersim/benchmarks# ./run-sniper -c silvermont -p cpu2006-lbm -i test
[CPU2006] [========== Running benchmark lbm ==========]
[CPU2006] Running ' SNIPER_APP_LD_PRELOAD=$LD_PRELOAD; unset LD_PRELOAD; /home/kyeonghoon/snipersim/run-sniper -n 1 -m 'localhost' -d '/home/kyeonghoon/snipersim/benchmarks' -c silvermont --roi --curdir=/home/kyeonghoon/snipersim/benchmarks  --  /tmp/tmpFMmIf3/lbm_base.sniper-x86_64 20 reference.dat 0 1 100_100_130_cf_a.of ':
[CPU2006] [---------- Beginning of output ----------]
[SNIPER] Start
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Sniper using SIFT/trace-driven 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] --------------------------------------------------------------------------------
[RECORD-TRACE] Using the Pin frontend (sift/recorder)
/tmp/tmpFMmIf3/lbm_base.sniper-x86_64 : No such file or directory
[SNIPER] WARNING: No SIFT connections made yet. Waiting for a total of 360 seconds.


root@36046ed72934:/home/kyeonghoon/snipersim/benchmarks# ./run-sniper -c silvermont -p splash2-fft -i test
[SPLASH] Benchmarks to run: fft

[SPLASH] [========== Running benchmark fft ==========]
[SPLASH] Setting up run directory: /tmp/tmpWePFk1
[SPLASH] Running 'SNIPER_APP_LD_PRELOAD=$LD_PRELOAD; unset LD_PRELOAD; /home/kyeonghoon/snipersim/run-sniper -n 1 -m 'localhost' -d '/home/kyeonghoon/snipersim/benchmarks' -c silvermont --roi --curdir=/home/kyeonghoon/snipersim/benchmarks  --  /home/kyeonghoon/snipersim/benchmarks/splash2/splash2/codes/kernels/fft/FFT -m10 -p1':
[SPLASH] [---------- Beginning of output ----------]
[SNIPER] Start
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Sniper using SIFT/trace-driven 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] --------------------------------------------------------------------------------
[RECORD-TRACE] Using the Pin frontend (sift/recorder)

FFT with Blocking Transpose
   1024 Complex Doubles
   1 Processors
   65536 Cache lines
   16 Byte line size
   4096 Bytes per page

[HOOKS] Entering ROI
[SNIPER] Enabling performance models
[SNIPER] Setting instrumentation mode to DETAILED
[SNIPER] Disabling performance models
[SNIPER] Leaving ROI after 0.43 seconds
[SNIPER] Simulated 0.3M instructions, 1.4M cycles, 0.24 IPC
[SNIPER] Simulation speed 781.9 KIPS (781.9 KIPS / target core - 1279.0ns/instr)
[SNIPER] Sampling: executed 17.25% of simulated time in detailed mode
[SNIPER] Setting instrumentation mode to FAST_FORWARD
[TRACE:0] -- DONE --
[HOOKS] Leaving ROI

                 PROCESS STATISTICS
            Computation      Transpose     Transpose
 Proc          Time            Time        Fraction
    0                98             18       0.18367

                 TIMING INFORMATION
Start time                        :      -1844408242
Initialization finish time        :      -1844407826
Overall finish time               :      -1844407728
Total time with initialization    :              514
Total time without initialization :               98
Overall transpose time            :               18
Overall transpose fraction        :          0.18367

[SNIPER] End
[SNIPER] Elapsed time: 3.65 seconds
[SPLASH] [----------    End of output    ----------]

Trevor E. Carlson

unread,
Nov 23, 2022, 8:00:06 AM11/23/22
to snip...@googlegroups.com, kyeonghoon
Lim Kyeonghoon,

There is a good reason for why the binary is pointing to a temporary directory. You can take a look at the source [1] to see that we create a new temporary directory and link to the appropriate files back in the original directory. To take a look at what is happening, you might want to comment out the cleanup command [2] to view the symlinks. Then, you’ll probably be able to see what the root cause of the problem is. I suspect that it has something to do with the setup script. Take a look and tell us what is going wrong.

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/snipersim/1f4461a9-7e44-4ef5-b947-5f934921fd45n%40googlegroups.com.

임경훈(일반대학원 전기전자공학과)

unread,
Dec 2, 2022, 4:00:56 AM12/2/22
to Sniper simulator
Trevor

  Thank you for answering my question. I find that the reason why the benchmark doesn't run is that in the setup script the directory name is unclear.
In the cpu2006 directory, all execution binary is in the src directory. However, __init.py  line 259 only points to the 'exe' directory. 
Therefore, I revise this code to point to 'src' and change the binary's name from lbm to lbm_base.sniper-x86_64
Then it works.

Thank you!
2022년 11월 23일 수요일 오후 10시 0분 6초 UTC+9에 Trevor E. Carlson님이 작성:
Reply all
Reply to author
Forward
0 new messages