[ns] Segmentation fault in ns

2008-01-22 Thread Rupesh Kumar

Hi,
  I have generated a random scenario file and while running the tcl script
with different speeds, it gives segmentation fault (with speed 20,25) and
with some higher speed it gives Floating point exception error.

Please someone give me some guideline if you have any idea regarding this.


thanks

Rupesh Kumar
M.Tech(CSE)


[ns] Trace files

2008-01-21 Thread Rupesh Kumar

Hi all,
  This is my second mail to this community, Please If someone has any perl
or awk script to compute any metrics over any ad-hoc network protocol, So
please mail me.

Thanks.

-- 
Rupesh Kumar
M.Tech(CSE)


[ns] Floating point exception error

2008-01-18 Thread Rupesh Kumar

Hi friends,
I have modified an existing MANET protocol, its compiled successfully
but when I am running a tcl script after loading scenario file upto 70 nodes
it gives Floating point exception error. I do not able to get the reason for
the error. It's not a C++ code error becuase it's not giving a single
warning and compiled successfully.

Please guide thank you.

-- 
Rupesh Kumar
M.Tech(CSE)


[ns] trace file format of GPSR

2007-09-11 Thread Rupesh Kumar

Hi all,
 I trying to extend the GPSR protocol, the format of the trace file
generated is different from the usual trace file of the ns. So if anyone
have idea or experience to work on GPSR, please help.

first trace file format is :
V -t * -v 1.0a5 -a 0
A -t * -n 1 -p 0 -o 0x -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.00937 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
- -t 0.00937 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
h -t 0.00937 -s 8 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010085707 -s 72 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085707 -s 81 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085707 -s 92 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085707 -s 83 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 91 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 71 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 73 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085734 -s 93 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085774 -s 62 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085774 -s 80 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010085774 -s 84 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 0 -k RTR
r -t 0.010176954 -s 7 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176954 -s 18 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176954 -s 9 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176981 -s 17 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010176981 -s 19 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010177020 -s 6 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
r -t 0.010177020 -s 28 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 1 -k RTR
+ -t 0.014387618 -s 81 -d -1 -p gpsr -e 29 -c 2 -a 0 -i 2 -k RTR


Second trace file format:
M 0.0 97 (140.00, 180.00, 0.00), (0.00, 0.00), 0.00
M 0.0 98 (160.00, 180.00, 0.00), (0.00, 0.00), 0.00
M 0.0 99 (180.00, 180.00, 0.00), (0.00, 0.00), 0.00
s 0.008877640 _82_ RTR  --- 0 gpsr 29 [0 0 0 0] --- [82:255 -1:255 32 0]

s 0.00937 _8_ RTR  --- 1 gpsr 29 [0 0 0 0] --- [8:255 -1:255 32 0]
r 0.010085707 _72_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085707 _81_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085707 _92_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085707 _83_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _91_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _71_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _73_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085734 _93_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085774 _62_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]
r 0.010085774 _80_ RTR  --- 0 gpsr 29 [0  52 800] --- [82:255
-1:255 32 0]


regards
Rupesh Kumar




Rupesh Kumar
M.Tech(CSE)


[ns] problem while installation of ns

2007-09-08 Thread Rupesh Kumar

Hi all,

 I have pc with AMD processor, but I am not able to install ns, its
giving 'VERSION' problem. I have done the same installation on my lab PC,
there its working.
So sombody tell me, is ns hardware dependent?

regards
Rupesh Kumar