[ndnSIM] set different cs size in different node
Spyridon (Spyros) Mastorakis
mastorakis at cs.ucla.edu
Wed Sep 27 14:44:29 PDT 2017
Hi,
you can do what the error message suggests; run your scenario under gdb.
Probably one (or more) of the pointers to the nodes are null…? That seems to be something related to C++, so I would suggest to debug your code accordingly.
Thanks,
Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA
> On Sep 27, 2017, at 2:07 PM, Leanna Vidya <leanna.vidya at gmail.com> wrote:
>
>
> Please help..
> I want to set different CS size for different node in ndnSIM. I've write this code,
>
> Ptr<Node> nodes[3] = {Names::Find<Node>("node1"), Names::Find<Node>("node2"), Names::Find<Node>("node3")};
>
> ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize","100");
> ndnHelper.Install(nodes[0]);
>
> ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize","50");
> ndnHelper.Install(nodes[1]);
>
> ndnHelper.SetOldContentStore("ns3::ndn::cs::Lru", "MaxSize","10");
> ndnHelper.Install(nodes[2]);
>
>
> But the simulator was gave me this warning :
>
> Command ['/home/bima/ndnSIM/ns-3/build/scratch/simulasi_2'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>")
>
>
> please help me...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170927/ecb411d5/attachment.html>
More information about the ndnSIM
mailing list