[Gems-users] How to set g_NUM_MEMORIES to 1 when using SMP protocol


Date: Sat, 17 Apr 2010 16:46:51 +0800
From: "zxj.xing" <zxj.xing@xxxxxxxxx>
Subject: [Gems-users] How to set g_NUM_MEMORIES to 1 when using SMP protocol
Hi all,
 
I want to do some simulation with several processors and only ONE memory controller.
The protocol i'm using is MOSI_SMP_bcast_m. I noticed there is a g_NUM_MEMORIES var in $GEMS/ruby/config/rubyconfig.defaults. So I mannaully set it to 1, recompiled ruby.
The error occured after i run 'ruby0.init'. Error info is as follows:
 
simics> ruby0.init
Ruby Timing Mode
Creating event queue...
Creating event queue done
Creating system...
  Processors: 2
failed assertion 'id < m_nodes' at fn void SimpleNetwork::checkNetworkAllocation(NodeID, bool, int) in network/simple/SimpleNetwork.C:202
failed assertion 'id < m_nodes' at fn void SimpleNetwork::checkNetworkAllocation(NodeID, bool, int) in network/simple/SimpleNetwork.C:202
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: 6355  
 
Does anyone know how to solve this? Is there any other way to set g_NUM_MEMORIES to 1 when using SMP protocol?
 
Thanks in advance.
 
Xing Zh
 
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] How to set g_NUM_MEMORIES to 1 when using SMP protocol, zxj.xing <=