[ndnSIM] car2car example

Milad Mahdian mahdian.m at husky.neu.edu
Wed Apr 17 17:43:22 PDT 2013


Alex,

After running the commands, it starts building the graph and then I get
this error:
...
./build/car-relay --run=8 --distance=170
./build/car-relay --run=9 --distance=170
./build/car-relay --run=10 --distance=170
Traceback (most recent call last):
  File "./run.py", line 139, in <module>
    fig5.run ()
  File "./run.py", line 74, in run
    self.postprocess ()
  File "./run.py", line 107, in postprocess
    f_out = open ("%s-%s.txt" % (prefix_out, subtype), "w")
IOError: [Errno 2] No such file or directory:
'results/figure-5-retx-count/car-relay-jump-distance.txt'

I have installed R and ggplot2 previously.

Regards,
Milad

On Wed, Apr 17, 2013 at 8:04 PM, Alex Afanasyev <
alexander.afanasyev at ucla.edu> wrote:

> Hi Milad,
>
> Just run the following command, which will install the missing python
> library
>
> sudo easy_install workerpool
>
>
> If it complains that easy_install is not found, then just install it using:
>
> sudo apt-get install python-setuptools
>
>
> ---
> Alex
>
> On Apr 17, 2013, at 4:59 PM, Milad Mahdian <mahdian.m at husky.neu.edu>
> wrote:
>
> Hi Alex,
>
> I am trying to run the car2car example. After following the instructions
> on :http://ndnsim.net/getting-started.html#simulating-using-ndnsim,
> building the scenario, and running it successfully, I get :
>
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf
> --run car-relay
> Waf: Entering directory
> `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'
> Waf: Leaving directory
> `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'
> 'build' finished successfully (0.017s)
>
> However, when I want it to show the results in a figure I get this error
>
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$
> ./run.py -s figure-4-data-propagation-vs-distance
> Traceback (most recent call last):
>   File "./run.py", line 8, in <module>
>     import workerpool
> ImportError: No module named workerpool
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$
> ./run.py figure-5-retx-count
> Traceback (most recent call last):
>   File "./run.py", line 8, in <module>
>     import workerpool
> ImportError: No module named workerpool
>
> And this is the waf configuration:
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf
> configure
> Setting top to                           :
> /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car
> Setting out to                           :
> /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build
> Checking for 'g++' (c++ compiler)        : /usr/bin/g++
> Checking boost includes                  : 1_49
> Checking boost libs                      : ok
> Checking for boost linkage               : ok
> Checking for program pkg-config          : /usr/bin/pkg-config
> Checking for pkg-config version >= '0.0.0' : yes
> Checking for ns3-ndnSIM                    : yes
> Checking for ns3-core                      : yes
> Checking for ns3-network                   : yes
> Checking for ns3-internet                  : yes
> Checking for ns3-point-to-point            : yes
> Checking for ns3-topology-read             : yes
> Checking for ns3-applications              : yes
> Checking for ns3-mobility                  : yes
> Checking for ns3-wifi                      : yes
> Checking for ns3-visualizer                : yes
> 'configure' finished successfully (0.300s)
>
> can you please help me solve this problem?
>
>
> Regards,
> Milad
> _______________________________________________
> 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/20130417/10edfd80/attachment.html>


More information about the ndnSIM mailing list