Re: [Gems-users] number of processors


Date: Fri, 26 Oct 2007 15:22:36 -0700 (PDT)
From: "Dave Z." <zhu_dave@xxxxxxxxx>
Subject: Re: [Gems-users] number of processors
It turns out the problem is in
SimicsDriver::exceptionCallback.
SIMICS_get_proc_no(cpuPtr) returns an unused processor
number which causes the error in my previous email.
So, this means the number of processors in Simics
should match the number of processors in Ruby, right?

Thanks,

Dave


--- "Dave Z." <zhu_dave@xxxxxxxxx> wrote:

> Hello,
> 
> I'm wondering if it is possible to configure Ruby to
> use fewer processors than available on the Simics
> system. For example, if Simics is configured to have
> 8
> processors, would it cause any problems if I used
> only
> 4 processors in Ruby? 
> 
> I'm getting the following error and I don't
> understand
> why. I didn't change SimicsProcessor.C.
> 
> failed assertion 'index < m_size' at fn TYPE&
> Vector<TYPE>::ref(int) [with TYPE 
> = SimicsProcessor*] in ../common/Vector.h:168
> failed assertion 'index < m_size' at fn TYPE&
> Vector<TYPE>::ref(int) [with TYPE 
> = SimicsProcessor*] in ../common/Vector.h:168
> At this point you might want to attach a debug to
> the
> running and get to the
> crash site; otherwise press enter to continue
> PID: 15611
> 
> Thanks,
> 
> Dave
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
>
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by
> adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/";
> to your search.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
[← Prev in Thread] Current Thread [Next in Thread→]