CMU-SAFARI / ramulator

A Fast and Extensible DRAM Simulator, with built-in support for modeling many different DRAM technologies including DDRx, LPDDRx, GDDRx, WIOx, HBMx, and various academic proposals. Described in the IEEE CAL 2015 paper by Kim et al. at http://users.ece.cmu.edu/~omutlu/pub/ramulator_dram_simulator-ieee-cal15.pdf
MIT License
580 stars 209 forks source link

stoul invalid argument, ramulator terminated #7

Closed sparsh0mittal closed 8 years ago

sparsh0mittal commented 9 years ago

I installed ramulator-cputrace and the cpu.trace runs fine, but when I run any file from cputraces folder, it shows the following error.

./ramulator-cputrace cputraces/481.wrf.gz terminate called after throwing an instance of 'std::invalid_argument' what(): stoul Aborted (core dumped)

Can you please help.

SaugataGhose commented 9 years ago

Have you tried unzipping the cpu traces and then running ramulator?

gunzip cputraces/481.wrf.gz
./ramulator-cputrace cputraces/481.wrf

Ramulator does not support reading compressed trace files at the moment.

sparsh0mittal commented 9 years ago

​I did that now, but I still see an error:

ramulator/cputraces$ ls 401.bzip2.gz 434.zeusmp.gz 444.namd.gz 456.hmmer.gz 464.h264ref.gz 481.wrf.gz 403.gcc.gz 435.gromacs.gz 445.gobmk.gz 458.sjeng.gz 470.lbm.gz 482.sphinx3.gz 429.mcf.gz 436.cactusADM.gz 447.dealII.gz 459.GemsFDTD.gz 471.omnetpp.gz 483.xalancbmk.gz 433.milc.gz 437.leslie3d.gz 450.soplex.gz 462.libquantum.gz 473.astar.gz

ramulator/cputraces$ gunzip 481.wrf.gz

ramulator/cputraces$ cd ..

ramulator$ ./ramulator-cputrace cputraces/481.wrf terminate called after throwing an instance of 'std::out_of_range' what(): stoul Aborted (core dumped)

ramulator$ ls cputraces/ 401.bzip2.gz 434.zeusmp.gz 444.namd.gz 456.hmmer.gz 464.h264ref.gz 481.wrf 403.gcc.gz 435.gromacs.gz 445.gobmk.gz 458.sjeng.gz 470.lbm.gz 482.sphinx3.gz 429.mcf.gz 436.cactusADM.gz 447.dealII.gz 459.GemsFDTD.gz 471.omnetpp.gz 483.xalancbmk.gz 433.milc.gz 437.leslie3d.gz 450.soplex.gz 462.libquantum.gz 473.astar.gz

So, looks like issue is something else.

Thanks and Regards Sparsh Mittal

i7mist commented 9 years ago

Sorry for the delay to reply. Could you do the following things for us to spot the bug?

  1. Could you pull the latest version and try to run ./ramulator --mode=cpu configs/DDR3-config.cfg 481.wrf ?
  2. Could you show a first few lines of the unzipped trace file? (481.wrf is okay)

Thanks Tianshi