LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Reply
  Search this Thread
Old 06-02-2014, 08:29 AM   #1
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Rep: Reputation: Disabled
olsr


Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol

please can you send it to me

thanks so much

---------- Post added 06-02-14 at 08:30 AM ----------

Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol

please can you send it to me

thanks so much
 
Old 06-02-2014, 08:57 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,924

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by sara83 View Post
Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol

please can you send it to me
thanks so much

---------- Post added 06-02-14 at 08:30 AM ----------

Dear knudfl
I am sorry, Dear I install ns2.33 with ubuntu 12.4 with out any problems and I maked the patch for OLSR protocol after search for the steps from here. but now I don't have the awk for OLSR protocol

please can you send it to me
thanks so much
Please read the LQ Rules; you hijacked another thread with a non-related question, then posted this same question FOUR TIMES. Also, we are NOT going to email you things...we will be happy to help you with questions/problems, but providing free, personalized one-on-one email tech support isn't going to happen.

Awk is s Linux system utility...instructions for installing OSLR can easily be found with a Google search:
http://cloudns2.wordpress.com/um-olsr-patch/

...and there are many sample awk scripts for NS2 you can also find:
http://www.nsnam.com/2013/03/awk-scr...cess-data.html
 
Old 06-03-2014, 12:05 AM   #3
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Dear TB0ne
Thanks for your help but the awk is not work please can you send another one if you have

thanks
 
Old 06-03-2014, 01:20 AM   #4
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
@sara83.

Please find a script in "awk_scripts-05.2014.tar.bz2"
https://drive.google.com/file/d/0B7S...it?usp=sharing

When you have tried to use all "68" scripts, and may be failed :
You can modify / write a script to fit your requirements.

-
 
1 members found this post helpful.
Old 06-03-2014, 10:14 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,924

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by sara83 View Post
Dear TB0ne
Thanks for your help but the awk is not work please can you send another one if you have
Sara83:

First, please read the guidelines for "How to ask a smart question". Just saying "is not work", tells us ABSOLUTELY NOTHING about what problem(s) you had. Since you don't tell us what the problem is, how do you expect anyone to be able to help you fix it?

Second, please do not ask people to look things up for you. Google can give you the results you want, as knudfl kindly pointed out. I easily found links to what you were looking for, as did he. Nothing prevented you from finding the same results.
 
Old 06-03-2014, 02:07 PM   #6
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Dear TB0ne
When I need to calculate the awk for olsr I have this problem, and the same problem with the aodv

ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted

Please can you help me for solve this problem

Thanks so much
 
Old 06-03-2014, 02:34 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,924

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by sara83 View Post
Dear TB0ne
When I need to calculate the awk for olsr I have this problem, and the same problem with the aodv

ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted
Please, go back and re-read what was told to you by myself and knudfl.

Knudfl gave you a link to 68 scripts...did you try them, as instructed? Did you perform the obvious step of looking at the contents of that script? From the message, it seems very clear that one of the variables you're trying to work with doesn't have data in it...hence the "zero" contents. It tells you the line the error is on. Did you look at it?
 
Old 06-03-2014, 11:32 PM   #8
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
#7
yes I tried all of them
thanks
 
Old 06-04-2014, 09:13 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,924

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by sara83 View Post
#7
yes I tried all of them
thanks
Really?? You tried ALL 68 scripts, and NONE of them worked???? Did you look at the scripts, the errors, and try to determine where the error was? What errors did you get on all 68 of those scripts???
 
Old 06-04-2014, 09:36 AM   #10
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Dear TB0ne

this is a example for the error I get

ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted

Thanks
 
Old 06-04-2014, 09:51 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,924

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by sara83 View Post
Dear TB0ne
this is a example for the error I get

ht@hts:~/Desktop/result for three protocols/resulte olsr$ gawk -f throughput.awk outa.tr
gawk: throughput.awk:481: (FILENAME=outa.tr FNR=2) fatal: division by zero attempted
Right; that's the one you posted first. Are you saying you get the EXACT SAME ERROR on all 68 different scripts?? And again, have you actually LOOKED AT the script?? Specifically, as told to you before, line 481, where the error is? It's telling you exactly where the error is; again, you are getting that error because one of the variables you're feeding it is zero. Meaning you haven't made the changes necessary for it to run with your system, or have an error.

YOU will have to look at that script, and correct the error.
 
Old 06-04-2014, 12:21 PM   #12
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
#11
Dear TB0ne

Please can you help me for correct the error

Thanks
 
Old 06-04-2014, 12:31 PM   #13
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
# 10 .

Some certain combinations of figures in the trace file(s)
will result in ``division by zero attempted´´

What's in outa.tr, line 481 ?
( If it's only a few lines that are causing "division by zero attempted" :
You can just delete those lines.)

-
 
Old 06-04-2014, 01:05 PM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,924

Rep: Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016Reputation: 8016
Quote:
Originally Posted by sara83 View Post
#11
Please can you help me for correct the error
AGAIN
  • YOU need to look at the script, on line 481, AS THE ERROR MESSAGE TELLS YOU
  • Since you don't POST THE SCRIPT, how do you expect us to be able to fix it for you?
  • You need to TRY THE OTHER 68 scripts, as you were asked to before.
We are NOT going to fix/recode your scripts for you. You actually have to show some effort of your own. I highly doubt that you tried all 68 of the other scripts, and at this point, you have shown ZERO effort of your own to even fix the one you have. Which, incidentally, someone else had to look up for you.

Again, the error is on line 481 of that script; you haven't posted that script, the relevant lines, or told us what is being referenced there, or if you made the necessary changes to the script in order for it to work with your system.
 
Old 06-04-2014, 11:43 PM   #15
sara83
LQ Newbie
 
Registered: May 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Dear TB0ne

What script you mean (awk script or tcl script or trace file)?

Thanks
 
  


Reply


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
[SOLVED] problem with um-olsr farfattou Linux - Newbie 27 07-27-2023 02:48 AM
OLSR patch in ns-2.34 kostaskar Linux - Newbie 6 08-30-2014 02:07 AM
demo olsr phihung01 Linux - Newbie 4 04-28-2014 08:23 AM
OLSR beky man Linux - Newbie 1 11-02-2013 04:35 AM
OLSR patch sukrutha Linux - Newbie 2 08-21-2011 07:51 AM

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

All times are GMT -5. The time now is 02:43 PM.

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