LinuxQuestions.org
Visit Jeremy's Blog.
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-18-2013, 03:54 AM   #1
aquasimjunior
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
Install Aquasim in ns-2.34


Hi,
Currently, I am working on project that based on ns-2.34 and i need to include aquasim in ns2.34. I know that aquasim are based on ns2.30 but can we install on ns2.34 or you have any suggestion
what i need to do..
 
Old 06-19-2013, 06:27 AM   #2
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
Why do you want an ns-2.34 with Aqua-Sim ?

You can have as many versions of ns-allinone-2.2x as you want,
installed at the same time.

( I guess it would be a huge job to port the aquasim code to ns-2.34 ).

-
 
Old 01-14-2015, 03:48 AM   #3
rajanna
LQ Newbie
 
Registered: Jan 2015
Posts: 6

Rep: Reputation: Disabled
Ns 2.35 and aqua sim

folks, I have doubt. Is there any possibility to install Aqua Sim with ns2.35 in Ubuntu 12.04 or Mac ??
If so can someone suggest me the links

Thank you
 
Old 01-17-2015, 06:43 AM   #4
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
hi, i am new, i want to install Aquasim on Ubantu 14.04, any one tell me the source from where aquasim and guideline for installation is download.

thank in advance

Last edited by tmsherazi; 01-17-2015 at 06:45 AM.
 
Old 01-17-2015, 07:51 AM   #5
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
Post #4, @tmsherazi : Welcome to LQ.

Aquasim : http://obinet.engr.uconn.edu/wiki/index.php/Aqua-Sim
http://ubinet.engr.uconn.edu/aqua_pa...ua-Sim-1.0.tgz

$ mkdir aquasim
$ cd aquasim/
$ tar xvf Aqua-Sim-1.0.tgz
.... and when you have told which Ubuntu 14.04 it is about :
i.e. is it an i686 or x86_64 OS, you can get more information.
* Please show the reply from this command : $ uname -m

Remark : A 32bits (i686) OS will provide full aquasim functionality.
A 64bits (x86_64) OS : Not all simulations can be done.


-

Last edited by knudfl; 01-17-2015 at 07:53 AM.
 
Old 01-17-2015, 09:14 AM   #6
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Thank sir for reply , sir my systerm is 32bits (i686) OS

i have download Aquasim

sir below link cannot open the install guide

http://obinet.engr.uconn.edu/wiki/in...tion_Guide.pdf

Last edited by tmsherazi; 01-17-2015 at 09:20 AM.
 
Old 01-17-2015, 10:12 AM   #7
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Thank sir for reply , sir my systerm is 32bits (i686) OS

i have download Aquasim and do all mentioned steps

sir below link cannot open the installation guide

http://obinet.engr.uconn.edu/wiki/in...tion_Guide.pdf
 
Old 01-17-2015, 04:13 PM   #8
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
← #7 .
Quote:
... cannot open the installation guide
That's pure luck. The old guide´s are of no use.

Ubuntu 14.04 - 32 :
$ sudo apt-get install \
g++ g++-4.4 make autoconf automake libtool libxmu-dev xgraph

Download the "aquasim compilers" and nam :
. https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ gcc41-compat-4.1.2-13_i386.deb
. https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ g++41-compat-4.1.2_i386.deb
. https://drive.google.com/file/d/0B7S...ew?usp=sharing
→ nam_1.15-10_i386.deb
... Click the packages, and your 'Package Installer' will install the packages.

$ mkdir aquasim
$ cd aquasim/
$ tar xvf Aqua-Sim-1.0.tgz

$ export CC=gcc41 CXX=g++41 && ./install
$ cd ns-2.30/
$ sudo make install
$ cp ns ns-aqua
$ sudo cp ns-aqua /usr/local/bin/
... Then all simulations can be done in underwatersensor/uw_tcl/,
like : $ ns-aqua hop_by_hop_VBF_example.tcl

