[ns] Segmentation during leach simulation run...

2011-12-05 Thread Najma Ismat
Hi, i m working on the reliability of WSN and trying simulate leach tcl script generated by mannasim script generator tool on ns-2.29 but when i run the script i get the segmentation fault error. also the trace file contains no captured data. i'll be grateful if anyone can help me in this

[ns] Opening/reading files in ns-2

2011-12-05 Thread Fraser Cadger
Hi, For a while I have been working with ns-2, but have only recently found the need to use file input or output operations. What I want to do is read in a txt file containing certain parameters for use in a protocol I am working on, but for some reason the fopen() command does not work. I

Re: [ns] Opening/reading files in ns-2

2011-12-05 Thread Fraser Cadger
Hi Ricardo, When I say I get an error message what I mean is that when I run the if statement I created I get a line on the terminal saying 'Error opening file'. At the moment I am not trying to use the file, I am just trying to get it into the code (then once I can do this I will try to use

[ns] tcl private header

2011-12-05 Thread RamiHach
Dear all, I am trying to debug the NS2.29 code with eclipse. I am able to debug the c++ code of NS. but to debug the tcl files I need the tcl-debug program. I download it and once I do ./configure to compile it I got error saying: checking for Tcl private headers... checking for tclInt.h... no

[ns] seek for simulation code about network coverage holes recovery in wsn

2011-12-05 Thread wcpstone
Dear: hello, I use mobile nodes to the coverage holes to recover the coverage holes, can you give some simulation code about the coverage holes recovery in WSNs. thanks Thanks for your help! Best Regards From:Peter Wu

[ns] Help Needed!!! Leach Segmentation Fault

2011-12-05 Thread Najma Ismat
Hi, i m working on the reliability of WSN and trying simulate leach tcl script generated by mannasim script generator tool on ns-2.29 but when i run the script i get the segmentation fault error. also the trace file contains no captured data. i'll be grateful if anyone can help me in this