LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-08-2018, 05:40 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

#15.

? May be you didn't create the executable ns-2.30/ns at all ?
... Besides that, Ubuntu 16.04 is the worst choice for creating the executable.

The 32bit executable from Ubuntu 10.* and/or CentOS 6.9 can be used.
1. aquasim-ns_2.30-2-ubuntu1010_i386.deb, provides /usr/local/bin/ns-aqua-1010
2. aquasim-ns2_2.30-1.el6_i386.deb , provides /usr/local/bin/ns-aqua-el6

Links
1. https://drive.google.com/file/d/0B7S...ew?usp=sharing
2. https://drive.google.com/file/d/0B7S...ew?usp=sharing

Download, and install
Code:
cd Downloads/
sudo gdebi aquasim-ns_2.30-2-ubuntu1010_i386.deb
sudo gdebi aquasim-ns2_2.30-1.el6_i386.deb
       // 32bits dependencies will be installed too

------------- Simulation --------------
ns-aqua-el6 vbf_example_4-7n.tcl
INFO https://www.linuxquestions.org/questions/tags/aquasim/

-

Last edited by knudfl; 03-08-2018 at 07:39 AM.
 
Old 03-09-2018, 04:32 AM   #17
Prachi11
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Rep: Reputation: Disabled
#16

Sir,
I have created the executable ns-2.30/ns.....as i give command ns...% appears and on command nam...simulator window appears.

