Re: [ns] transmit power - does it really control transmission range?

2007-12-18 Thread Sita S. Krishnakumar
on the transmitted power, propagation model and recv thershold. So, yes, I think all the nodes are not connnect with these values. -Atiur --- Sita S. Krishnakumar [EMAIL PROTECTED] wrote: Hi, I am working with a sparsely connected network in a 200m by 200m field. The default transmit power

Re: [ns] transmit power - does it really control transmission range?

2007-12-18 Thread Sita S. Krishnakumar
use the threshold executable that comes with ns-2 in /ns/indep-utils/propogation/ -Sita Hi dear sita how to compute CsThresh_ in scenario? -- Amin Irandoost

[ns] transmit power - does it really control transmission range?

2007-12-17 Thread Sita S. Krishnakumar
Hi, I am working with a sparsely connected network in a 200m by 200m field. The default transmit power of 0.281838 corresponds to a 250m transmission range. I have a node in the center with this Pt_ and when it sends out packets, all the nodes in the network do not seem to receive it. Why?

Re: [ns] Need help installing NS-2.31 on 64-bit machine...

2007-08-30 Thread Sita S. Krishnakumar
You can try to say --with_tcl=xxx and provide the path or --prefix= if you are installing to a directory of your choice etc. Look into all the flags and check if the makefile.in is present in the directory quoted. I did a build on a 64-bit machine and the major change required was to point to

Re: [ns] Compiling ns-2.27 on a 64-bit machine

2007-08-28 Thread Sita S. Krishnakumar
for your help. Regards, Sita Sita S. Krishnakumar wrote: Tom, I successfully built 2.31 in 64-bit environment. All I had to do was fix the path to lib64 in a few places. Once that built, I decided to replicate the changes in ns-2.27 directory. After a few changes, it got more complicated

Re: [ns] Compiling ns-2.27 on a 64-bit machine

2007-08-20 Thread Sita S. Krishnakumar
*â to âintâ loses precision make: *** [common/packet.o] Error 1 Sita S. Krishnakumar wrote: Hi Tom, After searching the ns-list archives, I found help with the x86_64-unknown problem. 1. Edit otcl-xx/config.sub and tclcl-xx/config.sub. Where | x86 | appears you must put | x86 | x86_64

[ns] Compiling ns-2.27 on a 64-bit machine

2007-08-19 Thread Sita S. Krishnakumar
Subject: Re: [ns] ns makefile question - reg X11 libs From:Sita S. Krishnakumar [EMAIL PROTECTED] Date:Sat, August 18, 2007 9:26 am To: Tom Henderson [EMAIL PROTECTED] -- Tom, What I sent earlier was by running

Re: [ns] ns makefile question - reg X11 libs

2007-08-17 Thread Sita S. Krishnakumar
to a different version of ns-2 as I require sensor simulation software from NRL that works only with 2.27. If anyone is aware of fixing this or has done it before, please reply. Your help is greatly appreciated! Regards, Sita Sita S. Krishnakumar wrote: Hello, I am building ns-2.27 on a 64 bit machine

[ns] ns makefile question - reg X11 libs

2007-08-16 Thread Sita S. Krishnakumar
Hello, I am building ns-2.27 on a 64 bit machine. When the ./install compiles and links Tcl/Tk, it looks for X11 libs in /usr/X11R6/lib. I would instead like for it to look at a different directory for 64 bit libs. Where in the install or configure files in ns-2 should the change be made such

Re: [ns] Energy Model in NS2

2007-07-27 Thread Sita S. Krishnakumar
The idling power set in the code is very high. Due to this, nodes that work and those that are silent may end up consuming the same amount of power over a period of time. It may not be surprising if idling nodes die ahead. Regards, Sita Dear Users of NS2, I need to take some results

[ns] tracing selectively

2007-07-27 Thread Sita S. Krishnakumar
Hello, I am running a large simulation. In order to release memory, I am selectively de-listing nodes that are not necessary. I am using trace-all and this causes a problem once a node gets eliminated. How can I selectively not trace a few nodes from the start. Majority of nodes, I would like to

