Hi!
On Thu, 21 Jan 2010, Riaz-ud-din Din wrote:
>
> I am facing segmentation fault while making noise model of more than
> 1000 nodes, but it works perfectly when the nodes are less than 1000. In
> fact I want to do simulation for more than 1000 nodes to see the effect
> of different values of density, transmission radius, total field area
> etc. for which I have to invove more than 1000 nodes even in the range
> of 5000 nodes. Please help me to get rid of segmentation fault. thanks
> in advance.
The maximum number of nodes in TOSSIM is defaults to 1000. Here is the
relevant part from tos/lib/tossim/tos.h:
74 #ifndef TOSSIM_MAX_NODES
75 #define TOSSIM_MAX_NODES 1000
76 #endif
So what you need to do is add a CFLAGS+=-DTOSSIM_MAX_NODES=5000 in your
Makefile.
--
Razvan ME
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help