[ns] segmentation fault

2007-11-21 Thread Olakunle Aruleba


Hi All,
After modifying aodv.cc and aodv.h and recompiling NS-2.30. I obtained a 
segmentation fault as follows;

[EMAIL PROTECTED]:~/Documents/AODV/simulations ns aodv-50.tcl
num_nodes is set 50
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
[EMAIL PROTECTED]:~/Documents/AODV/simulations 

Does anyone know the reason for this or what might have caused the fault to 
occur.
Thanks

Regards
Olakunle
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE



[ns] FW: AODV Simulation scripts for large nodes (error)2

2007-11-12 Thread Olakunle Aruleba


Hi All, sorry one of the files I attached was a wrong file. 
Attached are the right files. 
Thanks

This is my initial message

Hi All
I'm trying to run AODV simulation for large nodes e.g 50 -110 nodes and I've 
genarated the traffic and topology files using cbrgen and setdest utilities. I 
saved both files into the same folder where I saved the tcl script. When I ran 
the simulation, I got the following message from the prompt.
 
[EMAIL PROTECTED]:~/Documents/AODV/simulations ns simulation-aodv-50.tcl
 
num_nodes is set 50
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
couldn't read file scen-800x800-50-200-1-1: no such file or directory
 while executing
source.orig scen-800x800-50-200-1-1
 (uplevel body line 1)
 invoked from within
uplevel source.orig [list $fileName]
 invoked from within
if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
...
 (procedure source line 8)
 invoked from within
source $val(sc)
 (file simulation-aodv-50.tcl line 80)
 
Attached are the tcl script, topology file and the traffic file
Those anyone has a slotion to the above error.? Your response will be 
appreciated. Thanks.
 
Regards
Olakunle Aruleba
 
 
 
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

[ns] AODV Simulation scripts for large nodes

2007-11-01 Thread Olakunle Aruleba


Hi All, I'm a masters research student working on the AODV protocol using NS 
2.30. I need to do simulations for 50 to 120 nodes with 20 CBR connections and 
a randomly generated topology. Can anyone give me a tcl scripts that will do 
these stuffs for AODV cos the script I was using seems to be only useful for a 
small numbers of nodes e.g 3 nodes Also the tcl scripts I got from ns/tcl/ex 
folder where written for DSDV and DSR. Your response will be appreciated. 
Regards Olakunle Aruleba
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx