[ndnSIM] Error compiling "Scenario" in ndnSIM-2.1

Venkatraman B vbala038 at uottawa.ca
Fri Jan 15 14:23:31 PST 2016


Has anyone referred to this paper?

http://krc.coe.neu.edu/sites/krc.coe.neu.edu/files/SECON-2014-SWANSITY.pdf

how is the simulation achieved here?

Sincerely,
Venkat

On Thu, Jan 14, 2016 at 11:12 PM, Muhammad Faran <m.faran.majeed at gmail.com>
wrote:

> Yureka!
>
> I'm able to generate graph for my scenario. Thanks Ayush, I followed your
> shell script to achieve this. Please ignore my previous message.
>
> Kind regards,
>
> Muhammad Faran Majeed,
> AIT, Thailand
>
> Kind regards,
>
> Muhammad Faran Majeed,
> AIT, Thailand
>
> On Fri, Jan 15, 2016 at 10:52 AM, Muhammad Faran <m.faran.majeed at gmail.com
> > wrote:
>
>> Dear Ayush,
>>
>> Everything is compiled and built well. Actually, I can see the graph for
>> ndn examples but while I run my scenario in optimized mode with --vis
>> option, it compiles and builds successfully but does not show anything.
>>
>> Kind regards,
>>
>> Muhammad Faran Majeed,
>> AIT, Thailand
>>
>> On Fri, Jan 15, 2016 at 2:10 AM, Ayush Agarwal <ayush0071 at gmail.com>
>> wrote:
>>
>>> Hi,
>>> I think the problem is with the pybindgen version then. The pyviz might
>>> not have installed correctly. Try rebuilding ns-3 and check the required
>>> and present version of pybindgen on the terminal screen. I have also faced
>>> this issue earlier. Hope it helps.
>>>
>>> Thanks
>>> Ayush Agarwal
>>>
>>> On Thu, Jan 14, 2016 at 10:56 PM, Spyridon (Spyros) Mastorakis <
>>> mastorakis at cs.ucla.edu> wrote:
>>>
>>>> Hi guys,
>>>>
>>>> you can also use the logging module of NS3 to view some kind of output.
>>>>
>>>> For example, in the case of the ndn-simple scenario, you can use the
>>>> following:
>>>>
>>>> NS_LOG=ndn.Producer:ndn.Consumer ./waf --run ndn-simple
>>>>
>>>> Hope that this helps.
>>>>
>>>> Spyridon (Spyros) Mastorakis
>>>> Personal Website: http://cs.ucla.edu/~mastorakis/
>>>> Internet Research Laboratory
>>>> Computer Science Department
>>>> UCLA
>>>>
>>>>
>>>>
>>>>
>>>> On Jan 14, 2016, at 7:39 AM, Ayush Agarwal <ayush0071 at gmail.com> wrote:
>>>>
>>>> Hi,
>>>> Instead of using *./waf --run scenario --visualize *to see what is
>>>> exactly happening in a visualizer, use the command *./waf --run
>>>> scenario --vis.* This will open the pyviz visualizer and run your
>>>> simulations.
>>>>
>>>> Regards,
>>>> Ayush Agarwal
>>>>
>>>> On Thu, Jan 14, 2016 at 8:31 PM, Venkatraman B <vbala038 at uottawa.ca>
>>>> wrote:
>>>>
>>>>> Even I am facing problems while running ndn-simple.
>>>>> ./waf --run ndn-simple
>>>>> On Jan 14, 2016 1:08 PM, "Christian Kreuzberger" <
>>>>> christian.kreuzberger at itec.aau.at> wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>>
>>>>>>
>>>>>> I believe that you are not supposed to call
>>>>>>
>>>>>> ./waf –run scenarios/scenario-1.cpp
>>>>>>
>>>>>> but instead
>>>>>>
>>>>>> ./waf –run scenario-1
>>>>>>
>>>>>> (without the relative path and .cpp at the end)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Best regards
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>>
>>>>>>
>>>>>> *From:* ndnSIM [mailto:ndnsim-bounces at lists.cs.ucla.edu] *On Behalf
>>>>>> Of *Muhammad Faran
>>>>>> *Sent:* Thursday, January 14, 2016 8:01 AM
>>>>>> *To:* ndnsim at lists.cs.ucla.edu
>>>>>> *Subject:* [ndnSIM] Error compiling "Scenario" in ndnSIM-2.1
>>>>>>
>>>>>>
>>>>>>
>>>>>> Dear All,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I've downloaded and compiled ndnSIM-2.1 from
>>>>>> http://ndnsim.net/2.1/getting-started.html and followed instructions
>>>>>> for "Real Experimentation". But I'm getting following error. Could anyone
>>>>>> help me, please?
>>>>>>
>>>>>>
>>>>>> ndnsim at ndnsim:~/ndnSIM-optimized/scenario$ ./waf --run
>>>>>> scenarios/scenario-1.cpp
>>>>>> Waf: Entering directory `/home/ndnsim/ndnSIM-optimized/scenario/build'
>>>>>> Waf: Leaving directory `/home/ndnsim/ndnSIM-optimized/scenario/build'
>>>>>> 'build' finished successfully (0.052s)
>>>>>> Traceback (most recent call last):
>>>>>>   File
>>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py",
>>>>>> line 103, in waf_entry_point
>>>>>>     run_commands()
>>>>>>   File
>>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py",
>>>>>> line 166, in run_commands
>>>>>>     run_command('shutdown')
>>>>>>   File
>>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Scripting.py",
>>>>>> line 155, in run_command
>>>>>>     ctx.execute()
>>>>>>   File
>>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py",
>>>>>> line 92, in execute
>>>>>>     self.recurse([os.path.dirname(g_module.root_path)])
>>>>>>   File
>>>>>> "/home/ndnsim/ndnSIM-optimized/scenario/.waf-1.8.5-d178df7a9bb732db109001d6b461550f/waflib/Context.py",
>>>>>> line 133, in recurse
>>>>>>     user_function(self)
>>>>>>   File "/home/ndnsim/ndnSIM-optimized/scenario/wscript", line 122, in
>>>>>> shutdown
>>>>>>     return subprocess.call (argv)
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 522, in call
>>>>>>     return Popen(*popenargs, **kwargs).wait()
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
>>>>>>     errread, errwrite)
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1327, in
>>>>>> _execute_child
>>>>>>     raise child_exception
>>>>>> *OSError: [Errno 2] No such file or directory*
>>>>>>
>>>>>> Best,
>>>>>>
>>>>>> Faran
>>>>>>
>>>>>> AIT, Thailand
>>>>>>
>>>>>> _______________________________________________
>>>>>> ndnSIM mailing list
>>>>>> ndnSIM at lists.cs.ucla.edu
>>>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> ndnSIM mailing list
>>>>> ndnSIM at lists.cs.ucla.edu
>>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>>>
>>>>>
>>>> _______________________________________________
>>>> ndnSIM mailing list
>>>> ndnSIM at lists.cs.ucla.edu
>>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> ndnSIM mailing list
>>> ndnSIM at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>>
>>>
>>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://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/20160115/7ae923c5/attachment.html>


More information about the ndnSIM mailing list