[ndnSIM] Question about visualization and output

Asim ALHIMSYA asim.alhimsya at gmail.com
Thu Apr 11 05:14:20 PDT 2024


Dear Caster
As you are a researcher, Depend on yourself to research and reach the
results.

Get your inspiration from this:

https://www.ndnsim.com/howtoinstallndnsim.html

Regards

On Thu, 11 Apr 2024, 6:21 am 李怿曈 Yitong LI, <yitongli at hkust-gz.edu.cn>
wrote:

> 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?
>
> Caster
>
> 2024年4月11日 上午1:43,Sirapop Theeranantachai <sirapop741 at gmail.com> 写道:
>
> Can you try again with a fresh directory?
> https://ndnsim.net/current/best-practices.html
> Otherwise, I ran out of ideas, unfortunately.
>
> On Tue, Apr 9, 2024 at 11:21 PM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
> wrote:
>
> I’ve configured them in the following steps.
> *1. ./waf configure -d optimized*
> *2. ./waf*
> *3. NS_LOG=ndn.Producer:ndn.Consumer ./waf --run grid3*
>
> 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.
>
> Thanks,
> Caster
>
> 2024年4月10日 上午2:11,Sirapop Theeranantachai <sirapop741 at gmail.com> 写道:
>
> Question 1:
> Yes, you don't really need to visualize to get any result. You can obtain
> metrics using these helper functions.
> https://ndnsim.net/2.2/metric.html
>
> Question 2:
> Seems like the ns-3 or ndnsim is compiled without the debug mode. Can you
> make sure everything is compiled with debugging enabled?
>
> On Tue, Apr 9, 2024, 12:14 AM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
> wrote:
>
> 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
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
> _______________________________________________
> 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/20240411/ab83b951/attachment.htm>


More information about the ndnSIM mailing list