There was a mistake in the path setting of usr/local/bin...where ns-aqua executable resides,but now i corrected it..so ns-aqua command started working on my system.Thank you for looking into my problem.
As i am new to this i want to ask do simulator window appears after running ns-aqua command or its just give output as below?
And how can i see vbf example working on simulotor?
Code:
prachi11@prachi11-OptiPlex-9010:~/Downloads/Aquasim/ns-2.30/underwatersensor/uw_tcl$ ns-aqua vbf_example_5.tcl
the file name is vbf_example_5.data
the sending interval is 10.0
num_nodes is set 6
Width=100
INITIALIZE THE LIST xListHead
Node 5 is sending first!!
starting Simulation...
GOD: the old file name istest.data
GOD: the new file name isvbf_example_5.data
SORTING LISTS ...DONE!
UWSink (id:0): I get the packet data no.0 from 1 
UWSink (id:0): I get the packet data no.0 from 2 
SK 0: Num_Recv 2, InterArrival 0.507140
UWSink (id:0): I get the packet data no.0 from 3 
SK 0: Num_Recv 3, InterArrival 0.499526
UWSink (id:0): I get the packet data no.0 from 4 
SK 0: Num_Recv 4, InterArrival 0.484603
UWSink (id:0): I get the packet data no.0 from 5 
SK 0: Num_Recv 5, InterArrival 0.497015
UWSink (id:0): I get the packet data no.1 from 1 
SK 0: Num_Recv 6, InterArrival 8.011716
UWSink (id:0): I get the packet data no.1 from 2 
SK 0: Num_Recv 7, InterArrival 0.507140
UWSink (id:0): I get the packet data no.1 from 3 
SK 0: Num_Recv 8, InterArrival 0.499526
UWSink (id:0): I get the packet data no.1 from 4 
SK 0: Num_Recv 9, InterArrival 0.484603
UWSink (id:0): I get the packet data no.1 from 5 
SK 0: Num_Recv 10, InterArrival 0.497015
UWSink (id:0): I get the packet data no.2 from 1 
SK 0: Num_Recv 11, InterArrival 8.011716
UWSink (id:0): I get the packet data no.2 from 2 
SK 0: Num_Recv 12, InterArrival 0.507140
UWSink (id:0): I get the packet data no.2 from 3 
SK 0: Num_Recv 13, InterArrival 0.499526
UWSink (id:0): I get the packet data no.2 from 4 
SK 0: Num_Recv 14, InterArrival 0.484603
UWSink (id:0): I get the packet data no.2 from 5 
SK 0: Num_Recv 15, InterArrival 0.497015
UWSink (id:0): I get the packet data no.3 from 1 
SK 0: Num_Recv 16, InterArrival 8.011716
UWSink (id:0): I get the packet data no.3 from 2 
SK 0: Num_Recv 17, InterArrival 0.507140
UWSink (id:0): I get the packet data no.3 from 3 
SK 0: Num_Recv 18, InterArrival 0.499526
UWSink (id:0): I get the packet data no.3 from 4 
SK 0: Num_Recv 19, InterArrival 0.484603
UWSink (id:0): I get the packet data no.3 from 5 
SK 0: Num_Recv 20, InterArrival 0.497015
UWSink (id:0): I get the packet data no.4 from 1 
SK 0: Num_Recv 21, InterArrival 8.011716
UWSink (id:0): I get the packet data no.4 from 2 
SK 0: Num_Recv 22, InterArrival 0.507140
UWSink (id:0): I get the packet data no.4 from 3 
SK 0: Num_Recv 23, InterArrival 0.499526
UWSink (id:0): I get the packet data no.4 from 4 
SK 0: Num_Recv 24, InterArrival 0.484603
UWSink (id:0): I get the packet data no.4 from 5 
SK 0: Num_Recv 25, InterArrival 0.497015
UWSink (id:0): I get the packet data no.5 from 1 
SK 0: Num_Recv 26, InterArrival 8.011716
UWSink (id:0): I get the packet data no.5 from 2 
SK 0: Num_Recv 27, InterArrival 0.507140
UWSink (id:0): I get the packet data no.5 from 3 
SK 0: Num_Recv 28, InterArrival 0.499526
UWSink (id:0): I get the packet data no.5 from 4 
SK 0: Num_Recv 29, InterArrival 0.484603
UWSink (id:0): I get the packet data no.5 from 5 
SK 0: Num_Recv 30, InterArrival 0.497015
UWSink (id:0): I get the packet data no.6 from 1 
SK 0: Num_Recv 31, InterArrival 8.011716
UWSink (id:0): I get the packet data no.6 from 2 
SK 0: Num_Recv 32, InterArrival 0.507140
UWSink (id:0): I get the packet data no.6 from 3 
SK 0: Num_Recv 33, InterArrival 0.499526
UWSink (id:0): I get the packet data no.6 from 4 
SK 0: Num_Recv 34, InterArrival 0.484603
UWSink (id:0): I get the packet data no.6 from 5 
SK 0: Num_Recv 35, InterArrival 0.497015
UWSink (id:0): I get the packet data no.7 from 1 
SK 0: Num_Recv 36, InterArrival 8.011716
UWSink (id:0): I get the packet data no.7 from 2 
SK 0: Num_Recv 37, InterArrival 0.507140
UWSink (id:0): I get the packet data no.7 from 3 
SK 0: Num_Recv 38, InterArrival 0.499526
UWSink (id:0): I get the packet data no.7 from 4 
SK 0: Num_Recv 39, InterArrival 0.484603
UWSink (id:0): I get the packet data no.7 from 5 
SK 0: Num_Recv 40, InterArrival 0.497015
UWSink (id:0): I get the packet data no.8 from 1 
SK 0: Num_Recv 41, InterArrival 8.011716
UWSink (id:0): I get the packet data no.8 from 2 
SK 0: Num_Recv 42, InterArrival 0.507140
UWSink (id:0): I get the packet data no.8 from 3 
SK 0: Num_Recv 43, InterArrival 0.499526
UWSink (id:0): I get the packet data no.8 from 4 
SK 0: Num_Recv 44, InterArrival 0.484603
UWSink (id:0): I get the packet data no.8 from 5 
SK 0: Num_Recv 45, InterArrival 0.497015
UWSink (id:0): I get the packet data no.9 from 1 
SK 0: Num_Recv 46, InterArrival 8.011716
UWSink (id:0): I get the packet data no.9 from 2 
SK 0: Num_Recv 47, InterArrival 0.507140
UWSink (id:0): I get the packet data no.9 from 3 
SK 0: Num_Recv 48, InterArrival 0.499526
UWSink (id:0): I get the packet data no.9 from 4 
SK 0: Num_Recv 49, InterArrival 0.484603
UWSink (id:0): I get the packet data no.9 from 5 
SK 0: Num_Recv 50, InterArrival 0.497015
UWSink (id:0): I get the packet data no.10 from 1 
SK 0: Num_Recv 51, InterArrival 8.011716
UWSink (id:0): I get the packet data no.10 from 2 
SK 0: Num_Recv 52, InterArrival 0.507140
UWSink (id:0): I get the packet data no.10 from 3 
SK 0: Num_Recv 53, InterArrival 0.499526
UWSink (id:0): I get the packet data no.10 from 4 
SK 0: Num_Recv 54, InterArrival 0.484603
UWSink (id:0): I get the packet data no.10 from 5 
SK 0: Num_Recv 55, InterArrival 0.497015
UWSink (id:0): I get the packet data no.11 from 1 
SK 0: Num_Recv 56, InterArrival 8.011716
UWSink (id:0): I get the packet data no.11 from 2 
SK 0: Num_Recv 57, InterArrival 0.507140
UWSink (id:0): I get the packet data no.11 from 3 
SK 0: Num_Recv 58, InterArrival 0.499526
UWSink (id:0): I get the packet data no.11 from 4 
SK 0: Num_Recv 59, InterArrival 0.484603
UWSink (id:0): I get the packet data no.11 from 5 
SK 0: Num_Recv 60, InterArrival 0.497015
UWSink (id:0): I get the packet data no.12 from 1 
SK 0: Num_Recv 61, InterArrival 8.011716
UWSink (id:0): I get the packet data no.12 from 2 
SK 0: Num_Recv 62, InterArrival 0.507140
UWSink (id:0): I get the packet data no.12 from 3 
SK 0: Num_Recv 63, InterArrival 0.499526
UWSink (id:0): I get the packet data no.12 from 4 
SK 0: Num_Recv 64, InterArrival 0.484603
UWSink (id:0): I get the packet data no.12 from 5 
SK 0: Num_Recv 65, InterArrival 0.497015
UWSink (id:0): I get the packet data no.13 from 1 
SK 0: Num_Recv 66, InterArrival 8.011716
UWSink (id:0): I get the packet data no.13 from 2 
SK 0: Num_Recv 67, InterArrival 0.507140
UWSink (id:0): I get the packet data no.13 from 3 
SK 0: Num_Recv 68, InterArrival 0.499526
UWSink (id:0): I get the packet data no.13 from 4 
SK 0: Num_Recv 69, InterArrival 0.484603
UWSink (id:0): I get the packet data no.13 from 5 
SK 0: Num_Recv 70, InterArrival 0.497015
UWSink (id:0): I get the packet data no.14 from 1 
SK 0: Num_Recv 71, InterArrival 8.011716
UWSink (id:0): I get the packet data no.14 from 2 
SK 0: Num_Recv 72, InterArrival 0.507140
UWSink (id:0): I get the packet data no.14 from 3 
SK 0: Num_Recv 73, InterArrival 0.499526
UWSink (id:0): I get the packet data no.14 from 4 
SK 0: Num_Recv 74, InterArrival 0.484603
UWSink (id:0): I get the packet data no.14 from 5 
SK 0: Num_Recv 75, InterArrival 0.497015
UWSink (id:0): I get the packet data no.15 from 1 
SK 0: Num_Recv 76, InterArrival 8.011716
UWSink (id:0): I get the packet data no.15 from 2 
SK 0: Num_Recv 77, InterArrival 0.507140
UWSink (id:0): I get the packet data no.15 from 3 
SK 0: Num_Recv 78, InterArrival 0.499526
UWSink (id:0): I get the packet data no.15 from 4 
SK 0: Num_Recv 79, InterArrival 0.484603
UWSink (id:0): I get the packet data no.15 from 5 
SK 0: Num_Recv 80, InterArrival 0.497015
UWSink (id:0): I get the packet data no.16 from 1 
SK 0: Num_Recv 81, InterArrival 8.011716
UWSink (id:0): I get the packet data no.16 from 2 
SK 0: Num_Recv 82, InterArrival 0.507140
UWSink (id:0): I get the packet data no.16 from 3 
SK 0: Num_Recv 83, InterArrival 0.499526
UWSink (id:0): I get the packet data no.16 from 4 
SK 0: Num_Recv 84, InterArrival 0.484603
UWSink (id:0): I get the packet data no.16 from 5 
SK 0: Num_Recv 85, InterArrival 0.497015
UWSink (id:0): I get the packet data no.17 from 1 
SK 0: Num_Recv 86, InterArrival 8.011716
UWSink (id:0): I get the packet data no.17 from 2 
SK 0: Num_Recv 87, InterArrival 0.507140
UWSink (id:0): I get the packet data no.17 from 3 
SK 0: Num_Recv 88, InterArrival 0.499526
UWSink (id:0): I get the packet data no.17 from 4 
SK 0: Num_Recv 89, InterArrival 0.484603
UWSink (id:0): I get the packet data no.17 from 5 
SK 0: Num_Recv 90, InterArrival 0.497015
backoffhandler: too many backoffs
UWSink (id:0): I get the packet data no.18 from 1 
SK 0: Num_Recv 91, InterArrival 8.011716
UWSink (id:0): I get the packet data no.18 from 2 
SK 0: Num_Recv 92, InterArrival 0.507140
UWSink (id:0): I get the packet data no.18 from 3 
SK 0: Num_Recv 93, InterArrival 0.499526
UWSink (id:0): I get the packet data no.18 from 4 
SK 0: Num_Recv 94, InterArrival 0.484603
UWSink (id:0): I get the packet data no.18 from 5 
SK 0: Num_Recv 95, InterArrival 0.497015
UWSink (id:0): I get the packet data no.19 from 1 
SK 0: Num_Recv 96, InterArrival 8.011716
UWSink (id:0): I get the packet data no.19 from 2 
SK 0: Num_Recv 97, InterArrival 0.507140
UWSink (id:0): I get the packet data no.19 from 3 
SK 0: Num_Recv 98, InterArrival 0.499526
UWSink (id:0): I get the packet data no.19 from 4 
SK 0: Num_Recv 99, InterArrival 0.484603
UWSink (id:0): I get the packet data no.19 from 5 
SK 0: Num_Recv 100, InterArrival 0.497015
UWSink (id:0): I get the packet data no.20 from 1 
SK 0: Num_Recv 101, InterArrival 8.011716
UWSink (id:0): I get the packet data no.20 from 2 
SK 0: Num_Recv 102, InterArrival 0.507140
UWSink (id:0): I get the packet data no.20 from 3 
SK 0: Num_Recv 103, InterArrival 0.499526
UWSink (id:0): I get the packet data no.20 from 4 
SK 0: Num_Recv 104, InterArrival 0.484603
UWSink (id:0): I get the packet data no.20 from 5 
SK 0: Num_Recv 105, InterArrival 0.497015
UWSink (id:0): I get the packet data no.21 from 1 
SK 0: Num_Recv 106, InterArrival 8.011716
UWSink (id:0): I get the packet data no.21 from 2 
SK 0: Num_Recv 107, InterArrival 0.507140
UWSink (id:0): I get the packet data no.21 from 3 
SK 0: Num_Recv 108, InterArrival 0.499526
UWSink (id:0): I get the packet data no.21 from 4 
SK 0: Num_Recv 109, InterArrival 0.484603
UWSink (id:0): I get the packet data no.21 from 5 
SK 0: Num_Recv 110, InterArrival 0.497015
UWSink (id:0): I get the packet data no.22 from 1 
SK 0: Num_Recv 111, InterArrival 8.011716
UWSink (id:0): I get the packet data no.22 from 2 
SK 0: Num_Recv 112, InterArrival 0.507140
UWSink (id:0): I get the packet data no.22 from 3 
SK 0: Num_Recv 113, InterArrival 0.499526
UWSink (id:0): I get the packet data no.22 from 4 
SK 0: Num_Recv 114, InterArrival 0.484603
UWSink (id:0): I get the packet data no.22 from 5 
SK 0: Num_Recv 115, InterArrival 0.497015
UWSink (id:0): I get the packet data no.23 from 1 
SK 0: Num_Recv 116, InterArrival 8.011716
UWSink (id:0): I get the packet data no.23 from 2 
SK 0: Num_Recv 117, InterArrival 0.507140
UWSink (id:0): I get the packet data no.23 from 3 
SK 0: Num_Recv 118, InterArrival 0.499526
UWSink (id:0): I get the packet data no.23 from 4 
SK 0: Num_Recv 119, InterArrival 0.484603
UWSink (id:0): I get the packet data no.23 from 5 
SK 0: Num_Recv 120, InterArrival 0.497015
UWSink (id:0): I get the packet data no.24 from 1 
SK 0: Num_Recv 121, InterArrival 8.011716
UWSink (id:0): I get the packet data no.24 from 2 
SK 0: Num_Recv 122, InterArrival 0.507140
UWSink (id:0): I get the packet data no.24 from 3 
SK 0: Num_Recv 123, InterArrival 0.499526
UWSink (id:0): I get the packet data no.24 from 4 
SK 0: Num_Recv 124, InterArrival 0.484603
UWSink (id:0): I get the packet data no.24 from 5 
SK 0: Num_Recv 125, InterArrival 0.497015
UWSink (id:0): I get the packet data no.25 from 1 
SK 0: Num_Recv 126, InterArrival 8.011716
UWSink (id:0): I get the packet data no.25 from 2 
SK 0: Num_Recv 127, InterArrival 0.507140
UWSink (id:0): I get the packet data no.25 from 3 
SK 0: Num_Recv 128, InterArrival 0.499526
UWSink (id:0): I get the packet data no.25 from 4 
SK 0: Num_Recv 129, InterArrival 0.484603
UWSink (id:0): I get the packet data no.25 from 5 
SK 0: Num_Recv 130, InterArrival 0.497015
UWSink (id:0): I get the packet data no.26 from 1 
SK 0: Num_Recv 131, InterArrival 8.011716
UWSink (id:0): I get the packet data no.26 from 2 
SK 0: Num_Recv 132, InterArrival 0.507140
UWSink (id:0): I get the packet data no.26 from 3 
SK 0: Num_Recv 133, InterArrival 0.499526
UWSink (id:0): I get the packet data no.26 from 4 
SK 0: Num_Recv 134, InterArrival 0.484603
UWSink (id:0): I get the packet data no.26 from 5 
SK 0: Num_Recv 135, InterArrival 0.497015
UWSink (id:0): I get the packet data no.27 from 1 
SK 0: Num_Recv 136, InterArrival 8.011716
UWSink (id:0): I get the packet data no.27 from 2 
SK 0: Num_Recv 137, InterArrival 0.507140
UWSink (id:0): I get the packet data no.27 from 3 
SK 0: Num_Recv 138, InterArrival 0.499526
UWSink (id:0): I get the packet data no.27 from 4 
SK 0: Num_Recv 139, InterArrival 0.484603
UWSink (id:0): I get the packet data no.27 from 5 
SK 0: Num_Recv 140, InterArrival 0.497015
UWSink (id:0): I get the packet data no.28 from 1 
SK 0: Num_Recv 141, InterArrival 8.011716
UWSink (id:0): I get the packet data no.28 from 2 
SK 0: Num_Recv 142, InterArrival 0.507140
UWSink (id:0): I get the packet data no.28 from 3 
SK 0: Num_Recv 143, InterArrival 0.499526
UWSink (id:0): I get the packet data no.28 from 4 
SK 0: Num_Recv 144, InterArrival 0.484603
UWSink (id:0): I get the packet data no.28 from 5 
SK 0: Num_Recv 145, InterArrival 0.497015
UWSink (id:0): I get the packet data no.29 from 1 
SK 0: Num_Recv 146, InterArrival 8.011716
UWSink (id:0): I get the packet data no.29 from 2 
SK 0: Num_Recv 147, InterArrival 0.507140
UWSink (id:0): I get the packet data no.29 from 3 
SK 0: Num_Recv 148, InterArrival 0.499526
UWSink (id:0): I get the packet data no.29 from 4 
SK 0: Num_Recv 149, InterArrival 0.484603
UWSink (id:0): I get the packet data no.29 from 5 
SK 0: Num_Recv 150, InterArrival 0.497015
UWSink (id:0): I get the packet data no.30 from 1 
SK 0: Num_Recv 151, InterArrival 8.011716
UWSink (id:0): I get the packet data no.30 from 2 
SK 0: Num_Recv 152, InterArrival 0.507140
UWSink (id:0): I get the packet data no.30 from 3 
SK 0: Num_Recv 153, InterArrival 0.499526
UWSink (id:0): I get the packet data no.30 from 4 
SK 0: Num_Recv 154, InterArrival 0.484603
UWSink (id:0): I get the packet data no.30 from 5 
SK 0: Num_Recv 155, InterArrival 0.497015
UWSink (id:0): I get the packet data no.31 from 1 
SK 0: Num_Recv 156, InterArrival 8.011716
UWSink (id:0): I get the packet data no.31 from 2 
SK 0: Num_Recv 157, InterArrival 0.507140
UWSink (id:0): I get the packet data no.31 from 3 
SK 0: Num_Recv 158, InterArrival 0.499526
UWSink (id:0): I get the packet data no.31 from 4 
SK 0: Num_Recv 159, InterArrival 0.484603
UWSink (id:0): I get the packet data no.31 from 5 
SK 0: Num_Recv 160, InterArrival 0.497015
UWSink (id:0): I get the packet data no.32 from 1 
SK 0: Num_Recv 161, InterArrival 8.011716
UWSink (id:0): I get the packet data no.32 from 2 
SK 0: Num_Recv 162, InterArrival 0.507140
UWSink (id:0): I get the packet data no.32 from 3 
SK 0: Num_Recv 163, InterArrival 0.499526
UWSink (id:0): I get the packet data no.32 from 4 
SK 0: Num_Recv 164, InterArrival 0.484603
UWSink (id:0): I get the packet data no.32 from 5 
SK 0: Num_Recv 165, InterArrival 0.497015
UWSink (id:0): I get the packet data no.33 from 1 
SK 0: Num_Recv 166, InterArrival 8.011716
UWSink (id:0): I get the packet data no.33 from 2 
SK 0: Num_Recv 167, InterArrival 0.507140
UWSink (id:0): I get the packet data no.33 from 3 
SK 0: Num_Recv 168, InterArrival 0.499526
UWSink (id:0): I get the packet data no.33 from 4 
SK 0: Num_Recv 169, InterArrival 0.484603
UWSink (id:0): I get the packet data no.33 from 5 
SK 0: Num_Recv 170, InterArrival 0.497015
UWSink (id:0): I get the packet data no.34 from 1 
SK 0: Num_Recv 171, InterArrival 8.011716
UWSink (id:0): I get the packet data no.34 from 2 
SK 0: Num_Recv 172, InterArrival 0.507140
UWSink (id:0): I get the packet data no.34 from 3 
SK 0: Num_Recv 173, InterArrival 0.499526
UWSink (id:0): I get the packet data no.34 from 4 
SK 0: Num_Recv 174, InterArrival 0.484603
UWSink (id:0): I get the packet data no.34 from 5 
SK 0: Num_Recv 175, InterArrival 0.497015
UWSink (id:0): I get the packet data no.35 from 1 
SK 0: Num_Recv 176, InterArrival 8.011716
UWSink (id:0): I get the packet data no.35 from 2 
SK 0: Num_Recv 177, InterArrival 0.507140
UWSink (id:0): I get the packet data no.35 from 3 
SK 0: Num_Recv 178, InterArrival 0.499526
UWSink (id:0): I get the packet data no.35 from 4 
SK 0: Num_Recv 179, InterArrival 0.484603
UWSink (id:0): I get the packet data no.35 from 5 
SK 0: Num_Recv 180, InterArrival 0.497015
UWSink (id:0): I get the packet data no.36 from 1 
SK 0: Num_Recv 181, InterArrival 8.011716
UWSink (id:0): I get the packet data no.36 from 2 
SK 0: Num_Recv 182, InterArrival 0.507140
UWSink (id:0): I get the packet data no.36 from 3 
SK 0: Num_Recv 183, InterArrival 0.499526
UWSink (id:0): I get the packet data no.36 from 4 
SK 0: Num_Recv 184, InterArrival 0.484603
UWSink (id:0): I get the packet data no.36 from 5 
SK 0: Num_Recv 185, InterArrival 0.497015
UWSink (id:0): I get the packet data no.37 from 1 
SK 0: Num_Recv 186, InterArrival 8.011716
UWSink (id:0): I get the packet data no.37 from 2 
SK 0: Num_Recv 187, InterArrival 0.507140
UWSink (id:0): I get the packet data no.37 from 3 
SK 0: Num_Recv 188, InterArrival 0.499526
UWSink (id:0): I get the packet data no.37 from 4 
SK 0: Num_Recv 189, InterArrival 0.484603
UWSink (id:0): I get the packet data no.37 from 5 
SK 0: Num_Recv 190, InterArrival 0.497015
UWSink (id:0): I get the packet data no.38 from 1 
SK 0: Num_Recv 191, InterArrival 8.011716
UWSink (id:0): I get the packet data no.38 from 2 
SK 0: Num_Recv 192, InterArrival 0.507140
UWSink (id:0): I get the packet data no.38 from 3 
SK 0: Num_Recv 193, InterArrival 0.499526
UWSink (id:0): I get the packet data no.38 from 4 
SK 0: Num_Recv 194, InterArrival 0.484603
UWSink (id:0): I get the packet data no.38 from 5 
SK 0: Num_Recv 195, InterArrival 0.497015
backoffhandler: too many backoffs
UWSink (id:0): I get the packet data no.39 from 1 
SK 0: Num_Recv 196, InterArrival 8.011716
UWSink (id:0): I get the packet data no.39 from 2 
SK 0: Num_Recv 197, InterArrival 0.507140
UWSink (id:0): I get the packet data no.39 from 3 
SK 0: Num_Recv 198, InterArrival 0.499526
UWSink (id:0): I get the packet data no.39 from 4 
SK 0: Num_Recv 199, InterArrival 0.484603
UWSink (id:0): I get the packet data no.39 from 5 
SK 0: Num_Recv 200, InterArrival 0.497015
UWSink (id:0): I get the packet data no.40 from 1 
SK 0: Num_Recv 201, InterArrival 8.011716
UWSink (id:0): I get the packet data no.40 from 2 
SK 0: Num_Recv 202, InterArrival 0.507140
UWSink (id:0): I get the packet data no.40 from 3 
SK 0: Num_Recv 203, InterArrival 0.499526
UWSink (id:0): I get the packet data no.40 from 4 
SK 0: Num_Recv 204, InterArrival 0.484603
UWSink (id:0): I get the packet data no.40 from 5 
SK 0: Num_Recv 205, InterArrival 0.497015
UWSink (id:0): I get the packet data no.41 from 1 
SK 0: Num_Recv 206, InterArrival 8.011716
UWSink (id:0): I get the packet data no.41 from 2 
SK 0: Num_Recv 207, InterArrival 0.507140
UWSink (id:0): I get the packet data no.41 from 3 
SK 0: Num_Recv 208, InterArrival 0.499526
UWSink (id:0): I get the packet data no.41 from 4 
SK 0: Num_Recv 209, InterArrival 0.484603
UWSink (id:0): I get the packet data no.41 from 5 
SK 0: Num_Recv 210, InterArrival 0.497015
UWSink (id:0): I get the packet data no.42 from 1 
SK 0: Num_Recv 211, InterArrival 8.011716
UWSink (id:0): I get the packet data no.42 from 2 
SK 0: Num_Recv 212, InterArrival 0.507140
UWSink (id:0): I get the packet data no.42 from 3 
SK 0: Num_Recv 213, InterArrival 0.499526
UWSink (id:0): I get the packet data no.42 from 4 
SK 0: Num_Recv 214, InterArrival 0.484603
UWSink (id:0): I get the packet data no.42 from 5 
SK 0: Num_Recv 215, InterArrival 0.497015
UWSink (id:0): I get the packet data no.43 from 1 
SK 0: Num_Recv 216, InterArrival 8.011716
UWSink (id:0): I get the packet data no.43 from 2 
SK 0: Num_Recv 217, InterArrival 0.507140
UWSink (id:0): I get the packet data no.43 from 3 
SK 0: Num_Recv 218, InterArrival 0.499526
UWSink (id:0): I get the packet data no.43 from 4 
SK 0: Num_Recv 219, InterArrival 0.484603
UWSink (id:0): I get the packet data no.43 from 5 
SK 0: Num_Recv 220, InterArrival 0.497015
UWSink (id:0): I get the packet data no.44 from 1 
SK 0: Num_Recv 221, InterArrival 8.011716
UWSink (id:0): I get the packet data no.44 from 2 
SK 0: Num_Recv 222, InterArrival 0.507140
UWSink (id:0): I get the packet data no.44 from 3 
SK 0: Num_Recv 223, InterArrival 0.499526
UWSink (id:0): I get the packet data no.44 from 4 
SK 0: Num_Recv 224, InterArrival 0.484603
UWSink (id:0): I get the packet data no.44 from 5 
SK 0: Num_Recv 225, InterArrival 0.497015
UWSink (id:0): I get the packet data no.45 from 1 
SK 0: Num_Recv 226, InterArrival 8.011716
UWSink (id:0): I get the packet data no.45 from 2 
SK 0: Num_Recv 227, InterArrival 0.507140
UWSink (id:0): I get the packet data no.45 from 3 
SK 0: Num_Recv 228, InterArrival 0.499526
UWSink (id:0): I get the packet data no.45 from 4 
SK 0: Num_Recv 229, InterArrival 0.484603
UWSink (id:0): I get the packet data no.45 from 5 
SK 0: Num_Recv 230, InterArrival 0.497015
UWSink (id:0): I get the packet data no.46 from 1 
SK 0: Num_Recv 231, InterArrival 8.011716
UWSink (id:0): I get the packet data no.46 from 2 
SK 0: Num_Recv 232, InterArrival 0.507140
UWSink (id:0): I get the packet data no.46 from 3 
SK 0: Num_Recv 233, InterArrival 0.499526
UWSink (id:0): I get the packet data no.46 from 4 
SK 0: Num_Recv 234, InterArrival 0.484603
UWSink (id:0): I get the packet data no.46 from 5 
SK 0: Num_Recv 235, InterArrival 0.497015
UWSink (id:0): I get the packet data no.47 from 1 
SK 0: Num_Recv 236, InterArrival 8.011716
UWSink (id:0): I get the packet data no.47 from 2 
SK 0: Num_Recv 237, InterArrival 0.507140
UWSink (id:0): I get the packet data no.47 from 3 
SK 0: Num_Recv 238, InterArrival 0.499526
UWSink (id:0): I get the packet data no.47 from 4 
SK 0: Num_Recv 239, InterArrival 0.484603
UWSink (id:0): I get the packet data no.47 from 5 
SK 0: Num_Recv 240, InterArrival 0.497015
UWSink (id:0): I get the packet data no.48 from 1 
SK 0: Num_Recv 241, InterArrival 8.011716
UWSink (id:0): I get the packet data no.48 from 2 
SK 0: Num_Recv 242, InterArrival 0.507140
UWSink (id:0): I get the packet data no.48 from 3 
SK 0: Num_Recv 243, InterArrival 0.499526
UWSink (id:0): I get the packet data no.48 from 4 
SK 0: Num_Recv 244, InterArrival 0.484603
UWSink (id:0): I get the packet data no.48 from 5 
SK 0: Num_Recv 245, InterArrival 0.497015
backoffhandler: too many backoffs
UWSink (id:0): I get the packet data no.49 from 1 
SK 0: Num_Recv 246, InterArrival 8.011716
UWSink (id:0): I get the packet data no.49 from 2 
SK 0: Num_Recv 247, InterArrival 0.507140
UWSink (id:0): I get the packet data no.49 from 3 
SK 0: Num_Recv 248, InterArrival 0.499526
UWSink (id:0): I get the packet data no.49 from 4 
SK 0: Num_Recv 249, InterArrival 0.484603
UWSink (id:0): I get the packet data no.49 from 5 
SK 0: Num_Recv 250, InterArrival 0.497015
SINK 1 : terminates (send 50, recv 0, cum_delay 0.000000)
SINK 2 : terminates (send 50, recv 0, cum_delay 0.000000)
SINK 3 : terminates (send 50, recv 0, cum_delay 0.000000)
SINK 4 : terminates (send 50, recv 0, cum_delay 0.000000)
SINK 5 : terminates (send 50, recv 0, cum_delay 0.000000)
SINK 0 : terminates (send 0, recv 250, cum_delay 19.680541)
SINK(0) : send_id = 1, num_recv = 50
SINK(0) : send_id = 2, num_recv = 50
SINK(0) : send_id = 3, num_recv = 50
SINK(0) : send_id = 4, num_recv = 50
SINK(0) : send_id = 5, num_recv = 50
god: the energy consumped is 163.840772
NS EXISTING...
INFO https://www.linuxquestions.org/questions/tags/aquasim/

