vineodd / PIMSim

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

GEM5 to simulate testbenches - sample execution #5

Open sahilhassanzee opened 5 years ago

sahilhassanzee commented 5 years ago

I have been trying to run the provided hello-pim program of adding 1 to 100 using PIM function. It shows a segmentation fault every time I run it using the provided commands in 'hellopim.sh'.

ywdyang commented 4 years ago

I have been trying to run the provided hello-pim program of adding 1 to 100 using PIM function. It shows a segmentation fault every time I run it using the provided commands in 'hellopim.sh'.

Hello,I also met this problem.But I found that using gdb can solve this problem and I didn't know why.Hope it will be useful for you.

jihyelee317 commented 2 years ago

Hello, I solved this problem with the command below.

$ sudo apt install build-essential git m4 scons zlib1g zlib1g-dev \
    libprotobuf-dev protobuf-compiler libprotoc-dev libgoogle-perftools-dev \
    python3-dev python3-six python libboost-all-dev pkg-config

This is prerequisite of gem5.