There is another thread in the mailing list related to this issue. You have
to rename system.ini.example to system.ini in dramsim dir.

Alireza
On Oct 8, 2012 7:05 PM, "Seyed Majid Zahedi" <[email protected]>
wrote:

>
>
> ---------- Forwarded message ----------
> From: Seyed Majid <[email protected]>
> Date: Mon, Oct 8, 2012 at 6:09 PM
> Subject: Re: [marss86-devel] run_bench and marss dramsim
> To: Alireza Haghdoost <[email protected]>
>
>
>  I tried to launch simulator by:
> #>qemu/qemu-system-x86_64 -m 2G -hda images/parsecROI.qcow2 -simconfig
> blackscholes.simcfg
> where blackscholes.simcfg is:
>
> -----------------------------------------------------------------------
> -logfile /home/home2/zahedi/marss.dramsim/test/blackscholes.log
> -machine single_core
> -corefreq 2G
> -stats /home/home2/zahedi/marss.dramsim/test/blackscholes.yml
> -dramsim-device-ini-file ini/DDR3_micron_32M_8B_x4_sg125.ini
> -dramsim-results-dir-name
> /home/home2/zahedi/marss.dramsim/test/blackscholes.dramsim.log
>
> -startlog 10M
> -loglevel 4
> -stopinsns 100M
> -kill-after-run -quiet
> -------------------------------------------------------------------------
>
> then when I tried to start simulation by: ubuntu#>./start_sim
> it crashed and there was an error:
>
> -------------------------------------------------------------------------
> == Loading device model file
> '../DRAMSim2/ini/DDR3_micron_32M_8B_x4_sg125.ini' ==
> == Loading system model file '../DRAMSim2/system.ini' ==
> [ERROR (IniReader.cpp:417)]: Unable to load ini file ../DRAMSim2/system.ini
> Abort (core dumped)
> -------------------------------------------------------------------------
>
>
>
>
> On 10/07/2012 11:57 PM, Alireza Haghdoost wrote:
>
> Can you switch to full-system simulation mode in dramsim.marss with out
> any issue ? I doubt it this issue was related to the benchmark.
>
> On Sun, Oct 7, 2012 at 12:26 PM, Seyed <[email protected]> wrote:
>
>> Hi all,
>>
>> I followed instructions in this link:
>> https://github.com/dramninjasUMD/DRAMSim2/wiki/MARSSx86-with-DRAMSim2.
>>
>> When I run #>util/run_bench.py -d test --chk-name=blackscholes parsecROI,
>> it
>> immediately terminates and the balckscholes.yml file is empty.
>>
>> I ran the same script in marss directory without any problem but when I
>> try to
>> do the same in marss.dramsim directory it terminates fast without
>> simulation
>> anything.
>>
>> My util.cfg file:
>>
>> -----------------------------------------------------------------------------
>> [DEFAULT]
>> marss_dir = /home/home2/zahedi/marss.dramsim
>> util_dir = %(marss_dir)s/util
>> img_dir = %(marss_dir)s/images
>> qemu_bin = %(marss_dir)s/qemu/qemu-system-x86_64
>>
>> default_simconfig = -kill-after-run -quiet
>>
>>
>> [suite parsec]
>> checkpoints = blackscholes, bodytrack, ferret, freqmine, swaptions,
>> fluidanimate, vips, x264, canneal, dedup, streamcluster, facesim, raytrace
>>
>>
>> [run parsecROI]
>> suite = parsec
>> images = %(img_dir)s/parsecROI.qcow2
>> memory = 2G
>> simconfig = -logfile %(out_dir)s/%(bench)s.log
>>   -run
>>   -machine single_core
>>   -corefreq 2G
>>   -stats %(out_dir)s/%(bench)s.yml
>>   -dramsim-device-ini-file ini/DDR3_micron_32M_8B_x4_sg125.ini
>>   -dramsim-results-dir-name %(out_dir)s/%(bench)s.dramsim.log
>>   -startlog 10M
>>   -loglevel 4
>>   -stopinsns 100M
>>   %(default_simconfig)s
>> #  -consolelog %(out_dir)s/%(bench)s.log.console
>> #  -time-stats-period 10000
>>
>> qemu_args = -snapshot
>>
>> -----------------------------------------------------------------------------
>>
>> the blackscholes.log file after termination:
>>
>>
>> -----------------------------------------------------------------------------
>> //
>> //  MARSS: Cycle Accurate Systems simulator for x86
>> //  Copyright 1999-2007 Matt T. Yourst <[email protected]>
>> //  Copyright 2009-2011 Avadh Patel <[email protected]>
>> //
>> //  Git branch 'dramsim' on date Mon Sep 24 13:37:22 2012 (HEAD: a01f9c)
>> //  Built Oct  6 2012 19:59:36 on BUILDHOST using gcc-4.6
>> //  Running on carrot.cs.duke.edu
>> //
>>
>> Active parameters:
>>   -help         disabled
>>   -run          enabled
>>   -stop         disabled
>>   -kill         disabled
>>   -flush        disabled
>>   -quiet        enabled
>>   -logfile      /home/home2/zahedi/marss.dramsim/test/blackscholes.log
>>   -loglevel     4
>>   -startlog     10 M
>>   -startlogrip  18446744073709551615
>>   -consolelog   disabled
>>   -logbufsize   524288
>>   -logfilesize  67108864
>>   -dump-state-now disabled
>>   -screenshot
>>   -log-user-only disabled
>>   -dump-config-file
>>   -stats        /home/home2/zahedi/marss.dramsim/test/blackscholes.yml
>>   -yamlstats    /home/home2/zahedi/marss.dramsim/test/blackscholes.yml
>>   -stats-format yaml
>>   -snapshot-cycles infinity
>>   -snapshot-now
>>   -time-stats-logfile
>>   -time-stats-period 10000
>>   -startrip     18446744073709551615
>>   -fast-fwd-insns 0
>>   -fast-fwd-user-insns 0
>>   -fast-fwd-checkpoint
>>   -stopinsns    100 M
>>   -stopcycle    infinity
>>   -stopiter     infinity
>>   -stoprip      18446744073709551615
>>   -stop-at-marker infinity
>>   -stop-at-marker-hits infinity
>>   -stopinsns-rel infinity
>>   -bbinsns      65536
>>   -flushevery   infinity
>>   -kill-after-run enabled
>>   -event-record
>>   -event-record-stop disabled
>>   -event-replay
>>   -corefreq     2 G
>>   -enable-checker disabled
>>   -checker-startrip 18446744073709551615
>>   -perfect-cache disabled
>>   -dumpcode     test.dat
>>   -dump-at-end  disabled
>>   -bbdump
>>   -verify-cache disabled
>>   -machine      single_core
>>   -enable-mongo disabled
>>   -mongo-server 127.0.0.1
>>   -mongo-port   27017
>>   -bench-name
>>   -tags
>>   -run-tests    disabled
>>   -execute-after-kill
>>   -sync         0
>>   -simpoint
>>   -simpoint-interval 10 M
>>   -simpoint-chk-name simpoint
>>   -dramsim-device-ini-file ini/DDR3_micron_32M_8B_x4_sg125.ini
>>   -dramsim-pwd  ../DRAMSim2
>>   -dramsim-system-ini-file system.ini
>>   -dramsim-results-dir-name
>> /home/home2/zahedi/marss.dramsim/test/blackscholes.dramsim.log
>>
>> -----------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> http://www.marss86.org
>> Marss86-Devel mailing list
>> [email protected]
>> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>>
>
>
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to