LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-27-2013, 06:31 AM   #16
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled

After make m getting this at last. Is everythng ok or there is some error ??

/home/soumya/ns-allinone-2.34/include -I/home/soumya/ns-allinone-2.34/include -I/usr/include/pcap -o utils.o utils.cc
g++34 -DCPP_NAMESPACE=std -o ucb-tr-stat tr-stat.o logparse.o utils.o -L/home/soumya/ns-allinone-2.34/lib -ltcl8.4 -lnsl -ldl -lm
make[1]: Leaving directory `/home/soumya/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb'
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34$
 
Old 04-27-2013, 06:36 AM   #17
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
these are the commands which i executed



soumya@ubuntu:~/ns-allinone-2.34/ns-2.34$ cd indep-utils/webtrace-conv/epa
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/epa$ make clean
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/epa$ cd ..
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv$ cd nlanr
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/nlanr$ make clean
rm -f *.o *~ nlanr-tr-stat *core
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/nlanr$ cd ..
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv$ cd ucb
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb$ make clean
/bin/rm -f *.o *~ ucb-tr-stat *core
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb$ cd ..
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv$ cd ..
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34/indep-utils$ cd ..
soumya@ubuntu:~/ns-allinone-2.34/ns-2.34$ make
 
Old 04-27-2013, 08:21 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,682

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
# 16 .

When the executable 'ns' is present, everything is OK.

Suggest : cd ns-allinone-2.34/ns-2.34/ ; cp ns ns-gpsr-Ke
... Then it's easy to recognize, and you have a backup.

Also suggest : sudo cp ns-gpsr-Ke /usr/local/bin/
Using ns : $ ns-gpsr-Ke wireless-gpsr.tcl

-
 
1 members found this post helpful.
Old 04-27-2013, 09:08 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,682

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
Ref. # 11.

How to use wireless-gpsr.tcl :

cd ns-allinone-2.34/ns-2.34/gpsr/ && ns-gpsr-Ke wireless-gpsr.tcl



-

Last edited by knudfl; 04-27-2013 at 09:14 AM.
 
1 members found this post helpful.
Old 04-27-2013, 09:39 AM   #20
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thank you so much knudfl!!

wireless-gpsr.tcl run and giving desired output but when m trying to visualize it through nam by typing this command nam out.nam.tr and i tried this also nam out.nam , nam window get closed instantaneously. Please tell me how to rectify this problem and please tell me how can I analyze the trace file any awk or shell scripts ???
 
Old 04-27-2013, 03:01 PM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,682

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
# 20 .

"out.nam.tr" starts with :
V -t * -v 1.0a5 -a 0
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0

When you add a line to define x, y ( The second line (W))
V -t * -v 1.0a5 -a 0
W -t * -x 600 -y 600
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0
... then nam will run OK but show nothing.

You can add some "definition lines" to the top of out.nam.tr (To be line 1-20)
and get a visible nam simulation :
Code:
n -t * -s 0  -x 140.095844922688 -y 190.86573988629101 -Z 0 -z 250  -v circle -c black
n -t * -s 1  -x 680.49043817601796 -y 202.79502802519499 -Z 0 -z 250  -v circle -c black
n -t * -s 2  -x 376.03619933752901 -y 40.402599440804998 -Z 0 -z 250  -v circle -c black
n -t * -s 3  -x 646.48883741964005 -y 737.89108537800996 -Z 0 -z 250  -v circle -c black
n -t * -s 4  -x 135.472602825666 -y 88.035811147678999 -Z 0 -z 250  -v circle -c black
n -t * -s 5  -x 417.87803711858999 -y 76.170222865202007 -Z 0 -z 250  -v circle -c black
n -t * -s 6  -x 192.93576300659501 -y 271.36902298806598 -Z 0 -z 250  -v circle -c black
n -t * -s 7  -x 99.169601168450001 -y 343.486926101405 -Z 0 -z 250  -v circle -c black
n -t * -s 8  -x 184.76729102610801 -y 583.86043967571004 -Z 0 -z 250  -v circle -c black
n -t * -s 9  -x 142.410147621421 -y 687.35119952328398 -Z 0 -z 250  -v circle -c black
n -t * -s 10  -x 311.61099759689 -y 446.03688735304303 -Z 0 -z 250  -v circle -c black
n -t * -s 11  -x 541.966138258824 -y 24.886196862005001 -Z 0 -z 250  -v circle -c black
n -t * -s 12  -x 662.31068176554299 -y 255.62902103488 -Z 0 -z 250  -v circle -c black
n -t * -s 13  -x 356.95675998762903 -y 172.265428748326 -Z 0 -z 250  -v circle -c black
n -t * -s 14  -x 65.061125931183994 -y 682.34358309069501 -Z 0 -z 250  -v circle -c black
n -t * -s 15  -x 148.601610647401 -y 747.27028266646198 -Z 0 -z 250  -v circle -c black
n -t * -s 16  -x 171.64143815272701 -y 777.65118511836101 -Z 0 -z 250  -v circle -c black
n -t * -s 17  -x 383.46897416748197 -y 163.049173049893 -Z 0 -z 250  -v circle -c black
n -t * -s 18  -x 367.45159417660898 -y 558.94365221987698 -Z 0 -z 250  -v circle -c black
n -t * -s 19  -x 565.96335531296597 -y 146.11324711216199 -Z 0 -z 250  -v circle -c black
V -t * -v 1.0a5 -a 0
W -t * -x 600 -y 600
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0
+ -t 0.008877640 -s 82 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR 
- -t 0.008877640 -s 82 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
h -t 0.008877640 -s 82 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
+ -t 0.009388887 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR 
- -t 0.009388887 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
h -t 0.009388887 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
.
.
.
.
The file "readme" says :
"For more possibilities for simulation, check the wireless-gpsr.tcl file
and the GPSR routing agent implementation code."

The file wireless-gpsr.tcl file is rather complex as it includes
a number of other files. ( source ./gpsr.tcl, etc, etc.)
So I don't know how to make it create a good out.nam .

-

Last edited by knudfl; 04-27-2013 at 03:22 PM.
 
Old 04-28-2013, 02:35 AM   #22
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Please tell me how to analyze the trace file that we get after executing wireless-gpsr.tcl


and also how to analyze trace file that we get after executing ssomayaa.tcl (hls patched ns-2.33)


Can we use either hls patched or klieu patched.... any one from two for simulating my VANET scenarios ??

Please help me, its urgent...thanks in advance
 
Old 04-28-2013, 03:47 AM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,682

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
# 22 .

GPSR-hls comes with perl scripts.
./evaluate.pl -f hls_test.tr
./gls_evaluate.pl -f hls_test.tr
./evaluate.pl -f fangzhen1.tr
./gls_evaluate.pl -f fangzhen1.tr

Please use Google .. analyze ns2 trace file ..
for more info http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats
etc. etc.

? simulating VANET scenarios ? : Not a subject I know anything about.
You could try asking here http://network-simulator-ns-2.7690.n7.nabble.com/

-
 
Old 04-28-2013, 10:23 AM   #24
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
after executing the perl scripts, these errors are coming-illegal divison by zero dont know y? please help
same case with hls_test.tr



soumya@ubuntu:~/ns-allinone-2.33/ns-2.33/hls/utils$ ./evaluate.pl -f fangzhen1.tr
Parser started for 1 Files
Processing file fangzhen1.tr... found
Parsing......... done

Statistics:
----------
1 NONE Runs evaluated (NONE)
0 Nodes in an Area of 0x0 sqm for 80.000 secs
Nodes moved at max. 30 m/s (Average: 12.553 m/s)
----------

HLS statistics:

Queries : 0
Illegal division by zero at ./evaluate.pl line 1223.
soumya@ubuntu:~/ns-allinone-2.33/ns-2.33/hls/utils$ ./gls_evaluate.pl -f fangzhen1.tr
Parser started for 1 Files
Processing file fangzhen1.tr... found
Parsing......... done

Statistics:
----------
1 NONE Runs evaluated (NONE)
0 Nodes in an Area of 0x0 sqm for 80.000 secs
Nodes moved at max. 30 m/s (Average: 12.553 m/s)
----------

GLS statistics:

Queries : 0
Cache Lookups : 0 min age 0, max age 0, avg age -1
Illegal division by zero at ./gls_evaluate.pl line 1429.
 
Old 04-28-2013, 10:27 AM   #25
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
why $lookup{cache_lookups} is equal to zero because of which this error is coming and nt computing any statistics??
 
Old 04-28-2013, 10:33 AM   #26
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
And when I run ./run_small.bat command then also this problem is occurring



soumya@ubuntu:~/ns-allinone-2.33/ns-2.33/hls/utils/hls-utils$ ../../../ns ssoumayaa.tcl
num_nodes is set 2
INITIALIZE THE LIST xListHead
Starting Simulation...
radiorange 250, x 2000 y 500
length : 3.000000 , cellperline 12 , heigth 1.000000
maxlevel 3
radiorange 250, x 2000 y 500
length : 3.000000 , cellperline 12 , heigth 1.000000
maxlevel 3
SORTING LISTS ...DONE!
soumya@ubuntu:~/ns-allinone-2.33/ns-2.33/hls/utils/hls-utils$ cd ..
soumya@ubuntu:~/ns-allinone-2.33/ns-2.33/hls/utils$ ./run_small.bat
Run Configuration: -n 100 -s 30 -t 100 -x 2000 -y 2000 -mrd 1 -c 400
Can't open perl script "./namable.pl": No such file or directory

!Warning! Don't forget to check header-inclusion
(Not needed for GPSR/DSR & CBR/Ping)

num_nodes is set 100
Configuring Nodes (100)
INITIALIZE THE LIST xListHead
Loading scenario file (sc-x2000-y2000-n100-s30-t100-MRD)...
Loading connection pattern (cp-n100-c400-15-98.tcl)...
Loading inactive pattern ()...
no inactive pattern specified

Parameterset:
Tracefile: "100-30-118:20:58:36/hls_trace_peri.txt"
Protocol: GPSR nn: 100 stop: 100 x: 2000 y: 2000
Radio Range: 250
GPSR/HLS: Cell Location Service selected.

Installing Time Estimator (1367162917)!
Starting Simulation...
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
radiorange 250, x 2000 y 2000
length : 3.000000 , cellperline 12 , heigth 3.000000
maxlevel 3
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
1 Beginn: Sun Apr 28 08:58:37 PM IST 2013!
3.5 Run: 0 ETE: Sun Apr 28 08:58:37 PM IST 2013
6.0 Run: 0 ETE: Sun Apr 28 08:58:37 PM IST 2013
8.5 Run: 0 ETE: Sun Apr 28 08:58:37 PM IST 2013
11.0 Run: 0 ETE: Sun Apr 28 08:58:37 PM IST 2013
13.5 Run: 0 ETE: Sun Apr 28 08:58:37 PM IST 2013
16.0 Run: 1 ETE: Sun Apr 28 08:58:43 PM IST 2013
18.5 Run: 1 ETE: Sun Apr 28 08:58:42 PM IST 2013
21.0 Run: 1 ETE: Sun Apr 28 08:58:42 PM IST 2013
23.5 Run: 1 ETE: Sun Apr 28 08:58:41 PM IST 2013
26.0 Run: 1 ETE: Sun Apr 28 08:58:41 PM IST 2013
28.5 Run: 1 ETE: Sun Apr 28 08:58:41 PM IST 2013
31.0 Run: 1 ETE: Sun Apr 28 08:58:40 PM IST 2013
33.5 Run: 1 ETE: Sun Apr 28 08:58:40 PM IST 2013
36.0 Run: 1 ETE: Sun Apr 28 08:58:40 PM IST 2013
38.5 Run: 2 ETE: Sun Apr 28 08:58:42 PM IST 2013
41.0 Run: 2 ETE: Sun Apr 28 08:58:42 PM IST 2013
43.5 Run: 2 ETE: Sun Apr 28 08:58:42 PM IST 2013
--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o31: no target for slot 0
_o31 type: Classifier/Port
content dump:
classifier _o31
0 offset
0 shift
-1 mask
1 slots
slot 255: _o33 (CMUTrace/Recv)
---------- Finished standard no-slot{} default handler ----------
Illegal division by zero at ../evaluate.pl line 1226.
 
Old 04-28-2013, 10:35 AM   #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,682

Rep: Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547Reputation: 2547
# 24 .

At least you have some kind of a readable output result.
"Illegal division by zero" : Don't know how to correct that, sorry.
 
Old 04-28-2013, 11:48 AM   #28
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
when I am analyzing the trace file, all packets are dropped by GPSR protocol,dont know why ? whereas in case of AODV protocol only 5 packets are dropped out of 5715 total sent packets.Please help.
 
Old 04-28-2013, 01:54 PM   #29
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
hii in the trace which i got through gpsr-kileu patched, all recieved packets are at RTR level and no packet is recieved at AGT level why this is happening ?? please help
 
Old 04-29-2013, 12:22 PM   #30
soumyabansal
LQ Newbie
 
Registered: Apr 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
plz reply does nybody know why it is giving such type of output in every case ?? Do we have to make changes in parameters ??
 
  


Reply

Tags
gpsr, 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing ubuntu problem anemone42 Linux - Newbie 7 06-29-2011 09:49 PM
Problem Installing Ubuntu 8.10 edgartech Ubuntu 2 11-05-2008 01:28 AM
Problem installing Ubuntu 8 Juvencio Linux - Newbie 5 07-05-2008 01:30 AM
Installing Ubuntu Problem LinuxNewbie092 Ubuntu 5 03-29-2007 04:09 PM
Problem installing Ubuntu 6.10 BehindUsDidnt Linux - Newbie 1 01-07-2007 11:15 PM


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

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