[ns] large duration simulations in ns-2.27

2007-07-26 Thread Sita S. Krishnakumar
Hello, I am trying to run a simulation with approximately 200 nodes for a period of 6-8 hours (21600-28800 seconds). The program runs out of memory and gets out on a bad malloc. I have fixed problems like memory leaks in my program, swap space on my hard drive etc. I have looked into ns-2

Re: [ns] trace file limitations

2007-07-17 Thread Sita S. Krishnakumar
I have run a single complete loop of my program against leak detection software and it came out without any memory leaks. So I assume the large swap consumption is due to memory required by the program (and indirectly ns-2) itself. Regards, Sita Running out of swap space seems like an

Re: [ns] trace file limitations

2007-07-16 Thread Sita S. Krishnakumar
? Any help/insight greatly appreciated. Regards, Sita In Linux, there is limit for your files. Maybe, you can see 'limits.conf' file. /salva On Sat, 7 Jul 2007, Sita S. Krishnakumar wrote: Hello, I am trying to run an extended simulation. I am logging only the routing layer

[ns] trace file limitations

2007-07-07 Thread Sita S. Krishnakumar
Hello, I am trying to run an extended simulation. I am logging only the routing layer information to the trace file. When I run the simulation, the process kills itself after a few hours. Every time, I notice that the trace file size is approximately 1.4 GB. Is anyone aware of a trace file

[ns] changing node positions

2007-05-18 Thread Sita S. Krishnakumar
Hello, I am writing to see if anyone has successfully changed node positions dynamically in code? Node locations can be set using setdest in tcl code, but I am looking to do it in the ns-2 code in c/c++. Please share your experiences. Thanks, Sita

[ns] setting node positions dynamically

2006-10-31 Thread Sita S. Krishnakumar
Hello, I want to change a node position dynamically as the simulation progresses i.e. my new node location will be calculated in my C code. I would then like my node to move to the newly calculated position. How can I make this happen? I only see node positions set in the tcl code in all

[ns] flooding and broadcast protocols

2006-10-04 Thread Sita S. Krishnakumar
Hello, I downloaded flooding/broadcast protocols from university of carleton, canada and incorporated it in ns-2.27. I am trying to simulate a wsn. When an event is triggered, i see that the node which senses the event sends out a msg to sink, but it is not getting flooded/broadcasted. I put a

Re: [ns] generating topology

2006-09-29 Thread Sita S. Krishnakumar
, Muhammad Azizur Rahman wrote: U can use topology generator brite to create a topology and convert that topology into ns-2 (.ns) format using nedase tool. Sita S. Krishnakumar [EMAIL PROTECTED] wrote: Hi, I am interested in generating a random distribution of static nodes for my simulation

Re: [ns] Changing trace files

2006-05-06 Thread Sita S. Krishnakumar
cmu-trace.cc Hello NS users, Which source code should I chance to write only the fields that I want in my trace files?? I am simulation Ad-Hoc networks using new-trace format!!! -- Diego G. Soares

Re: [ns] Usual Mistake

2006-05-04 Thread Sita S. Krishnakumar
Not bytes received - it is always an integer. x/y should be typecasted to float to get correct answer. use 4.0, 5.0 as someone else had replied. Hi, thanks for your response, I dont know Exactly but i think bytes recieved is integer. Regards Hamid Regards --- Sita S. Krishnakumar

[ns] help with udp packets

2006-04-24 Thread Sita S. Krishnakumar
Hello, I have a setup of 25 nodes and a single sink. I am using AODV as my routing protocol. udp packets are sent at regular intervals from the nodes to the sink. Can someone clarify the following for me: 1. There is no packet id or mac address - how can i track packets to calculate

[ns] range of packet broadcast

