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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-02-2014, 12:33 AM
|
#196
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
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.
|
|
|
04-05-2014, 05:38 AM
|
#197
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
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.
|
|
|
04-05-2014, 01:48 PM
|
#199
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
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.
|
|
|
04-07-2014, 11:12 AM
|
#200
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
with ref. to:
Quote:
Originally Posted by Chakraborty
#198
...fatal ARP error...
|
Please suggest. I am at the core of my work.
|
|
|
04-07-2014, 12:24 PM
|
#201
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
#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.
-
|
|
|
04-07-2014, 04:31 PM
|
#202
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
#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.
|
|
|
04-08-2014, 03:20 AM
|
#203
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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.
-
|
|
|
04-08-2014, 05:30 AM
|
#204
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
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.
|
|
|
04-08-2014, 10:57 AM
|
#205
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
with ref. to
temporarily,got rid of fatal error.
thank you for support.
Last edited by Chakraborty; 04-08-2014 at 11:10 AM.
|
|
|
04-08-2014, 11:09 AM
|
#206
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
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.
|
|
|
04-09-2014, 01:21 AM
|
#207
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
Dear knudfl,
with ref. to
Quote:
Originally Posted by Chakraborty
#206
|
Please suggest.
With thanks.
Last edited by Chakraborty; 04-09-2014 at 01:22 AM.
|
|
|
04-09-2014, 07:30 AM
|
#208
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
#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.
-
|
|
|
04-09-2014, 09:19 AM
|
#209
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep:
|
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.
|
|
|
04-09-2014, 10:56 AM
|
#210
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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
-
|
|
|
All times are GMT -5. The time now is 10:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|