[ns] Problem with Scenario Generator

wilson woon magicbullet2002 at yahoo.com
Mon May 3 19:34:37 PDT 2004


Hi all...

I'm using ns-allinone-2.27. I encountered a few
problems when using the cmu scenario generator.

1) I tried the following :

[wilson at localhost sourcesTENrateOne]$ ns try1.tcl
num_nodes is set 50
warning: Please use -channel as shown in
tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
Segmentation fault

Is the segmentation fault an error/problem that could
affect my simulation?

2) I read a few mailing lists and some suggest
changing the expression 

[expr $opt(nn)+1] to $opt(nn)

Is there any significant contribution to my
simulation, i.e. is it compulsory to do this?

3) My simulation should run for about 900 seconds but
in my trace file, it run for only 2.7288... seconds.
It looks like the following

r 2.725760279 _38_ RTR  --- 5 DSR 84 [13a 26 1e 800]
------- [2:255 1:255 253 38] 7 [0 2] [1 2 7 1->2] [0 0
0 0->0]
f 2.725760279 _38_ RTR  --- 5 DSR 84 [13a 26 1e 800]
------- [2:255 1:255 252 34] 7 [0 2] [1 2 7 1->2] [0 0
0 0->0]
r 2.728860575 _23_ RTR  --- 8 DSR 84 [13a 17 2 800]
------- [2:255 1:255 254 23] 7 [0 2] [1 2 7 

The last entry is incomplete. IS there any problem?

Thanks


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



More information about the Ns-users mailing list