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 01-20-2015, 12:12 AM   #16
rajanna
LQ Newbie
 
Registered: Jan 2015
Posts: 6

Rep: Reputation: Disabled
Error in aqua sim compiliation


DEAR KNUDFL

I have some queries to solve my problem

1.Whether ns 2.35 supports Aqua Sim in Ubuntu 12.0 ?

2. I have successfully installed ns 2.30 and Aqua Sim in my machine but when i run some sample experiments inside ns-2.30/underwatersensor/uw_tcl

ns tmac-example.tcl

It is throwing me an error

cannot Find
Channel/Underwaterchannel , Mac/UnderwaterMacand goes on

Cannot be found

Kindly help me to over come this

Thank in advance
 
Old 01-20-2015, 12:16 AM   #17
rajanna
LQ Newbie
 
Registered: Jan 2015
Posts: 6

Rep: Reputation: Disabled
DEAR KNUDFL

I have some queries to solve my problem

1.Whether ns 2.35 supports Aqua Sim in Ubuntu 12.04 ?

2. I have successfully installed ns 2.30 and Aqua Sim in my machine Ubuntu 12.04 but when i run some sample experiments inside ns-2.30/underwatersensor/uw_tcl

ns tmac-example.tcl

It is throwing me an error

cannot Find
Channel/Underwaterchannel , Mac/UnderwaterMacand goes on

Cannot be found

Kindly help me to over come this

Thank in advance
 
Old 01-20-2015, 01:13 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,415

Rep: Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617
← #17 .

Please use $ ns-aqua tmac-example.tcl
.. instead of plain 'ns'

Post #9 says : » I run the hop_by_hop_VBF_example.tcl «.
If you have an OK result with hop_by_hop_VBF_example.tcl,
then you should also be able to run `tmac-example.tclŽ.
Not perfect with Ubuntu 14.04, but some result.
( You need another OS for a perfect tmac-example.tcl output.
Like CentOS 6.6 - i686.)


? ns-2.35 ? Will try with that .... later.
* Why ns-2.35 ?
You will not get any better results with a later version than Aqua-Sim-1.0, alias ns-allinone-2.30.

-
 
Old 01-22-2015, 04:03 AM   #19
rajanna
LQ Newbie
 
Registered: Jan 2015
Posts: 6

Rep: Reputation: Disabled
Knudfl Thanks Regards

Thanks Knudfl..

I have successfully installed Aqua Sim in my Ubuntu 12.04 Machine. Thank much for your replies. As only because of it i could mae it successful.


When i tried installing ns2 in my Friend system which has Debian Operating systems it is throwing me a error as follows

root@vpn:/# apt-get install ns2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ns2


How to solve this error Knudfl

Thanks in Advance
 
Old 01-22-2015, 04:13 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,415

Rep: Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617
← #19 .

Debian 7 Wheezy : The package ns2 provides /usr/bin/ns
https://packages.debian.org/wheezy/amd64/ns2/filelist

The install command is # apt-get update && apt-get install ns2

The examples : # apt-get install ns2-examples
→ /usr/share/doc/ns2/examples/tcl/ex/
https://packages.debian.org/wheezy/a...mples/filelist

? Any questions ? Please specify Debian <version> :
$ cat /etc/issue

-
 
Old 01-22-2015, 04:55 AM   #21
rajanna
LQ Newbie
 
Registered: Jan 2015
Posts: 6

Rep: Reputation: Disabled
My Debian version

GNU/Linux 7 /n/l
 
Old 01-22-2015, 09:17 AM   #22
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Thanks Sir, i have install aquasim 3d successulful, Dear sir pleas give me some tips or tell me any source for tcl scripting. i want to analysis of different routing protocol working in underwater wireless sensor network.

Thanks in advance

Last edited by tmsherazi; 01-22-2015 at 09:19 AM.
 
Old 01-26-2015, 12:19 AM   #24
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Thanks sir, i also wanna the tcl file of H2-DAB, ACMTCD, CODBR, DSDBR routing protocol working in underwater wireless network
 
Old 01-26-2015, 12:20 AM   #25
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Dear sir, please guide me, weather .cc and .o, .h files is also required for simulation of tcl file.
 
Old 01-29-2015, 10:08 PM   #26
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Dear Sir, please tell how i get e2e delay, energy, delivery ratio from trace file (.tr file) and how i draw the graph
 
Old 01-30-2015, 03:21 AM   #27
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,415

Rep: Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617
← ref. post #25 .
Quote:
.cc and .o, .h files is also required for simulation of tcl
No, the objects can be removed with →
$ find . -type f -name "*.o" -exec rm -f {} \;

No external files are required for a simulation,
except the dedicated "scene / movement" files mentioned in the file.tcl.

All c++ functions from files.cc .h are compiled into the executable 'ns'.
These files are required for 'ns' to function :
ns-allinone-2.3x/{ lib/*, bin/* }.
( Aquasim/{ lib/*, bin/* } ).


← ref. post #26 :
Generating plot files, example : Run $ csh runall.sh
... in tcl/ex/read-pd/ ,,, and watch plots being generated.

Generating plot files for xgraph, read and test the examples :
xgraph_ns2-files-tcl_11.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
The basic example is "example4.tcl" http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html


Calculating e2e delay, energy, delivery ratio :
Examples, awk-and-perl_scripts_12.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

-

Last edited by knudfl; 01-30-2015 at 04:42 AM.
 
Old 01-30-2015, 05:09 AM   #28
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Thanks sir,i required tcl file of standered DBR, please help me

thanks in advance
 
Old 01-30-2015, 07:20 AM   #29
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,415

Rep: Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617Reputation: 3617
← ref. post #28 .


DBR : See post #23 → Links to dbr.tcl, DBR1.tcl, vbr+dbr.tcl
 
Old 01-30-2015, 08:39 PM   #30
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Dear Sir, no one give simulation result, dbr animation failed for all above dbr.tcl. please refrence me standard DBR which give the complete animation and simulaton result

Thanks in advance
 
  


Reply

Tags
aqua3d, aquasim, ns2


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] Aquasim:How insert mac protocol to aquasim vaj-bor Linux - Software 35 03-15-2017 06:43 PM
NS2 and Aquasim Preeti1910 Linux - Software 48 10-15-2016 01:09 PM
aquasim question MonaJalili Linux - Wireless Networking 6 05-12-2013 06:59 AM
aquasim varshitha Linux - Wireless Networking 0 01-29-2011 09:42 AM

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

All times are GMT -5. The time now is 10:10 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