[ndnSIM] Question about visualization and output

Sirapop Theeranantachai sirapop741 at gmail.com
Wed Apr 10 10:43:01 PDT 2024


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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240410/fad2b36b/attachment-0001.htm>


More information about the ndnSIM mailing list