vineodd / PIMSim

PIMSim is a Process-In-Memory Simulator with the compatibility of GEM5 full-system simulation.
GNU General Public License v3.0
177 stars 85 forks source link

fatal error while trying to run pim_test.cpp #7

Open jasmiine28k opened 4 years ago

jasmiine28k commented 4 years ago

command line: build/X86/gem5.opt configs/example/se.py --cmd=./tests/test-progs/pim-hello/hellopim --num-cpus=1 --mem-type=HMC_2500_1x32 --enable-pim --num-pim-processors=16 --pim-type=kernel --kernel-type=adder --num-pim-kernels=16

xxx 4294967295 Enable PIM simulation in the system. Creating PIM kernels... Global frequency set at 1000000000000 ticks per second 42949672964294967297429496729842949672994294967300429496730142949673024294967303429496730442949673054294967306429496730742949673084294967309429496731042949673110: system.remote_gdb: listening for remote gdb on port 7000 REAL SIMULATION info: Entering event queue @ 0. Starting simulation... warn: ignoring syscall access(...) warn: ignoring syscall access(...) warn: ignoring syscall access(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall access(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall access(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall access(...) info: Increasing stack size by one page. warn: ignoring syscall mprotect(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall mprotect(...) warn: ignoring syscall mprotect(...) (pim_test.cpp) : Use PIM to calculate the sum from 1 to 100 (pim_test.cpp) : PIM [0x140737488350512] [0x140737488350520] -> [0x140737488350512] fatal: Base CPU cannot process PIM. Memory Usage: 4380004 KBytes

s910149 commented 4 years ago

Since you haven't defined the CPU type. Add "--cpu-type=Timing Simple CPU" to the command line.