how to start learning about program writtting in NS3

604 views
Skip to first unread message

priyadarshi...@gmail.com

unread,
Jan 5, 2015, 6:06:25 AM1/5/15
to ns-3-...@googlegroups.com
help me.....

Konstantinos

unread,
Jan 5, 2015, 6:30:40 AM1/5/15
to ns-3-...@googlegroups.com
Hi,

If you have no prior knowledge of C++, you should start first with that.
Then, you should go through the NS-3 tutorial http://www.nsnam.org/docs/release/3.21/tutorial/html/index.html

On Monday, January 5, 2015 11:06:25 AM UTC, priyadarshi...@gmail.com wrote:
help me.....

priyadarshini rashmita

unread,
Jan 6, 2015, 1:41:31 AM1/6/15
to ns-3-...@googlegroups.com
but i am not able to know what will be file's extension ,how to save it and how to compile and run the source file....is it same as c++  ??
for compilation -  g++  filename.e filename.cpp
for run - ./filename.out     please respond me and thanks for your above suggestion


--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/no3eP2FnsOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.



--
Priyadarshini Rashmita
Lecturer of CVRCE
Bhubaneswar

pdbarnes

unread,
Jan 6, 2015, 10:35:26 AM1/6/15
to ns-3-...@googlegroups.com
All these questions are addressed in the tutorial:
Where to put ns-3 programs: start by putting them in ./scratch
What extension to use: .cc
How to build: ./waf build (but you have to configure it first)

Work through the tutorial. You'll learn a lot!
Peter

priyadarshini rashmita

unread,
Jan 7, 2015, 9:22:31 AM1/7/15
to ns-3-...@googlegroups.com
thank you peter

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/no3eP2FnsOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

priyadarshini rashmita

unread,
Jan 12, 2015, 5:54:24 AM1/12/15
to ns-3-...@googlegroups.com
hello everybody.......
      i am trying to install NS3 as per tutorial but when i m typing ./build py it is showing that CLICK and OPEN FLOW modules are not built......how to install them please tell me .
Thank you everyone.
 

Konstantinos

unread,
Jan 12, 2015, 6:12:42 AM1/12/15
to ns-3-...@googlegroups.com
Please study the tutorial. http://www.nsnam.org/docs/release/3.21/tutorial/html/getting-started.html#building-with-build-py
[tutorial quote]
This just means that some ns-3 modules that have dependencies on outside libraries may not have been built, or that the configuration specifically asked not to build them. It does not mean that the simulator did not build successfully or that it will provide wrong results for the modules listed as being built.


On Monday, January 12, 2015 at 10:54:24 AM UTC, priyadarshini rashmita wrote:
hello everybody.......
      i am trying to install NS3 as per tutorial but when i m typing ./build py it is showing that CLICK and OPEN FLOW modules are not built......how to install them please tell me .
Thank you everyone.
 
On Wed, Jan 7, 2015 at 7:52 PM, priyadarshini rashmita <priyadarshini.rashmita@gmail.com> wrote:
thank you peter

On Tue, Jan 6, 2015 at 9:05 PM, pdbarnes <pd...@mac.com> wrote:
All these questions are addressed in the tutorial:
Where to put ns-3 programs:  start by putting them in ./scratch
What extension to use:  .cc
How to build:  ./waf build (but you have to configure it first)

Work through the tutorial. You'll learn a lot!
Peter

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/no3eP2FnsOk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.

To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Priyadarshini Rashmita
Lecturer of CVRCE
Bhubaneswar

Subhransu Das

unread,
Jan 13, 2015, 5:07:07 AM1/13/15
to ns-3-...@googlegroups.com
You can build the modules like "OPEN FLOW SWITCH" separately.
But For Now !!
Your Simulator is built Successfully. 
Please follow the link attached by Konstantinos , Until you see the following..



priyadarshini rashmita

unread,
Jan 16, 2015, 6:28:41 AM1/16/15
to ns-3-...@googlegroups.com
hello everyone.
                   I am done with installation of NS3 .So now please suggest me form where i should start my study of NS3 language learning please advise me.

Tommaso Pecorella

unread,
Jan 16, 2015, 6:59:52 AM1/16/15
to ns-3-...@googlegroups.com
Hi,

the tutorial is the obvious answer. If you don't understand the tutorial, I'd suggest a good C++ and pattern book. This is a good one.

T.

priyadarshini rashmita

unread,
Jan 23, 2015, 3:21:49 AM1/23/15
to ns-3-...@googlegroups.com
hello sir,
    i have written the program it is showing output but i dont know why it is not generating xml file to visualize the node location ..i have included netanim header file and netanim interface.  

Tommaso Pecorella

unread,
Jan 26, 2015, 4:14:37 PM1/26/15
to ns-3-...@googlegroups.com
Hi,

no idea. Try checking the NetAnim examples in src/netanim/examples.

Cheers,

T.

priyadarshini rashmita

unread,
Jan 30, 2015, 3:57:06 AM1/30/15
to ns-3-...@googlegroups.com
hello everyone,
    i have written a script in NS3 in which i have created 1 server node and 10  client node .when i am simulating it it is only showing packet transfer between node 0 and node 1 not form others nodes.how to do please respond.
Reply all
Reply to author
Forward
0 new messages