CMU-SAFARI / ramulator-pim

A fast and flexible simulation infrastructure for exploring general-purpose processing-in-memory (PIM) architectures. Ramulator-PIM combines a widely-used simulator for out-of-order and in-order processors (ZSim) with Ramulator, a DRAM simulator with memory models for DDRx, LPDDRx, GDDRx, WIOx, HBMx, and HMCx. Ramulator is described in the IEEE CAL 2015 paper by Kim et al. at https://people.inf.ethz.ch/omutlu/pub/ramulator_dram_simulator-ieee-cal15.pdf Ramulator-PIM is used in the DAC 2019 paper by Singh et al. at https://people.inf.ethz.ch/omutlu/pub/NAPEL-near-memory-computing-performance-prediction-via-ML_dac19.pdf
144 stars 60 forks source link

error in build/opt/zsim #29

Closed apoorvaaaa5 closed 2 months ago

apoorvaaaa5 commented 2 months ago

Hey, I am getting this issue, could anyone help me resolve this please! It would be of great help!

apoorva@apoorva-HP-Pavilion-Laptop-14-dv2xxx:~/Downloads/ramulator-pim/zsim-ramulator$ ./build/opt/zsim tests/host.cfg [H] Starting zsim, built Monday 18 March 2024 06:42:49 PM IST (rev no git repo) [H] Creating global segment, 1024 MBs [H] Global segment shmid = 2 [H] Deadlock detection ON [S 0] Started instance [S 0] Started RR scheduler, quantum=10000 phases prefix: sys.caches.l3. Prefetcher Stream prefix: sys.caches.l2. Prefetcher Stream prefix: sys.caches.l1i. Prefetcher Stream prefix: sys.caches.l1d. Prefetcher Stream [S 0] Hierarchy: [ l1i-0 l1d-0 ] -> l2-0 [S 0] Hierarchy: [ l1i-1 l1d-1 ] -> l2-1 [S 0] Hierarchy: [ l1i-2 l1d-2 ] -> l2-2 [S 0] Hierarchy: [ l1i-3 l1d-3 ] -> l2-3 [S 0] Hierarchy: [ l2-0 l2-1 l2-2 l2-3 ] -> l3-0b0..l3-0b3 Only offload: 1 Only offload: 1 Only offload: 1 Only offload: 1 [S 0] Initialized system [S 0] HDF5 backend: Opening rodiniaBFS.out.zsim.h5 [S 0] HDF5 backend: Created table, 3720 bytes/record, 282 records/write [S 0] HDF5 backend: Opening rodiniaBFS.out.zsim-ev.h5 [S 0] HDF5 backend: Created table, 3720 bytes/record, 36 records/write [S 0] HDF5 backend: Opening rodiniaBFS.out.zsim-cmp.h5 [S 0] HDF5 backend: Created table, 2304 bytes/record, 1 records/write [S 0] Initialization complete [S 0] Started process, PID 5789 [S 0] procMask: 0x0 [S 0] [0] Adjusting clocks, domain 0, de-ffwd 0 [S 0] vDSO info initialized [H] Attached to global heap [S 0] FF thread 0 starting [S 0] Started scheduler watchdog thread [S 0] Started contention simulation thread 0 [S 0] FF control Thread TID 5792 XSAVE A: Source/pin/vm_ia32_l/emu_ia32_linux.cpp: ExecuteSysArchPrct1: 664: Unknown sub-function for SYS_arch_prctl

################################################################################

STACK TRACE ################################################################################ addr2line -C -f -e "/home/apoorva/Downloads/ramulator-pim/zsim-ramulator/pin/intel64/bin/pinbin" 0x3041c07f9 0x3041c15ce 0x3041c18a0 0x3043c2122 0x3043c48e6 0x30432df2b 0x304317874 0x3042f95db 0x304380868 LEVEL_BASE::MESSAGE_TYPE::DumpTrace() ??:? LEVEL_BASE::MESSAGE_TYPE::MessageInternal(std::string const&, bool, PIN_ERRTYPE, __va_list_tag, int) ??:? LEVEL_BASE::MESSAGE_TYPE::MessageNoReturn(std::string const&, bool, PIN_ERRTYPE, int, ...) ??:? LEVEL_VM::EMULATOR::ExecuteSysArchPrct1() ??:? LEVEL_VM::EMULATOR::ExecuteSysCall(LEVEL_VM::INS_EMU_INFO const) ??:? LEVEL_VM::EMULATOR_IA32::EmulateOneInstruction(LEVEL_VM::INS_EMU_INFO const) ??:? LEVEL_VM::VMSVC_Emu(LEVEL_VM::SCT_ATTRIBUTES const, LEVEL_VM::PCTXT, LEVEL_VM::VMSVC_EMU_ARGS const) ??:? LEVEL_VM::VM::Dispatch(LEVEL_VM::VMSVC_ARGS const, LEVEL_VM::PCTXT) ??:? VmLeave ??:? Detach Service Count: 226 Pin 2.14 Copyright (c) 2003-2015, Intel Corporation. All rights reserved. @CHARM-VERSION: $Rev: 71293 $ @CHARM-BUILDER: BUILDER @CHARM-COMPILER: gcc 4.4.7 @CHARM-TARGET: ia32e @CHARM-CFLAGS: OPTIMIZE=1 NO_INLINE=NO_INLINE Pin app terminated abnormally due to signal 6. [H] Child 5788 done [H] Panic on build/opt/zsim_harness.cpp:123: Child 5788 (idx 0) exit was anomalous, killing simulation

wqd008 commented 2 months ago

https://hub.docker.com/r/sidsahay/ramulator-pim

geraldofojunior commented 2 months ago

https://hub.docker.com/r/sidsahay/ramulator-pim

Probably it is due to your kernel version. Ramulator-PIM does not work on kernel versions > 4.

This docker container should work.