蔡源
2018-10-10 03:06:49 UTC
Dear all,
I'm trying to run a simulation on X86_MESI_Two_lEVEL architecture.
I can run the full-emulation and syscall-emulation mode simulation.But when I run the other script, I get this error:panic: Failed to open pthread file.Can anyone please tell me what this error is about? And help me to solve this problem.Iâm running gem5 on Ubuntu 14.04 LTS
Any help is appreciated. I'm looking forward to your responses.
Thanks and best regards!
Yuan Cai
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Sep 19 2018 00:46:23
gem5 started Oct 9 2018 19:02:37
gem5 executing on ubuntu, pid 36123
command line: ./build/X86_MESI_Two_Level/gem5.opt --debug-flags=STIntervalPrint ./configs/example/synchrotrace_ruby.py --ruby --network=garnet2.0 --topology=Mesh_XY --mesh-rows=8 --event-dir=/path/to/traces --output-dir=/path/to/output --num-cpus=8 --num-threads=8 --num-dirs=8 --num-l2caches=8 --l1d_size=64kB --l1d_assoc=2 --l1i_size=64kB --l1i_assoc=2 --l2_size=4096kB --l2_assoc=8 --cpi-iops=1 --cpi-flops=1 --bandwidth-factor=4 --master-freq=1 --cacheline_size=64
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
panic: Failed to open pthread file
Memory Usage: 647624 KBytes
Program aborted at tick 0
--- BEGIN LIBC BACKTRACE ---
./build/X86_MESI_Two_Level/gem5.opt(_Z15print_backtracev+0x15)[0x128a2c5]
./build/X86_MESI_Two_Level/gem5.opt(_Z12abortHandleri+0x36)[0x12965f6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f8bc03e2330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f8bbee99c37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f8bbee9d028]
./build/X86_MESI_Two_Level/gem5.opt(_ZN8STParser18processPthreadFileEv+0x242)[0x15a9612]
./build/X86_MESI_Two_Level/gem5.opt(_ZN12SynchroTrace4initEv+0x6da)[0x15afa7a]
./build/X86_MESI_Two_Level/gem5.opt(_ZZN8pybind1112cpp_function10initializeIZNS0_C1Iv9SimObjectJEJNS_4nameENS_9is_methodENS_7siblingEEEEMT0_FT_DpT1_EDpRKT2_EUlPS3_E_vJSH_EJS4_S5_S6_EEEvOS8_PFS7_SA_ESG_ENUlRNS_6detail13function_callEE1_4_FUNESO_+0x6f)[0x10c9b6f]
./build/X86_MESI_Two_Level/gem5.opt(_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_+0xac8)[0xf71b68]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4d4e)[0x7f8bc072fd5e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f8bc072f8e8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f8bc0731f72]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7f8bc073064e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f8bc072f8e8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f8bc0731f72]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7f8bc0644579]
./build/X86_MESI_Two_Level/gem5.opt(_Z6m5MainiPPc+0x7f)[0x1293e6f]
./build/X86_MESI_Two_Level/gem5.opt(main+0x33)[0x9545d3]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f8bbee84f45]
./build/X86_MESI_Two_Level/gem5.opt[0x97a801]
--- END LIBC BACKTRACE ---
I'm trying to run a simulation on X86_MESI_Two_lEVEL architecture.
I can run the full-emulation and syscall-emulation mode simulation.But when I run the other script, I get this error:panic: Failed to open pthread file.Can anyone please tell me what this error is about? And help me to solve this problem.Iâm running gem5 on Ubuntu 14.04 LTS
Any help is appreciated. I'm looking forward to your responses.
Thanks and best regards!
Yuan Cai
From the terminal
command line: sudo ./build/X86_MESI_Two_Level/gem5.opt --debug-flags=STIntervalPrint ./configs/example/synchrotrace_ruby.py --ruby --network=garnet2.0 --topology=Mesh_XY --mesh-rows=8 --event-dir=$EVENT_PATH --output-dir=$OUTPUT_PATH --num-cpus=8 --num-threads=8 --num-dirs=8 --num-l2caches=8 --l1d_size=64kB --l1d_assoc=2 --l1i_size=64kB --l1i_assoc=2 --l2_size=4096kB --l2_assoc=8 --cpi-iops=1 --cpi-flops=1 --bandwidth-factor=4 --master-freq=1 --cacheline_size=64gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Sep 19 2018 00:46:23
gem5 started Oct 9 2018 19:02:37
gem5 executing on ubuntu, pid 36123
command line: ./build/X86_MESI_Two_Level/gem5.opt --debug-flags=STIntervalPrint ./configs/example/synchrotrace_ruby.py --ruby --network=garnet2.0 --topology=Mesh_XY --mesh-rows=8 --event-dir=/path/to/traces --output-dir=/path/to/output --num-cpus=8 --num-threads=8 --num-dirs=8 --num-l2caches=8 --l1d_size=64kB --l1d_assoc=2 --l1i_size=64kB --l1i_assoc=2 --l2_size=4096kB --l2_assoc=8 --cpi-iops=1 --cpi-flops=1 --bandwidth-factor=4 --master-freq=1 --cacheline_size=64
Global frequency set at 1000000000000 ticks per second
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (64 Mbytes)
panic: Failed to open pthread file
Memory Usage: 647624 KBytes
Program aborted at tick 0
--- BEGIN LIBC BACKTRACE ---
./build/X86_MESI_Two_Level/gem5.opt(_Z15print_backtracev+0x15)[0x128a2c5]
./build/X86_MESI_Two_Level/gem5.opt(_Z12abortHandleri+0x36)[0x12965f6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f8bc03e2330]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f8bbee99c37]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f8bbee9d028]
./build/X86_MESI_Two_Level/gem5.opt(_ZN8STParser18processPthreadFileEv+0x242)[0x15a9612]
./build/X86_MESI_Two_Level/gem5.opt(_ZN12SynchroTrace4initEv+0x6da)[0x15afa7a]
./build/X86_MESI_Two_Level/gem5.opt(_ZZN8pybind1112cpp_function10initializeIZNS0_C1Iv9SimObjectJEJNS_4nameENS_9is_methodENS_7siblingEEEEMT0_FT_DpT1_EDpRKT2_EUlPS3_E_vJSH_EJS4_S5_S6_EEEvOS8_PFS7_SA_ESG_ENUlRNS_6detail13function_callEE1_4_FUNESO_+0x6f)[0x10c9b6f]
./build/X86_MESI_Two_Level/gem5.opt(_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_+0xac8)[0xf71b68]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4d4e)[0x7f8bc072fd5e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f8bc072f8e8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f8bc0731f72]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563e)[0x7f8bc073064e]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x48d8)[0x7f8bc072f8e8]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7f8bc0731c8d]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f8bc0731f72]
/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7f8bc0644579]
./build/X86_MESI_Two_Level/gem5.opt(_Z6m5MainiPPc+0x7f)[0x1293e6f]
./build/X86_MESI_Two_Level/gem5.opt(main+0x33)[0x9545d3]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f8bbee84f45]
./build/X86_MESI_Two_Level/gem5.opt[0x97a801]
--- END LIBC BACKTRACE ---