[ns] Any limitation on no. of nodes or sources when running ns?

2006-06-29 Thread Takuya Kimura
Hi all, I have implemented a new MANET protocol on ns-2. It works well when the number of source nodes is low. But when I increase the number of source nodes, simulation stopped with "segmentation fault". Is large number of sources of nodes a problem for ns-2? Any idea on this problem? Regard

[ns] Floating point exception

2006-06-27 Thread Takuya Kimura
Hi, I'm writing a new routing protocol for mobile ad hoc networks. This new protocol works properly when I tested on small networks (< 10 nodes). But the simulations stoped when I run on large networks (120 nodes) with the error "floating point exception". What can be a cause of this error? No

[ns] Problem when adding new variable in common header

2006-06-06 Thread Takuya Kimura
[input] [input] [input] [input] Hi, I want to add a new variable in common header as information for any routing protocols. I edited common/packet.h as follows. struct hdr_cmn { ... static nsaddr_t new_var_; ... }; A node sets value for new_var_ and broadcasts the packet. Any nodes