On Wed, Mar 21, 2018 at 10:12 AM, Timon Evenblij <[email protected]> wrote: > Hi all, > > A quick question: Is it possible to restore from a checkpoint with a > different runscript then used during the first boot? > This way, I could run a lot of benchmarks without losing time waiting for > gem5 to boot. > I know I could boot interactively and then checkpoint, but restoring then > requires me to use m5term and execute the benchmark command manually, which > is a pain if I want to do a lot of benchmark simulations in parallel. >
I'd just use the checkpoints and expect as mentioned at: https://stackoverflow.com/questions/7013137/automating-telnet-session-using-bash-scripts E.g.: #!/usr/bin/expect spawn telnet localhost 3456 expect "# $" send "pwd\r" send "ls /\r" send "m5 exit\r" expect eof > Regards > > Timon > > _______________________________________________ > 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
