[ndnSIM] Question about visualization and output

李怿曈 Yitong LI yitongli at hkust-gz.edu.cn
Tue Apr 9 00:14:15 PDT 2024


Hi all,

I’ve sent another question earlier, I just pasted it here with another relevant question regarding ndnSIM’s output.

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?

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 “NS_LOG=ndn.Producer:ndn.Consumer”, 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.

caster at ubuntu:~/ndnSim/ns-3$ NS_LOG=ndn.Producer:ndn.Consumer ./waf --run grid3
Waf: Entering directory `/home/caster/ndnSim/ns-3/build'
[2810/2875] Compiling scratch/grid3.cc<http://grid3.cc/>
[2833/2875] Linking build/scratch/grid3
Waf: Leaving directory `/home/caster/ndnSim/ns-3/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (40.240s)
Set default parameters for link and channels
create topology
install ndn stack
install global routing interface
get pointers of nodes
define name prefix
install different strategi for different prefix
install consumer app
install producer app
calculate FIB

Thanks,
Caster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240409/869878c2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grid3.cc
Type: application/octet-stream
Size: 3265 bytes
Desc: grid3.cc
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240409/869878c2/attachment.obj>


More information about the ndnSIM mailing list