<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Jian,
<div class=""><br class="">
</div>
<div class="">It looks like you have an end time set in you simulation. For ROSS models the end time can be changed with the `--end=` command line argument. I’m not sure if or how CODES modifies the end time of simulations.</div>
<div class=""><br class="">
<div class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Elsa Gonsiorowski<br class="">
</div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
</div>
</span><br class="Apple-interchange-newline">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Feb 28, 2017, at 14:36, Jian Peng <<a href="mailto:jpeng10@hawk.iit.edu" class="">jpeng10@hawk.iit.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">Hi,<br class="">
<br class="">
</div>
After some debugging, I found the reason of this issue was "tw_event_send()". I added some debugging code shown as "tw_event_send.png". Then I got debugging output as "debug1.png". Please notice the highlighted value of pointer "kp". Then I found this same
"kp" value in previous context, shown in "debug2.png". Since the "last_time" is greater than "recv_ts", "tw_eventq_push()" rather than "tw_pq_enqueue()" is called. As I'm doing sequential simulation, "tw_scheduler_sequential()" in tw-shed.c should be used.
"tw_pq_dequeue()" is used to read the event queue, shown in "tw_scheduler_sequential.png".
<br class="">
<br class="">
</div>
So here's the question. The events that called "tw_eventq_push()" seem not able to be retrieved by "tw_pq_dequeue()". So I'm wondering that either mapping multiple LPs to one KP or only using "tw_pq_dequeue()" in sequential scheduler is a bug? I haven't
looked too much into both parts, just got this question in mind. <br class="">
<br class="">
</div>
Thanks!<br class="">
<div class=""><br class="">
<br class="">
</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, Feb 27, 2017 at 1:20 PM, Jian Peng <span dir="ltr" class="">
<<a href="mailto:jpeng10@hawk.iit.edu" target="_blank" class="">jpeng10@hawk.iit.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div class="">Hi,<br class="">
<br class="">
</div>
I'm running some experiments on Dragonfly with CODES 5.0.2. Sometimes they end up with unsent messages remaining in terminals and routers. I think the reason is the events that carry these messages are not handled. I looked through my debugging information
and confirmed it. <br class="">
<br class="">
So, why does ROSS end when there are still events unprocessed? I'm running a sequential simulation. Thanks.<br class="">
<br class="">
<span id="cid:ii_15a8131568296ddc"><image.png></span><br class="">
<br class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<span id="cid:A010BA73-C016-4566-9D02-4F06447754A6@llnl.gov"><debug2.png></span><span id="cid:E9354F44-EDD9-45B1-8969-E55AFE302572@llnl.gov"><debug3.png></span><span id="cid:642EEFAE-DC52-47B8-BD77-B31EEEB23B93@llnl.gov"><tw_scheduler_sequential.png></span><span id="cid:1D7752D9-5F69-4DE5-969B-8FBA8E5225FF@llnl.gov"><tw_event_send.png></span>_______________________________________________<br class="">
codes-ross-users mailing list<br class="">
<a href="mailto:codes-ross-users@lists.mcs.anl.gov" class="">codes-ross-users@lists.mcs.anl.gov</a><br class="">
https://lists.mcs.anl.gov/mailman/listinfo/codes-ross-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>