-[/QUOTE]
 
Old 03-09-2018, 07:27 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #17.
Quote:
do simulator window appear after running ns-aqua command
I guess you mean the NAM animator window ?

→ Simply run $ nam vbf_example_5.nam &
 
Old 03-14-2018, 05:47 AM   #19
Prachi11
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Rep: Reputation: Disabled
Re#18

Thank you sir i was able to run example on NAM animator window.


Sir i want to learn how to retrieve packet delivery ratio,network throughput and other details from trace file. And also how to use xgraph for comparing two or more example like vbf_5 and hop_hop_vbf.
 
Old 03-14-2018, 08:28 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #19.

Tool for AquaSim trace : Suggest 'APP-Tool' for creating plot images, etc.
http://mohittahiliani.blogspot.dk/20...-tool-for.html
https://github.com/WiNG-NITK/APP-Tool

Example, Ubuntu16.04-amd64 with aquasim-ns2_2.30-1.el6_i386.deb installed.
$ ns-aqua-1010 vbf_example_5.tcl → → vbf_example_5.tr 702.1kB

Trace file analyzing results https://drive.google.com/drive/folde...NC?usp=sharing

-

Last edited by knudfl; 03-14-2018 at 08:29 AM.
 
Old 03-20-2018, 06:30 AM   #21
Prachi11
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Rep: Reputation: Disabled
#20

