<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:宋体;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:MingLiU;
panose-1:2 2 5 9 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
font-family:宋体;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Courier;}
p.a, li.a, div.a
{mso-style-name:纯文本;
mso-style-link:"纯文本 Char";
margin:0in;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.5pt;
font-family:Calibri;}
span.Char
{mso-style-name:"纯文本 Char";
mso-style-priority:99;
mso-style-link:纯文本;
font-family:宋体;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Courier;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
/* Page Definitions */
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Yu,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">You are correct that modelnet LPs with different annotations shouldn't be able to communicate through the modelnet interface. Can you send us the configuration file you are using, along with the net_id, annotation,
final_dest_lp, and sender->gid values for the call that misbehaves? We'll try to reproduce on our end.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The startup parameter in simplenet represents local sender-side overhead on a packet granularity. So one way to estimate the startup is to get an average per-call time (on the sender side) of very small (word-sized)
messages. I.e. measure calling send(fd, buf, 8, flags) 1M times and take the average.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
Thanks,<br>
John<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="FR" style="color:black">From: </span></b><span lang="FR" style="color:black"><codes-ross-users-bounces@lists.mcs.anl.gov> on behalf of
</span><span style="font-family:"MS Mincho";color:black">于雷(</span><span lang="FR" style="color:black">Yu Lei</span><span style="font-family:"MS Mincho";color:black">)</span><span lang="FR" style="color:black"> <yulei@buaa.edu.cn></span><span lang="FR" style="font-family:MingLiU;color:black"><br>
</span><b><span lang="FR" style="color:black">Date: </span></b><span lang="FR" style="color:black">Thursday, August 4, 2016 at 10:34 PM<br>
<b>To: </b>"codes-ross-users@lists.mcs.anl.gov" <codes-ross-users@lists.mcs.anl.gov><br>
<b>Subject: </b>[codes-ross-users] codes model net problems</span><span lang="FR" style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="FR" style="font-family:"Times New Roman""><o:p> </o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-right:0in" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
<div>
<div>
<p class="MsoPlainText"><span lang="FR">1/for the method:</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="FR">model_net_event_return model_net_event_annotated(<br>
int net_id,<br>
char const * annotation,<br>
char const * category, <br>
tw_lpid final_dest_lp, <br>
uint64_t message_size, <br>
tw_stime offset,<br>
int remote_event_size,<br>
void const * remote_event,<br>
int self_event_size,<br>
void const * self_event,<br>
tw_lp *sender);</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="FR">we think that two lps with same network type but with different annotation can not communicate with this method. But we do some tests which prove that the communication can be established. We don't know why?</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="FR">2/for simplenet model, it needs a parameter "start_up". How can we obtain this parameter?</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="FR">Thanks,</span><span lang="FR"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="FR"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="FR">Lei</span><span lang="FR"><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
</body>
</html>