<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
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 <sirapop741@gmail.com> 写道:</div>
<br class="Apple-interchange-newline">
<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">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 class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2024, 12:14 AM 李怿曈 Yitong LI <<a href="mailto:yitongli@hkust-gz.edu.cn">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">
<div style="line-break:after-white-space">
<div style="line-break:after-white-space">Hi all,</div>
<div style="line-break:after-white-space"><br>
</div>
<div style="line-break:after-white-space">I’ve sent another question earlier, I just pasted it here with another relevant question regarding ndnSIM’s output.</div>
<div style="line-break:after-white-space"><br>
</div>
<div style="line-break:after-white-space">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.666667px;text-align:justify;background-color:rgb(238,255,204);color:rgb(187,96,213)">NS_LOG</span><span style="font-size:14.666667px;text-align:justify;background-color:rgb(238,255,204);color:rgb(102,102,102)">=</span><span style="font-size:14.666667px;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/" target="_blank" rel="noreferrer">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 style="line-break:after-white-space">
<div></div>
<div></div>
</div>
</div>
<div style="line-break:after-white-space">
<div style="line-break:after-white-space">
<div></div>
<div></div>
</div>
</div>
</div>
<div style="line-break:after-white-space">
<div style="line-break:after-white-space">
<div style="line-break:after-white-space">
<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" target="_blank" rel="noreferrer">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>