2006-04-16 Thread Sita S. Krishnakumar
Hello, In a wireless network simulation, the trace file shows the sender and the receiver(s). Since every packet is a broadcast, it could be heard by more nodes than the actual receiver(s). Based on the next hop, the packets are picked up only by appropriate nodes. Where in the ns-2, would I be

Re: [ns] help with understanding AODV

2006-04-14 Thread Sita S. Krishnakumar
Vinod, Kapil, Kanthi, Thank you for your replies. I think the timer refresh is not sufficient enough in my case and the route (re-)requests are happening not so frequently i.e. it is not in sync w/ the mobility (i am not yet sure how that can be handled). Due to this, there is packet loss and

[ns] help with understanding AODV

2006-04-13 Thread Sita S. Krishnakumar
Hello, I would like help on understanding how AODV computes routes in the following scenario: Node A wants to send a packet to Node B (Both are stationary to begin with). Packets are broadcast and the next hop is based on the route that was decided. Node B finally receives the packet. Now if

[ns] Packets getting dropped with AODV

2006-04-09 Thread Sita S. Krishnakumar
Hello, In my simulation, packets are getting dropped and the reason shown in trace is IFQ. If I change my IFQ length (which initially was at 50), it doesnt seem to alleviate the problem. Any ideas why? Thanks, Sita

[ns] [Fwd: Re: LEACH problem]

2006-04-05 Thread Sita S. Krishnakumar
Scenario files generally start with a node id. Yours seems to start with the location. Maybe that is the problem? Also, why are yoy specifying the parameters at the command prompt (not that it is incorrect, I have not come across it). On a separate note, where did you get the LEACH implementation

[ns] Any ns user who has tried J-Sim?

2006-03-26 Thread Sita S. Krishnakumar
Hello, I am a ns-2 user and would like to try J-Sim for some features that may be of interest to me. So if anyone has any experience with J-Sim, can you please comment on the following: 1. Is there a trace file generated when a simulation is run? The example I ran did not, but is there a way to

Re: [ns] urgent help: about heterogeneous nodes in ns2

2006-03-15 Thread Sita S. Krishnakumar
You can call node-config twice, each with different parameters for the two kinds of nodes you want to create. -Sita hi, every body: I want to use two kinds of nodes with different transmission power and coverage radius in a single scenario, how can I config these nodes in a

Re: [ns] (yet another) doubt on CSThresh_ and RxThresh_

2006-02-08 Thread Sita S. Krishnakumar
. it is the reach of the node. If you want it to receive packets from a farther distance, should the threshold be greater? -Sita On Wednesday 08 February 2006 15:24, Sita S. Krishnakumar wrote: I am using TwoRayGround and for different distances, I get different RXThresh but Pt_ generated

[ns] help with trace file

2006-02-02 Thread Sita S. Krishnakumar
Hello, I am trying to collect some data from the ns-2 trace file to tabulate results. I am using the new wireless trace format. I have agent, router and mac trace set to ON in my tcl file. I am using AODV as my routing protocol. However, I do not see any MAC address information or packet ID or

[ns] Agent::recv method not reached

2006-01-23 Thread Sita S. Krishnakumar
Hello, I am trying to add a new routing protocol to ns-2. There are packets being generated and received by the nodes (i see it in the MAC trace), but it never reaches my recv() method. On stepping through, I saw that the Agent::recv() is not reached and hence it is not getting forwarded to my

[ns] Running SMAC

2006-01-17 Thread Sita S. Krishnakumar
Hello, Anyone running SMAC successfully, can you please share your experiences? Thanks, Sita

[ns] Running SMAC

2006-01-15 Thread Sita S. Krishnakumar
Hello, I was trying to understand the working of SMAC by running their sample code from the following location: www.isi.edu/ilense/software/smac/MyTest.tcl I get the following message: Cancelling CS- node 1 and ns exits. Any idea why? Regards, Sita

[ns] random-motion parameter of a wireless node

2006-01-01 Thread Sita S. Krishnakumar
Hello, What does setting random-motion to 1 do to a wireless node? I see no movement in nam when I run a simulation. Thanks, Sita