LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 04-02-2014, 12:33 AM   #196
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled

Quote:
# 194.

Using Xgraph examples : $ cd xgraph-12.1/examples/
.......
* The xgraph plot files are text : Please study the six examples.
Example.tcl that uses xgraph at simulation end :
....
.......
$ ns-* JoeNaoum-Sawaya.tcl
... and three times Xgraph windows will open.
* The VINT Xgraph http://www.isi.edu/nsnam/xgraph/index.html
................
..................
→ etc., 7,000 hits : I guess you'll find what you are looking for.
-
most of the links visited.
thank you for others.
 
Old 04-05-2014, 05:38 AM   #197
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear knudfl,

where to find the node wise buffer information in ns2 files.
any link/suggestion will be helpful.

One thing more do you have any information about
patch EBR with ns2.34

with thanks.

Last edited by Chakraborty; 04-05-2014 at 05:43 AM.
 
Old 04-05-2014, 08:20 AM   #198
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 197 .
Quote:
where to find the node wise buffer information in ns2 files.
any link/suggestion will be helpful.
Sorry, don't know. Probably ask at http://network-simulator-ns-2.7690.n7.nabble.com/
.. and https://groups.google.com/forum/?fro...forum/ns-users


EBR : "Google .. ns2 EBR .." : Nothing.
https://www.google.com/webhp?hl=all#...2+EBR&start=20
"Google .. ns2 EBR protocol .." : A few ".pdf hits .
https://www.google.com/webhp?hl=all#...2+EBR+protocol
There is some code in the first hit, 9Vol57No3.pdf , page 5?
http://www.jatit.org/volumes/Vol57No3/9Vol57No3.pdf

-

Last edited by knudfl; 04-05-2014 at 08:22 AM.
 
Old 04-05-2014, 01:48 PM   #199
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear Knudfl,

I have changed the code, of gpsr.
Make all done successfully.

It was working well previously
and on successful make after code modification too.
but suddenly It is now showing,

chakraborty@chakraborty-Inspiron-1545:~/ns-allinone-2.34/ns-2.34$ cd gpsr && ns wireless-gpsr-25to200.tcl
.....
....
highestAntennaZ_ = 1.5, distCST_ = 220.0
SORTING LISTS ...DONE!
fatal ARP error...

& with deafult scripts

chakraborty@chakraborty-Inspiron-1545:~/ns-allinone-2.34/ns-2.34/gpsr$ ns wireless-gpsr.tcl
num_nodes is set 100
.....
.....
SORTING LISTS ...DONE!
fatal ARP error...

I reinstalled the ns2 with gpsr.
the same error.
Though trace file is generated
with information and also giving results when abstracted by awks.
I don't know from where it is giving this fatal error.

Please suggest. I am at the core of my work.
thanking you for consistent help.

Last edited by Chakraborty; 04-07-2014 at 04:33 PM.
 
Old 04-07-2014, 11:12 AM   #200
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
with ref. to:
Quote:
Originally Posted by Chakraborty View Post
#198
...fatal ARP error...
Please suggest. I am at the core of my work.
 
Old 04-07-2014, 12:24 PM   #201
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#199 - #200.

When you do changes in the original code, do not expect everything to work.

* Better tell what you changed in the code. With line numbers, please.

-
 
Old 04-07-2014, 04:31 PM   #202
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
#201.
Quote:
When you do changes .....
....everything to work.
-
why, even though make is sucessful. and several times it gave traces without that
"fatal error"

Quote:
* Better tell what you changed in the code. With line numbers, please.
-
I have changed only in 3 files neighbour.h neighbour.cc and gpsr.cc.
how to upload the changed files here.

with thanks.
 
Old 04-08-2014, 03:20 AM   #203
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 202 .

You will still have to tell which line numbers that are the edited ones.

Files { neighbour.h neighbour.cc and gpsr.cc } can be attached as :
neighbour.h.txt, neighbour.cc.txt, and gpsr.cc.txt .