Thank You Sir. I Downloaded APP TOOL and it run successfully.It is a great tool to plot images.

Sir, I want to request you to provide with some void avoidance routing protocols tcl file such as GEDAR,VAPR,Hydrocast it would be a great help if you can provide it. As i want to work on void region recovery/avoidance in UWSN.
 
Old 03-20-2018, 07:26 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #21.

Available protocols, Aqua-Sim and NS2_UWSN
1. Aqua-Sim https://www.linuxquestions.org/quest...-4175623787/#2

2. NS2_UWSN ... UnderWater Sensor Network
https://www.linuxquestions.org/quest...-4175623787/#4

UWSN examples, UWSN-examples-2.tar.gz
https://drive.google.com/file/d/15Bw...ew?usp=sharing

-
 
1 members found this post helpful.
Old 03-20-2018, 09:45 AM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #21.

Besides the multiple "documentation hits", I found one usable hit for `ns2 Hydrocast´ :
http://clickmyproject.com/hydrocast-...ks-p-2793.html

Ref. https://www.google.com/webhp?hl=all&...=ns2+Hydrocast

-
 
1 members found this post helpful.
Old 03-22-2018, 04:47 AM   #24
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
hi,can you please share me how to install aquasim and aqua3d in fedora 27 or ubuntu 16.04. I got error..on ubuntu 16.04 and also got error in fedora 27.


/Aqua-Sim-1.0/include -I/home/win/Aqua-Sim/Aqua-Sim-1.0/include -I/include otcl.c
make: gcc-4.3: Command not found
Makefile:91: recipe for target 'libotcl.a' failed
make: * [libotcl.a] Error 127
otcl-1.12 make failed! Exiting ...
 
Old 03-22-2018, 05:59 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #27, @hemamahe.
  • AquaSim must be built with an oldish 32bits OS.
  • Build AquaSim with a supported OS: The 32bit CentOS 6.9 - i386
  • Or use binary packages: Old .deb, a CentOS build .rpm
1. Ubuntu 16.04 --------------------------
$ cd Downloads/ && sudo gdebi ./aquasim-ns_2.30-2-ubuntu1010_i386.deb
https://drive.google.com/file/d/0B7S...ew?usp=sharing
Run simulations with the new executable: $ ns-aqua-1010 vbf_example_4.tcl
... An AquaSim build with Ubuntu 16.04 will not create an optimal result.
( But it can be done : With ns230_gcc44.patch → But not really usable.)

( https://drive.google.com/file/d/0B7S...ew?usp=sharing )

2. Fedora 27 -----------------------------
# cd Downloads/ && yum install ./aquasim-ns-2.30-1.el6.i686.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing
Run simulations with the new executable: $ ns-aqua-el6 vbf_example_4.tcl
... A Fedora 27 build command would be $ export CC=gcc34 CXX=g++34 && ./install
Prerequisites : # yum install compat-gcc-34-c++
Or use `ns230_gcc44.patch´ and gcc53/g++53 → gcc53-c++-5.3.0-1.el6.x86_64.rpm

