<div dir="auto"><div dir="auto"></div>Dear Caster<div dir="auto">As you are a researcher, Depend on yourself to research and reach the results.</div><div dir="auto"><br></div><div dir="auto">Get your inspiration from this:</div><div dir="auto"><br></div><div dir="auto"><a href="https://www.ndnsim.com/howtoinstallndnsim.html">https://www.ndnsim.com/howtoinstallndnsim.html</a><br></div><div dir="auto"><br></div><div dir="auto">Regards<br><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, 11 Apr 2024, 6:21 am 李怿曈 Yitong LI, <<a href="mailto:yitongli@hkust-gz.edu.cn" target="_blank" rel="noreferrer">yitongli@hkust-gz.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="line-break:after-white-space">I’ve tried it again. It seems nothing has changed. I’ve attached the entire log file except for the intermediate process of ./waf building process as it’s too long. May I ask if there’s any wrong operation?
<div></div>
</div>
<div style="line-break:after-white-space">
<div><br id="m_426281782308769042m_-5705267352790835106x_lineBreakAtBeginningOfMessage">
<div>Caster</div>
<div><br>
<blockquote type="cite">
<div>2024年4月11日 上午1:43,Sirapop Theeranantachai <<a href="mailto:sirapop741@gmail.com" rel="noreferrer noreferrer" target="_blank">sirapop741@gmail.com</a>> 写道:</div>
<br>
<div>
<div dir="ltr">
<div>Can you try again with a fresh directory?</div>
<div><a href="https://ndnsim.net/current/best-practices.html" rel="noreferrer noreferrer" target="_blank">https://ndnsim.net/current/best-practices.html</a></div>
<div>Otherwise, I ran out of ideas, unfortunately.<br>
</div>
</div>
<br>
<div>
<div dir="ltr">On Tue, Apr 9, 2024 at 11:21 PM 李怿曈 Yitong LI <<a href="mailto:yitongli@hkust-gz.edu.cn" rel="noreferrer noreferrer" target="_blank">yitongli@hkust-gz.edu.cn</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>I’ve configured them in the following steps.
<div><b>1. ./waf configure -d optimized</b></div>
<div><b>2. ./waf</b></div>
<div><b>3. NS_LOG=ndn.Producer:ndn.Consumer ./waf --run grid3</b>
<div><br>
</div>
<div>Do you think there’s any mistake with them? As according to the documentation, it says using ./waf configure -d optimized can make ndnSIM in debug mode.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Caster</div>
<div><br>
<blockquote type="cite">
<div>2024年4月10日 上午2:11,Sirapop Theeranantachai <<a href="mailto:sirapop741@gmail.com" rel="noreferrer noreferrer" target="_blank">sirapop741@gmail.com</a>> 写道:</div>
<br>
<div>
<div dir="auto">
<div>Question 1:</div>
<div dir="auto">Yes, you don't really need to visualize to get any result. You can obtain metrics using these helper functions.</div>
<div dir="auto"><a href="https://ndnsim.net/2.2/metric.html" rel="noreferrer noreferrer" target="_blank">https://ndnsim.net/2.2/metric.html</a></div>
<div dir="auto"><br>
</div>
<div dir="auto">Question 2:</div>
<div dir="auto">Seems like the ns-3 or ndnsim is compiled without the debug mode. Can you make sure everything is compiled with debugging enabled?<br>
<br>
<div dir="auto">
<div dir="ltr">On Tue, Apr 9, 2024, 12:14 AM 李怿曈 Yitong LI <<a href="mailto:yitongli@hkust-gz.edu.cn" rel="noreferrer noreferrer" target="_blank">yitongli@hkust-gz.edu.cn</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
<div>
<div>Hi all,</div>
<div><br>
</div>
<div>I’ve sent another question earlier, I just pasted it here with another relevant question regarding ndnSIM’s output.</div>
<div><br>
</div>
<div>1. What's the difference between running using "--visualize" or not. As the simulation can be started when activating visualization, what will happen if not using "—visualize”. I think that it should be possible to run the simulation and see the output
report even without “—visualize” option?<br>
<div><br>
</div>
<div>2. As there’s problem with kiwi, I tried using ndnSim without “—visualize” and added NS_LOG to see outputs on cmd. However, it gave me nothing when using “<span style="font-size:14.6667px;text-align:justify;background-color:rgb(238,255,204);color:rgb(187,96,213)">NS_LOG</span><span style="font-size:14.6667px;text-align:justify;background-color:rgb(238,255,204);color:rgb(102,102,102)">=</span><span style="font-size:14.6667px;text-align:justify;background-color:rgb(238,255,204)">ndn.Producer:ndn.Consumer</span>”,
I’ve added testing print info in my program, it seems everything is fine. May I ask what’s the potential reason for this? I’ve attached log and source file below. My problem is that I can’t see the log outputs now.</div>
<div><br>
</div>
<div>
<div><b>caster@ubuntu:~/ndnSim/ns-3$ NS_LOG=ndn.Producer:ndn.Consumer ./waf --run grid3</b></div>
<div><b>Waf: Entering directory `/home/caster/ndnSim/ns-3/build'</b></div>
<div><b>[2810/2875] Compiling scratch/<a href="http://grid3.cc/" rel="noreferrer noreferrer noreferrer" target="_blank">grid3.cc</a></b></div>
<div><b>[2833/2875] Linking build/scratch/grid3</b></div>
<div><b>Waf: Leaving directory `/home/caster/ndnSim/ns-3/build'</b></div>
<div><b>Build commands will be stored in build/compile_commands.json</b></div>
<div><b>'build' finished successfully (40.240s)</b></div>
<div><b>Set default parameters for link and channels</b></div>
<div><b>create topology</b></div>
<div><b>install ndn stack</b></div>
<div><b>install global routing interface</b></div>
<div><b>get pointers of nodes</b></div>
<div><b>define name prefix</b></div>
<div><b>install different strategi for different prefix</b></div>
<div><b>install consumer app</b></div>
<div><b>install producer app</b></div>
<div><b>calculate FIB</b></div>
</div>
<div></div>
</div>
<div>
<div></div>
<div></div>
</div>
</div>
<div>
<div>
<div></div>
<div></div>
</div>
</div>
</div>
<div>
<div>
<div>
<div></div>
<div><br>
</div>
<div>Thanks,</div>
<div>Caster</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div></div></div>