s5z / zsim

A fast and scalable x86-64 multicore simulator
GNU General Public License v2.0
328 stars 183 forks source link

Launch a test run #217

Open JTong666 opened 5 years ago

JTong666 commented 5 years ago

[H] Starting zsim, built Wed Oct 31 00:23:29 PDT 2018 (rev master:89:fb4d6e0:1fc 3+ 298fb4eb) [H] Creating global segment, 1024 MBs [H] Global segment shmid = 6193172 [H] Deadlock detection ON Could not exec, killing child: No such file or directory [H] Panic on build/opt/zsim_harness.cpp:301: Could not exec -injection [H] Child 26236 done [H] Panic on build/opt/zsim_harness.cpp:118: Child issued a panic, killing simulation [H] WARN: Hard death at exit (1 children running), killing the whole process tree

I'm using ubuntu 14.04 gcc 4.8.4 Pin 2.14 There was an error when I compiled zsim

jiaotong@ubuntu:~/zsim$ scons -j16 scons: Reading SConscript files ... Building opt zsim at build/opt gcc: error: /usr/include/asm/unistd.h: No such file or directory gcc: fatal error: no input files compilation terminated. Traceback (most recent call last): File "../../misc/list_syscalls.py", line 7, in denseList = ["INVALID"]*(max([num for (num, name) in sysList]) + 1) ValueError: max() arg is an empty sequence scons: done reading SConscript files. scons: Building targets ...

BingBingElf commented 5 years ago

I faced with the same question.Do you resolve it?

Starting zsim, built 2018年 11月 01日 星期四 17:20:27 CST (rev no git repo) [H] Creating global segment, 8192 MBs [H] Global segment shmid = 7569420 [H] Deadlock detection ON launchprocess 0 cmd:/473.astar/exe/astar_base.amd64-m64-gcc43-nn cmd:BigLakes2048.cfg -injection child /home/HSCC/zsim-nvmain/pin_kit/intel64/bin/pinbin -follow_execv -tool_exit_timeout 1 -t /home/HSCC/zsim-nvmain/bin/libzsim.so -config /home/HSCC/zsim-nvmain/config/shma-static.cfg -outputDir /home/HSCC/zsim-nvmain -shmid 7569420 -logToFile -procIdx 0 -- /473.astar/exe/astar_base.amd64-m64-gcc43-nn BigLakes2048.cfg Could not exec, killing child: No such file or directory [H] Panic on build/opt/zsim_harness.cpp:300: Could not exec -injection [H] Child 11705 done [H] Panic on build/opt/zsim_harness.cpp:117: Child issued a panic, killing simulation

Amin-Azar commented 5 years ago

Try to add this option in the sim part in your config file:

sim = { ... pinOptions = "-ifeellucky"; }