Hi Lei, On Tue, 7 Mar 2006, Jin Lei wrote:
> Hi, Tomas, > > This is the complete output of simics console: > > Using user-specified disk files > Unknown callback, arg is 266394 . Ignoring... > [sc0 info] OBP 0x4000 > > Prompt reached > [cpu0] v:0x0000000010047184 p:0x0000000002c47184 bne,a,pt %icc, 0x100471b8 > Warmup start call back triggered > Traceback (most recent call last): > File "<string>", line 3, in hap_magic_callback > File "<string>", line 6, in call_back_Warmup > File > "/afs/cs.pitt.edu/projects/cast/jinlei/SimFlex/simics/x86-linux/lib/python/s > im_commands.py", line 3607, in cpu_switch_time_cmd > if poly[0] == int_t: > TypeError: unsubscriptable object > Exception in hap handler: exception in python callback > Exception in hap handler Hmm, this is very strange. This error is in a script file supplied by Virtutech. The error is triggered by the following line in flexus-test.simics: sim_commands.cpu_switch_time_cmd(1) I would guess that you are using a newer version of Simics than the most recent version we have tested with, and Virtutech either changed the interface for this command, or broke it. Which version of Simics are you using? The purpose of the command is to change the Simics simulation quantum (number of instructions simulated on one CPU before switching to the next) to a single instruction. This change is neccessary for in-order Flexus simulation. To work around this bug, you can comment out/delete the offending line in flexus_test.simics. Then, after running the script, you will need to manually edit the Simics checkpoints the script creates to change the cpu_switch_time setting to one. It appears near the top of the checkpoint description file (the file without an extension that Simics creates when a checkpoint is saved). > Warmup start call back executed > [flexus-test.simics:141] the command did not complete properly; interrupting > script > > I did not change anything in flexus-test.simics file. > > Lei > Regards, -Tom Wenisch Computer Architecture Lab Carnegie Mellon University From jinlei at cs.pitt.edu Tue Mar 7 15:32:20 2006 From: jinlei at cs.pitt.edu (Jin Lei) List-Post: [email protected] Date: Tue Mar 7 15:32:33 2006 Subject: [Simflex] Error when trying to collect the checkpoints In-Reply-To: <pine.lnx.4.53l-ece.cmu.edu.0603071519130.7...@coleburn.ece.cmu.edu> Message-ID: <[email protected]> Hi, Tomas, I am using simics 2.2.19 since I could not find the version specified in the instruction. Did you test this version? Lei -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Thomas Wenisch Sent: Tuesday, March 07, 2006 3:27 PM To: SimFlex software support Subject: RE: [Simflex] Error when trying to collect the checkpoints Hi Lei, On Tue, 7 Mar 2006, Jin Lei wrote: > Hi, Tomas, > > This is the complete output of simics console: > > Using user-specified disk files > Unknown callback, arg is 266394 . Ignoring... > [sc0 info] OBP 0x4000 > > Prompt reached > [cpu0] v:0x0000000010047184 p:0x0000000002c47184 bne,a,pt %icc, 0x100471b8 > Warmup start call back triggered > Traceback (most recent call last): > File "<string>", line 3, in hap_magic_callback > File "<string>", line 6, in call_back_Warmup > File > "/afs/cs.pitt.edu/projects/cast/jinlei/SimFlex/simics/x86-linux/lib/python/s > im_commands.py", line 3607, in cpu_switch_time_cmd > if poly[0] == int_t: > TypeError: unsubscriptable object > Exception in hap handler: exception in python callback > Exception in hap handler Hmm, this is very strange. This error is in a script file supplied by Virtutech. The error is triggered by the following line in flexus-test.simics: sim_commands.cpu_switch_time_cmd(1) I would guess that you are using a newer version of Simics than the most recent version we have tested with, and Virtutech either changed the interface for this command, or broke it. Which version of Simics are you using? The purpose of the command is to change the Simics simulation quantum (number of instructions simulated on one CPU before switching to the next) to a single instruction. This change is neccessary for in-order Flexus simulation. To work around this bug, you can comment out/delete the offending line in flexus_test.simics. Then, after running the script, you will need to manually edit the Simics checkpoints the script creates to change the cpu_switch_time setting to one. It appears near the top of the checkpoint description file (the file without an extension that Simics creates when a checkpoint is saved). > Warmup start call back executed > [flexus-test.simics:141] the command did not complete properly; interrupting > script > > I did not change anything in flexus-test.simics file. > > Lei > Regards, -Tom Wenisch Computer Architecture Lab Carnegie Mellon University _______________________________________________ SimFlex mailing list [email protected] https://sos.ece.cmu.edu/mailman/listinfo/simflex SimFlex web page: http://www.ece.cmu.edu/~simflex
