LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-13-2013, 12:20 PM   #16
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
NS2


OK Sir.
 
Old 02-23-2013, 01:12 AM   #17
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
NS2

Sir, while installing ns2.1b7a I countered the following error

Code:
/home/dba/ns-allinone-2.1b7a/lib/libtcl8.3.a(tclLoadDl.o): In function `TclpUnloadFile':
tclLoadDl.c:(.text+0x235): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [otclsh] Error 1
otcl-1.0a6 make failed! Exiting ...
Do you know anything about it's solution?
 
Old 02-23-2013, 01:44 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,617

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
# 17 .

Why ns-allinone-2.1b7a ?
( The most old patches for simulations have been ported to later ns2 versions.)


'ns-allinone-2.1b7a' is too old to be used on any Linux OS from this century.

-
 
Old 02-23-2013, 01:54 AM   #19
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
NS2

Sir I had to patch GPRS and I could find it only for ns 2.1b7a.
 
Old 02-23-2013, 02:49 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,617

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
GPRS

How about the default mtp.tcl ? ns-2.3x/tcl/ex/wireless-scripts/mtp.tcl
.. Which is already dealing with gprs ..
http://www.google.com/url?sa=t&rct=j...42768644,d.Yms

Other example http://samtrac.informatik.hu-berlin....=author&desc=1
> ns-2.29-click/tcl/ex/wireless-scripts/runall-tr.cmd
( ns-2.34/tcl/ex/wireless-scripts/runall-tr.cmd ).
-
Attached Images
File Type: jpg tr-gprs-good.eps.jpg (16.8 KB, 17 views)

Last edited by knudfl; 02-23-2013 at 03:31 AM.
 
Old 03-03-2013, 11:16 AM   #21
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
GPRS

Sir I tried the example at http://samtrac.informatik.hu-berlin....=author&desc=1after entering line 25 I got the following error:

Code:
cell topology
ns: stop: couldn't execute "../../../bin/getrc": no such file or directory
    while executing
"exec $GETRC -s $sid -d $did -f 0 out.tr |  $RAW2XG -s 0.01  -m $wrap -r > plot.xgr"
    (procedure "stop" line 14)
    invoked from within
"stop"
do you know anything about it's solution?
 
Old 03-03-2013, 11:41 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,617

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
# 21 .

The link http://samtrac.informatik.hu-berlin....=author&desc=1
.. is meant as a hint that you already have GPRS in any ns-2.xx .

Using "runall-tr.cmd" , example :

1) cd ns-2.34/tcl/ex/wireless-scripts/
2) ./runall-tr.cmd
.. Or 2a) bash runall-tr.cmd

-

Last edited by knudfl; 03-03-2013 at 12:02 PM.
 
Old 03-03-2013, 11:56 AM   #23
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
GPRS

OK Sir I'll try it.
 
Old 03-20-2013, 09:05 AM   #24
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
NS2

Sir do you know of any software that can calculate data from trace files for ns2 and works for ubuntu 12.04? I've tried alot of them but most of them are old or have no proper documentation.I have to calculate throughput,jitter and delay and probably other parameters too.The software I used for eyana.tcl gives me a constant delay as far as I can read it.
 
Old 03-20-2013, 02:00 PM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,617

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
# 24 .

Suggest : Try out 'Traceanalyzer' :
".. throughput, end-to-end delay, packet loss and jitter."
http://www.researchgate.net/publicat...f79a490fa3.pdf

Latest is : traceanalyzer010100.zip, updated 7th June 2010
http://www.dominicgiles.com/swingben...yzer010100.zip
Ref. http://www.dominicgiles.com/downloads.html
Ref. http://www.dominicgiles.com/traceanalyzer.html

cd traceanalyzer/bin/ && ./traceanalyzer

-
 
Old 03-21-2013, 12:48 PM   #26
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Traceanalyzer

Thankyou sir I got it installed alright but it did not show any results for my .tr file and the bigger problem is that my computer got hanged both the times I was using it.
 
Old 03-21-2013, 02:17 PM   #27
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,617

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
# 26. I guess it was an "SQL only traceanalyser" linked in post #25 ?

Other tools etc. found with Google .. ns2 Trace Analyzer ..:
http://www.dominicgiles.com/traceanalyzer.html
http://nsvisualtraceanalyzer.wordpre...yzer-download/
( Windows© only.)
http://zbinwu.blogspot.dk/2010/10/an...race-file.html
http://nslab.ee.ntu.edu.tw/courses/n...labs/lab5.html
http://www.angelfire.com/al4/esorkor/
http://www.nsnam.com/2012/09/tracegr...e-to-plot.html
* http://www.4shared.com/archive/z_iw9...2linuxtar.html
* https://dl.dropbox.com/u/24623828/mglinstaller.gz

-

Last edited by knudfl; 03-21-2013 at 02:33 PM.
 
Old 03-23-2013, 03:17 PM   #28
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Tracegraph

I don't know sir but probably the default format accepts .trc files,the tracegraph in the link http://www.nsnam.com/2012/09/tracegr...e-to-plot.html, I have used it before and I had the same error as I had it then.After installation there is a usual error
Code:
./trgraph: error while loading shared libraries: libmwsgl.so: cannot open shared object file: No such file or directory
I did try to install libXp.so.6 but there are a number of dependencies that need to be installed and the link I have for installing these dependencies doesnot offer anything for ubuntu I believe.

I have used the software in the link http://nsvisualtraceanalyzer.wordpre...yzer-download/, and this was the one I was talking about which gave me a constant delay for eyana.tcl.I am attaching a screen shot of the delay plot if you could have a look and let me know if I'm missing any details.
Attached Images
File Type: jpg lte.jpg (120.2 KB, 17 views)
 
Old 03-23-2013, 04:36 PM   #29
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,617

Rep: Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525Reputation: 2525
# 28 : "tracegraph202linux" http://www.4shared.com/archive/z_iw9...2linuxtar.html

1) tar xvf tracegraph202linux.tar.gz
2) cp mglinstaller.gz tracegraph202/
https://dl.dropbox.com/u/24623828/mglinstaller.gz
3) cd tracegraph202/
4) gunzip mglinstaller.gz
5) ./mglinstaller

6) export LD_LIBRARY_PATH=./bin/glnx86 && ./trgraph
... and the tracegraph GUI will open.


NS2 Visual Trace Analyzer : I do not use Windows©, so it's a "don't know".

-

Last edited by knudfl; 03-23-2013 at 04:49 PM.
 
Old 03-24-2013, 12:47 AM   #30
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Tracegraph

Sir I followed all the steps again and the error's the same
Code:
./trgraph: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
Any suggestions?
 
  


Reply

Tags
gprs-ns2#20, lte, traceanalyzer, tracegraph, ubuntu 12.04


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
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 12:09 AM
how to install both ns2.28 and ns2.34 versions on ubuntu 10.04? popoaung Linux - Software 3 06-10-2013 04:52 PM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM


All times are GMT -5. The time now is 09:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration