TORA Simulation Segmentation Fault For Nodes <= 100 In NS-2.35 On Ubuntu 12.04

i am trying to simulate Tora for 50, 110, 170 and 200 number of nodes. but for 50 number of nodes trace file become so large that it does give segmentation fault error when i tried to extract results with awk file. for 100 number of nodes simulation never comes an end. please help me... if m missing something ...


Similar Content



How To Change Number Of Nodes For LEACH In NS 2.34

Hi everyone,

I have final year project related to the LEACH routing protocol. I want to change the number of nodes for LEACH? As for existing package, it is already 100 nodes, and i want to change it to 80 nodes and below..what should I do?

Thanks

Segmentation Fault (core Dumped ) Error In Ns2.34

I did some changes in the LAR protocol and suppose the new protocol is named as ABC .
When i am doing make clean and then make.
object file "ABC.o" was successfully created.
Then i tried to run tcl file , nothing has been written in the trace file and it gave me the following error

21052015$ ns234 new.tcl scen1 setting other default settings...
removing unecessary packet headers...
num_nodes is set 100
INITIALIZE THE LIST xListHead
loading mobility file
loading traffic file
Starting Simulation...
Segmentation fault (core dumped)

I tried a lot but unable to find out where is the error. I am unable to find out the point of error . Is it in .cc file or in .tcl file.
Could someone please help me.
My work is stucked and i searched a lot but didn't get anything.

please please .............. help me

Ns 2 Segmentation Fault Error

i'm new to linux and ns2 platform, i'm doing my thesis and trying to run AODV code, i got the following error, anyone can sort me out

thanks in advance

$ ns DSR.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...
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
Segmentation fault (core dumped)

Using Gdb To Detect Segmentation Fault In Sh?

I am using scientific linux. In the directory user/project/Build, after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh, which runs the project binary in user/project/Build/bin/project, I get a segmentation fault error. In the directory user/run, I enter 'gdb' in the command prompt and get the message "*** No targets specified and no makefile found. Stop."

What am I supposed to do to detect the segmentation fault?

How Do I Edit Mannasim Tcl File To Generate Mobile Nodes For WSN Protocols

Hi,

I intend to use mannasim script generator tool to create mobile nodes for routing protocols like aodv, leach , dsdv and dsr.

To be best of my knowledge, WSN nodes in mannasim are assumed to be static but I would like to know if there is a resource available which explains how the tcl code can be modified to achieve node mobility.

I have tried searching google but I haven't gotten satisfying search result.

It seems is better to ask an experienced ns2/mannasim user.

Be sure your kind response is valued

Segmentation Fault (core Dump)

Hi
i ve installed ns2.35 in ubantu14.04,
i hav successfully run tcl script, bt when i've tried to execute nam command, it gave me " Segmentation fault (core dump)" .
although i can sucessfully run awk & Xgraph commands, bt unable to run nam
plz help me out...

What Do I Do With This Huge Data On My Command Line Interface

Hi,

I have been trying to get information on how to process the output of a tcl file (aodv and leach protocol using mannasim) which I got on my command line Iinterface. Actually, I don't even know the keywords to search as I am new to this and other minor attempts haven't yielded positive results., I know there is usually a trace file but I can't see any. All I see is on my command line.

I also observe that it took the space on the entire screen and I can't copy the output from the start ( I could only copy from node 19 out of 30 nodes) because of the huge number of output lines.

The last thing I havent been able to figure ou is whether temperature is equivalent to energy Iin mannasim as mannasim has only temperature and carbon dioxide?


Thanks

Need Help On Shell Script..

I have serveral nodes related files under /var/lib/ directory as shown below:

Code:
machine001.cluster.org 
machine002.cluster.org
machine003.cluster.org
machine004.cluster.org

I am trying to write a shell script which first finds out how many number of files are present in this directory. Then it should fetch the first name like machine001, machine002, machine003 etc. Then it should fetches ipaddress, hostname and netmask under machine001 first, then store it in some variable. Repeat this for all the nodes. How will the script look like?

Clustering Nodes In Ns2

can anyone please send me the clustering code of nodes in ns2?? THank you in advance

Nam Error (not Running) With Ns2.32 On Ubuntu 12.04

I am working on LAR protocol, ns2 version = 2.32
OS = ubuntu 12.04

i successfully installed LAR NS on my system . but nam does not qork with ns-2.32 . so i tried to install with the following command

sudo make install nam ===> it successfully installed namv1.15 . but when i run box.tcl it is giving me the following error

SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 220.0
Segmentation fault (core dumped)

then i tried to remove the nam with this command sudo apt-get remove nam ==> removed
then i installed this nam from (nam_1.14_amd64.deb) . when i write nam it shows me network animator window v1.14 but segmentataion fault error remains the same .

I also tried to install nam-1.14.i586.tar.gz , first untar it and then the following command sudo cp nam /usr/local/bin but still the error .
i also tried with nam-1.14-x86_64.tar.gz but still no success.

if i dont use nam , then my box file runs successfully.
plz suggest me how to rectify this error.