https://drive.google.com/file/d/0B7S...ew?usp=sharing
# cd Downloads/ && yum install ./gcc53-c++-5.3.0-1.el6.x86_64.rpm
Build command = $ export CC=gcc53 CXX=g++53 && ./install


-
 
Old 03-22-2018, 07:35 AM   #26
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #27, @hemamahe.

"aqua3d" :

1. Ubuntu 16.04 --------------------------
( A CentOS6 build: aqua3d-el6_ubuntu16_amd64.tar.gz )
An Ubuntu 16.04 build: aqua3d-g++48-ubuntu16_amd64.tar.gz
... built with "Makefile-g++48" and gcc48-c++_4.8.4-2ubuntu14_amd64.deb
( The Ubuntu g++-48 cannot be used.)
Link, gcc48-c++ https://drive.google.com/file/d/0B7S...ew?usp=sharing
Link, aqua3d files https://drive.google.com/drive/folde...VE?usp=sharing

2. Fedora 27 -----------------------------
Available is the CentOS 6 build, aqua3d-el6_ubuntu16_amd64.tar.gz
https://drive.google.com/drive/folde...VE?usp=sharing
tar xvf aqua3d-el6_ubuntu16_amd64.tar.gz
cd aqua3d-el6_ubuntu16_amd64/ && ./aqua3d

A build is not possible with Fedora 27. g++34 too old. And later g++** all fail.

-
 
Old 03-22-2018, 08:25 AM   #27
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
creating tkConfig.sh
gcc53 -pipe -c -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix -I/home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../generic -I/home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../bitmaps -I/home/fedora/Aqua-Sim/Aqua-Sim-1.0/tcl8.4.13/generic -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DSTATIC_BUILD=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED /home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../generic/tk3d.c
In file included from /home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../generic/tkInt.h:21:0,
from /home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../generic/tk3d.h:18,
from /home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../generic/tk3d.c:16:
/home/fedora/Aqua-Sim/Aqua-Sim-1.0/tk8.4.13/unix/../generic/tk.h:83:23: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [Makefile:830: tk3d.o] Error 1
tk8.4.13 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
I got this error when I execute export comment in fedora 27 ..if fedora 27 is not possible to build..can you tell me the best OS to install aqua sim and aqua3d. Thanks for your reply
 
Old 03-22-2018, 08:51 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #27.

Repeat : The executable 'ns' ('ns230-aqua') built with Fedora 27 cannot be used with simulations, if you want a normal result.
Install the 3.5MB package aquasim-ns-2.30-1.el6.i686.rpm : See #25.
... And you get a usable executable. ( /usr/local/bin/ns-aqua ).

