Hello

The --take-checkpoints flag needs 2 arguments. If you take a look at the help 
information you will see something like this:

--take-checkpoints=TAKE_CHECKPOINTS
                        <M,N> will take checkpoint at cycle M and every N
                        cycles thereafter

If you only want to checkpoint only once, try --take-checkpoints=M,0

Hope this helps!

B.R.
Alexandru



________________________________
From: Griffin Wright <[email protected]>
To: [email protected]
Sent: Thursday, August 11, 2011 6:31 PM
Subject: [gem5-users] Question regarding --take-checkpoint


Hello,

This is a _REALLY_ stupid question, but I'm a wee bit stuck and am not sure
what I'm doing wrong.

For some of my simulations, I've been taking checkpoints at regular tick
intervals throughout execution. (ie, --take-checkpoints=$CPT,$CPT etc) but
now I just want to take a single checkpoint at a specified tick.

Using --take-checkpoint=$CPT, for example, does not work, with the
following spew:

  File "<string>", line 1, in <module>
  File
"/net/coldwater/w/grwright/Research/tmp/m5_rel/src/python/m5/main.py", line
348, in main
  File "./m5/configs/SFI/sfi.py", line 177, in <module>
    Simulation.run(options, root, system, FutureClass)
  File "/home/griffin/Research/llvm/foo5/m5/configs/common/Simulation.py",
line 320, in run
    when, period = options.take_checkpoints.split(",", 1)
ValueError: need more than 1 value to unpack

The code in Simulation.py only seems to work with single checkpoints if I
use the simpoint or at-instruction option.  I'd like to just take a single
checkpoint at the tick that I specify.  Is there a way to do this without
having to finagle with --at-instruction?

Thanks,
Griffin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to