-
 
Old 01-18-2015, 01:43 AM   #9
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Thanks dear sir i have successfully installed aquasim, i run the hop_by_hop_VBF_example.tcl,

sir what meant of this command "sudo cp ns-aqua /usr/local/bin", and i cant find the location of ns-aqua folder, the aquasim folder is placed at desktop.

sir please give me some tips to write the tcl script for dbr routing protocol. i want to compare the different routing protocols working in underwater wireless sensor network. is there any source from where tcl file of different routing protocol will be available.

Last edited by tmsherazi; 01-18-2015 at 01:46 AM.
 
Old 01-18-2015, 01:44 AM   #10
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Sir i also want to install the aquasim3d, please give me instruction and software source

thanks in advance
 
Old 01-18-2015, 04:56 AM   #11
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
← #9 .

The command $ sudo cp ns-aqua /usr/local/bin/
.. is not a command that can make a folder or copy a folder.

1) 'sudo make install' makes a copy of the executable 'ns' to /usr/local/bin/.
2) 'sudo cp ns-aqua /usr/local/bin/' copies the 'ns' backup copy = 'ns-aqua'
to /usr/local/bin/. 'ns-aqua' is just another executable :
Please have a look into /usr/local/bin/.
* /usr/local/bin/ is a folder for executable´s only.

* Using 'ns-aqua' for the simulations is to prevent any confusion,
if you have another file by name 'ns' somewhere on your OS.

-
 
Old 01-18-2015, 06:09 AM   #12
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
← #10 .

Aqua3d :
$ sudo apt-get install g++-4.4 libwxgtk2.8-dev freeglut3-dev

Download Aqua3d-1.0.0.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

$ tar xvf Aqua3d-1.0.0.tar.gz
$ cd aqua3d-1.0.0-src/
... and then replace the Makefile with the attached Makefile.txt →
Post #111 here http://www.linuxquestions.org/questi...532/page8.html
That's the Makefile for g++-4.4 : Rename Makefile.txt to Makefile .
( Or you can use $ make -f Makefile.txt ).
After running $ make ( or $ make -f Makefile.txt ) :
The executable 'aqua3d' is created.
And you can do : $ ./aqua3d

-

Last edited by knudfl; 01-19-2015 at 07:29 AM.
 
Old 01-19-2015, 05:56 AM   #13
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Sir, i have replace make file but it show following message

tariq@tariq-HP-EliteBook-8440p:~/Desktop/aquasim3d/aqua3d-1.0.0-src$ make
g++ `wx-config --libs --cxxflags --gl-libs` -c main_src/Aqua3D.cpp
main_src/Aqua3D.cpp: In member function ‘virtual bool Aqua3D::OnInit()’:
main_src/Aqua3D.cpp:95:36: error: ‘wxSTRING_MAXLEN’ was not declared in this scope
wxString wxStrArg(argv[i], wxSTRING_MAXLEN);
^
main_src/Aqua3D.cpp:167:39: error: ‘wxSTRING_MAXLEN’ was not declared in this scope
wxString title(TITLE, wxConvUTF8, wxSTRING_MAXLEN);
^
make: *** [Aqua3D.o] Error 1

Last edited by tmsherazi; 01-19-2015 at 06:02 AM.
 
Old 01-19-2015, 05:58 AM   #14
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Dear sir it show when i give ./aqua3d

tariq@tariq-HP-EliteBook-8440p:~/Desktop/aquasim3d/aqua3d-1.0.0-src$ ./aqua3d
bash: ./aqua3d: No such file or directory
 
Old 01-19-2015, 07:27 AM   #15
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
← #13 .
Quote:
g++ `wx-config --libs --cxxflags ..... ...
OK, there may be a typo in the new Makefile.

Please use the one in post #111 here ...
http://www.linuxquestions.org/questi...532/page8.html
→ Makefile.txt

-
 
  


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 09:17 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