»»fatal error: X11/Xlib.h: No such file or directory««: Please install ns2 prerequisites:
# yum install gcc-c++ compat-gcc-34-c++ autoconf automake libtool libXmu-devel

AquaSim can only be built with the 32bit CentOS 6.9 - i386 http://ftp.funet.fi/pub/mirrors/cent...86-LiveDVD.iso
... See #25.
And : The OS must be installed to hard disk.
E.g. VirtualBox and WMware ns2 builds have failed the last ~5 months.

-

Last edited by knudfl; 03-22-2018 at 09:07 AM.
 
Old 03-22-2018, 11:28 AM   #29
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
can you share ns2 prerequisites for 32bit CentOS 6.9 and procedures?
 
Old 03-22-2018, 12:49 PM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #29.

ns2 prerequisites :
Same as any other Fedora. (CentOS6 is based on Fedora 12.)

NAM : nam-1.14-1.el6.i686.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing
Xgraph : xgraph-12.1-7pclos2011.i586.rpm
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Code:
mkdir aquasim
cd aquasim/
tar xvf Aqua-Sim-1.0.tgz
patch -p0 < ns230_gcc44.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
./install
cd ns-2.30/
cp ns ns230-aquasim
# cp ns230-aquasim /usr/local/bin/
 
  


Reply

Tags
aquasim, ns2, ns2_uwsn, uwsn



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
NS2 and Aqua-sim Faiza Al-Salti Linux - Networking 3 06-12-2014 12:46 AM
Simulation in aqua-sim Faiza Al-Salti Linux - Newbie 9 05-29-2014 08:41 AM
VBF protocol in Aqua-sim lilong_guet Linux - Wireless Networking 2 07-05-2013 06:30 AM
[SOLVED] install aqua-sim on ubuntu dina Linux - Newbie 4 11-01-2012 04:49 AM

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

All times are GMT -5. The time now is 06:24 AM.

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