[ndnSIM] About simulation outputs and logging info

Sirapop Theeranantachai sirapop741 at gmail.com
Sat Mar 23 04:47:05 PDT 2024


Hi,
Your command needs to look like this
NS_LOG=ndn.Consumer ./waf --run ndn-first --visualize

Alternatively, you can set environment variable with commands such as
export.

On Sat, Mar 23, 2024, 1:10 AM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
wrote:

> I’ve attached here, I’m currently using the simple scenario given in the
> documentation. After running “./waf” and “./waf —run ndn-simple”, I got the
> outputs below.
> *caster at ubuntu:~/ndnSim/ns-3$ ./waf --run ndn-first --visualize*
> *Waf: Entering directory `/home/caster/ndnSim/ns-3/build'*
> *Waf: Leaving directory `/home/caster/ndnSim/ns-3/build'*
> *Build commands will be stored in build/compile_commands.json*
> *'build' finished successfully (1.699s)*
> *Could not load plugin 'show_last_packets.py': No module named 'kiwi.ui'*
> *Could not load icon applets-screenshooter due to missing gnomedesktop
> Python module*
> *scanning topology: 3 nodes...*
> *scanning topology: calling graphviz layout*
> *scanning topology: all done.*
>
> From the documentation, I also noticed that “logging” and “debug” mode can
> be set using “./waf configure —logging/—debug”. But it gave me error
> showing no such option.
>
>
>
>
> Thanks,
> Caster
>
> 2024年3月23日 下午3:48,Sirapop Theeranantachai <sirapop741 at gmail.com> 写道:
>
> Could you send us your source code? You should be able to see some output.
>
> On Fri, Mar 22, 2024, 8:04 PM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
> wrote:
>
> Hi,
>
> I want to run my own simulation, after using ./waf —run xx command, I
> can’t see any outputs.
>
> I’ve tried the solution in the template, which uses *./waf configure
> —debug/./waf configure —logging*. But it’s not working, it shows “*waf:
> error: no such option*”. “*NS_LOG=ndn.Consumer ./waf --run=ndn-simple*”
> is not working as well. I wonder if I need to add some command in the
> source file to see the outputs?
>
> Thanks,
> Caster
>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240323/51445de1/attachment.html>


More information about the ndnSIM mailing list