<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<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 class="x_x_x_nv" style="font-size:14.666667px; text-align:justify; background-color:rgb(238,255,204); color:rgb(187,96,213)">NS_LOG</span><span class="x_x_x_o" 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/">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>
</body>
</html>