<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Jian,</div>
<div><br>
</div>
<div>The ROSS simulations start up with a certain number of events statically allocated per PE (The message-size parameter in the CODES config files tell ROSS how big an event is in bytes). At some point during the simulation, if the events being processed
 by a PE exceed the number of events that were allocated at the simulation start up, this error is thrown and the simulation terminates.</div>
<div><br>
</div>
<div>To handle this issue, you could do a —extramem that you already tried. This will allocate an extra number of events per PE. You could try increasing extramem till the point where the event memory is sufficient. However, when this error pops up, it is usually
 better to double check the model behavior I.e. If the model is issuing a reasonable number of events, it isn't running into an infinite loop of event generation or if the workload is reasonable (it could be that the workload is injecting a very large number
 of events in a short amount of time). </div>
<div><br>
</div>
<div>Also, if you are running in optimistic mode and you are getting too many rollbacks, that could be another reason of the event memory running out. So it will help to run the simulation in sequential mode first and see if the error is still there. </div>
<div><br>
</div>
<div>Regards,</div>
<div>Misbah</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:codes-ross-users-bounces@lists.mcs.anl.gov">codes-ross-users-bounces@lists.mcs.anl.gov</a>> on behalf of Jian Peng <<a href="mailto:jpeng10@hawk.iit.edu">jpeng10@hawk.iit.edu</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, April 5, 2017 at 12:48 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:codes-ross-users@lists.mcs.anl.gov">codes-ross-users@lists.mcs.anl.gov</a>" <<a href="mailto:codes-ross-users@lists.mcs.anl.gov">codes-ross-users@lists.mcs.anl.gov</a>><br>
<span style="font-weight:bold">Subject: </span>[codes-ross-users] "No free event buffers" error<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>
<div>Hi,<br>
<br>
</div>
    I get a "No free event buffers.Try increasing via g_tw_events_per_pe or --extramem" error in tw_event_new when running some not too large scale simulation, say 12840 LPs. I add option "--extramem=8192" and it doesn't help. And there is still 90GB of memory
 left.<br>
<br>
</div>
    So, any general suggestion of avoiding this error? Thanks.<br>
</div>
</div>
</div>
</span>
</body>
</html>