I followed your instructions but I am facing the same problem i.e. simulation
works fine for less than 1000 nodes but gives segmentation fault for greater
than 1000 nodes. Please help me. Thanks,
riaz
> Date: Wed, 20 Jan 2010 23:37:27 -0500
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Tinyos-help] Segmentation Fault
>
> 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
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help