<div dir="ltr"><div dir="ltr">Hi Ygor,<div><br></div><div>Thank you for the information. I tried compiling in the debugging mode(./waf configure --debug) as given in ndnSIM documentation. But it is throwing me an error of no such option. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 13, 2021 at 5:45 AM Ygor Amaral <<a href="mailto:ygor.amaral@gmail.com">ygor.amaral@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Sai,<div><br></div><div>This output log did not give much information.<br></div><div><br></div><div>Did you compile ndnSIM in debug or optimized mode? In the development stage, prefer the debug mode, use the optimized mode only for the final simulation.<br></div><div><br></div><div>I do not believe that the error is the number of nodes. If you are a new user, the first tip is to read the ns3 and ndnSIM documentation.<br></div><div><br></div><div>To try to solve this problem, read about the log module of ns-3, it will help you to find the problem. <a href="https://www.nsnam.org/docs/release/3.33/tutorial/html/tweaking.html#using-the-logging-module" target="_blank">https://www.nsnam.org/docs/release/3.33/tutorial/html/tweaking.html#using-the-logging-module</a><br></div><div><br></div><div>If you use any C ++ IDE (e.g.: Eclipse, CLion ...), you can do remote debugging to use breakpoints and other interesting debug features provided by these IDEs.<br></div><div><br></div><div>So, you would run as follows:</div><div><br></div><div>./waf --command-template="gdbserver localhost:1234 %s" --run=ndn-complex<br></div><div><br></div><div>Regards,</div><div>Ygor Amaral</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 12, 2021 at 4:21 AM sai gautams via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div><div>Hello everyone,</div><div></div></div><div><br></div><div>I tried to write a code with 20 nodes (P2P) but when I try to visualize its build but for some reason, I couldn't. Can someone help me with this issue? I'm new to ndnSIM.</div><div><br></div>./waf --run=ndn-complex --vis<br>Waf: Entering directory `/home/smandapati/ndnSIM/ns-3/build'<br>[2772/3269] Compiling src/ndnSIM/examples/ndn-complex.cpp<br>[3227/3269] Linking build/src/ndnSIM/examples/ns3-dev-ndn-complex-debug<br>Waf: Leaving directory `/home/smandapati/ndnSIM/ns-3/build'<br>Build commands will be stored in build/compile_commands.json<br>'build' finished successfully (7.654s)<br>Command ['/home/smandapati/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-complex-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").<br><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><p><b>Sai Gautam Mandapati</b></p>

<p>Deakin University</p>

<p>Doctor of Philosophy Student</p>

<p>Higher Degree by Research</p>

<p>Faculty of Science, Engineering and Built-in Environment</p>

<p>E-mail: <a href="mailto:saigautam96@gmail.com" target="_blank">saigautam96@gmail.com</a></p>

<p><a href="http://www.linkedin.com/in/sai-gautam-mandapati" target="_blank">http://www.linkedin.com/in/sai-gautam-mandapati</a></p></div></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><p><b>Sai Gautam Mandapati</b></p>

<p>Deakin University</p>

<p>Doctor of Philosophy Student</p>

<p>Higher Degree by Research</p>

<p>Faculty of Science, Engineering and Built-in Environment</p>

<p>E-mail: <a href="mailto:saigautam96@gmail.com" target="_blank">saigautam96@gmail.com</a></p>

<p><a href="http://www.linkedin.com/in/sai-gautam-mandapati" target="_blank">http://www.linkedin.com/in/sai-gautam-mandapati</a></p></div></div></div>