Attachments : That's the paper clip tool in the 'Advanced Editor'.


Quote:
several times it gave traces without that "fatal error"
Random errors can happen with ns2. When you add some questionable code :
An executable "ns" that has worked OK with a simulation can suddenly fail
.. next time you run the same simulation.

Other possible change of ns2 behavior : The OS got some new updates.

-
 
Old 04-08-2014, 05:30 AM   #204
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
in gpsr_neighbour.cc:line 199 to 228
in gpsr_neighbour.h:line 120
in gpsr.cc:line 255,257-276,282-296,309-328

Last edited by Chakraborty; 04-08-2014 at 10:52 AM.
 
Old 04-08-2014, 10:57 AM   #205
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
with ref. to
Quote:
#200
temporarily,got rid of fatal error.
thank you for support.

Last edited by Chakraborty; 04-08-2014 at 11:10 AM.
 
Old 04-08-2014, 11:09 AM   #206
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear Knudfl,
I need to see the animation window of the simulation with code modified to know/verify the behaviour, according to the code.

I default wireless-gpsr.tcl is not giving nam window.
Can I get the nam window with animation, atleast with less no of nodes.

here is the tcl script.

What additional changes do I need to make.

Please suggest.

With thanks.
Attached Files
File Type: txt wireless-gpsr.tcl.txt (8.6 KB, 12 views)
 
Old 04-09-2014, 01:21 AM   #207
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Dear knudfl,
with ref. to

Quote:
Originally Posted by Chakraborty View Post

#206
Please suggest.
With thanks.

Last edited by Chakraborty; 04-09-2014 at 01:22 AM.
 
Old 04-09-2014, 07:30 AM   #208
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#207, #206.

As you already know (hopefully) the only gpsr examples where nam is added
.. are two gpsr-hls examples : gpsr-hls-examples-0113.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

And I am not sure that the examples work very well with nam.

-
 
Old 04-09-2014, 09:19 AM   #209
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Quote:
#208.

As you already know (hopefully) the only gpsr examples where nam is added
.. are two gpsr-hls examples : gpsr-hls-examples-0113.tar.gz

-
1) You know I a working with KeLiu's GPSR.
And in THAT nam animator is not coming.
How to do this?
Please suggest with respect to that.

I have to see whether the modification done in those
files are taking effect or not, with less no of nodes atleast.
So..... I need nam.

2) And what about the files that I uploaded to you.
Have you seen the files with line nos referrred ?

"Other option side-by-side I am trying to debug the existing code(GPSR)
and modified code to see the working details.
For this I have added some unrelated code of
file handling in-between so that it can signal by
writing text to another text-file in that directory(gpsr)
while entering to a particular block for execution."

But it is not writing, after successful make & thenafter
call/execution by wireless-gpsr.tcl script.

3) How to do this at least?

With thanks

Last edited by Chakraborty; 04-09-2014 at 09:22 AM.
 
Old 04-09-2014, 10:56 AM   #210
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 209 .
Quote:
2) And what about the files that I uploaded to you.
Have you seen the files with line nos referrred ?
The files were deleted before I had a chance to get them :
See your post #204 : No attached files.

1. Not all protocols support nam.

2. ".. trying to debug .." :
The executable 'ns' is compiled with no debug option by default :
See $ './configure --help' , the option is : --enable-debug

-
 
  


Closed Thread

Tags
gdb, gpsr, gpsr-hls, gpsr-keliu, xgraph#195


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
patch for working leach protocol in ns2.34 fedora rajcek Linux - Wireless Networking 4 02-04-2013 06:59 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
free routing protocol in fedora wahaha Linux - Networking 2 10-26-2006 01:16 AM
RIP(Routing Information protocol) cranium2004 Linux - Networking 2 05-01-2005 06:08 AM
Routing Protocol karunesh Linux - Networking 3 09-04-2002 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration