
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:
ns3::VisualSimulatorImpl not found",
file=../src/core/model/type-id.cc, line=388
Command ['/home/leandro/ns3/repos/ns-3.12/build/debug/scratch/lio',
'--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>").
any ideas?
2012/2/1 Kashif <eishaa...@gmail.com>:
Flow Monitor works fine with simple topology and when there is no
packet drop at Queue :(
But whenever a packet id dropped due to Queue overflow .. FlowMonitor
throws an assert.
I have checked group for assertion, and this is considered as bug and
submitted :(
I am adding 2 global variables in simulation and counting the no. of
sent packets and received packets and based on this statistic , I m
trying to find throughput :(
Regards
Kashif
John in order to solve your problem please check you have installed the prerequisites packets, to do this please refer to this page:After installing the packets when you build with waf (./waf) you will get something like this (in the ns-3.13 version), it could change if your version is different:
Modules built:aodv applications bridgeconfig-store core csmacsma-layout dsdv emuenergy flow-monitor internetlte mesh mobilitympi netanim networknix-vector-routing olsr point-to-pointpoint-to-point-layout propagation spectrumstats tap-bridge testtools topology-read uanvirtual-net-device visualizer wifiwimax
Modules not built:click openflowNow, if you see in my case the click and openflow modules are not built but this is not a problem if what you need is to visualize the graph of your script, if you are interested in buiding the other modules you could check the ns3's wiki page or with the modules mainters (in the case of click module the mainter is Lalith Suresh, all the list could be found in http://www.nsnam.org/developers/maintainers/) and you could check in this page http://lalith.in/2011/05/22/howto-getting-started-with-ns-3-click-part-i.Finally, if any module is not build the first thing you need to do is to find out what does the module do?, if you don't need that feature don't worry about it (but in general if you install the prerequsites you will get all what you need about the ns3 basic features), for example openflow is used to send packet from ns3 to real switches (unless you need that feature don't worry about it).On Thu, Jan 19, 2012 at 11:36 AM, Yeison Camargo <yjc...@gmail.com> wrote:Hello Nafis,First that all please check if you have all the packets needs as prerequisites, in order to do this check this page out:Then try to run the example (I'm assuming you copy the code and in the scratch simulator folder, created a file called myfirst.cc and pasted the code)On Thu, Jan 19, 2012 at 4:33 AM, NAFIS <nafisimt...@gmail.com> wrote:
When I am running the code I am getting the following warning:How can
I over come the problem pls.Thanks Nafis
(python:2045): Gtk-WARNING **: Unable to locate theme engine in
module_path: "pixmap",
(python:2045): Gtk-WARNING **: Unable to locate theme engine in
module_path: "pixmap",
(python:2045): Gtk-WARNING **: Unable to locate theme engine in
module_path: "pixmap",
(python:2045): Gtk-WARNING **: Unable to locate theme engine in
module_path: "pixmap",
Could not load icon applets-screenshooter due to missing gnomedesktop
Python module
scanning topology: 2 nodes...
scanning topology: calling graphviz layout
scanning topology: all done.
/root/repos/ns-3-allinone/ns-3-dev/src/visualizer/visualizer/core.py:
1340: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)'
failed
item = item.props.parent
On Jan 18, 3:59 pm, Yeison Camargo <yjc...@gmail.com> wrote:
> Hello there,
> If you want to see the graph you could use a visualizer, Pyviz is a
> visualiser very easy to use (but is not the only one), the point is that
> you have to run the program in this way : ./waf --run xxxxx --vis, but
> inside the program you need to add this:
>
> CommandLine cmd;
> cmd.Parse (argc, argv);
>
> I will send you an example if you have any question please write. Please
> copy the code in the scratch folder with a name for example myfirst.cc then
> run it with ./waf --run myfirst --vis and that's it, very easy. I'll send
> you a image of the visualizer (Pyviz)
>
> #include "ns3/core-module.h"
> #include "ns3/network-module.h"
> #include "ns3/internet-module.h"
> #include "ns3/point-to-point-module.h"
> #include "ns3/applications-module.h"
>
> using namespace ns3;
>
> NS_LOG_COMPONENT_DEFINE ("FirstScriptExample");
>
> int
> main (int argc, char *argv[])
> {
>
> CommandLine cmd;
> cmd.Parse(argc, argv);
> LogComponentEnable ("UdpEchoClientApplication", LOG_LEVEL_INFO);
> LogComponentEnable ("UdpEchoServerApplication", LOG_LEVEL_INFO);
>
> NodeContainer nodes;
> nodes.Create (2);
>
> PointToPointHelper pointToPoint;
> pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("5Mbps"));
> pointToPoint.SetChannelAttribute ("Delay", StringValue ("2ms"));
>
> NetDeviceContainer devices;
> devices = pointToPoint.Install (nodes);
>
> InternetStackHelper stack;
> stack.Install (nodes);
>
> Ipv4AddressHelper address;
> address.SetBase ("10.1.1.0", "255.255.255.0");
>
> Ipv4InterfaceContainer interfaces = address.Assign (devices);
>
> UdpEchoServerHelper echoServer (9);
>
> ApplicationContainer serverApps = echoServer.Install (nodes.Get (1));
> serverApps.Start (Seconds (1.0));
> serverApps.Stop (Seconds (10.0));
>
> UdpEchoClientHelper echoClient (interfaces.GetAddress (1), 9);
> echoClient.SetAttribute ("MaxPackets", UintegerValue (1));
> echoClient.SetAttribute ("Interval", TimeValue (Seconds (1.0)));
> echoClient.SetAttribute ("PacketSize", UintegerValue (1024));
>
> ApplicationContainer clientApps = echoClient.Install (nodes.Get (0));
> clientApps.Start (Seconds (2.0));
> clientApps.Stop (Seconds (10.0));
>
> Simulator::Run ();
> Simulator::Destroy ();
> return 0;
>
> }
>
> [image: pyvizfirst.png]
>
>
>
>
>
>
>
>
>
> On Wed, Jan 18, 2012 at 6:26 AM, john <rimlonsh...@gmail.com> wrote:
> > Dear users,
>
> > As so far i am using NS-3 and executing programs in that case when ia
> > m building the ./waf shell
> > i got the message that all the modules are build except click and flow-
> > monitor what is the remedy of this.
>
> > It will be more helpful i think so to view the graph.....
>
> > Thanking You!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ns-3-users" group.
> > To post to this group, send email to ns-3-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > ns-3-users+...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/ns-3-users?hl=en.
>
> --
> YEISON JULIAN CAMARGO
> Cisco Systems CCNA
> Cisco Systems CCNA Security
> Microsoft MTA Windows Server Administration
> Microsoft MTA Security
> Microsoft MTA Networking
> IPv6 Hurricane Electric SAGE
>
> pyvizfirst.png
> 94KViewDownload
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
--
YEISON JULIAN CAMARGOCisco Systems CCNACisco Systems CCNA SecurityMicrosoft MTA Windows Server AdministrationMicrosoft MTA SecurityMicrosoft MTA NetworkingIPv6 Hurricane Electric SAGE
hey guys i wanna know how to perform a node as selfish in a manet...and i am using ns3 to do it..could u pls help to do that