[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] ns halting with no error information



$ns at $totalTime "finish"

would be better, in my humble opinion...


>What is the stop time you set in your simulation? Probably, you can post
>your script, so that people can have a clear idea of what happened.
>
>-chen xuan
>----------
>
>I'm not sure it will help since the script is fairly long, but I'll give it a 
>try. The script is attached below. The stop time I set was 150 seconds. 
>
>In the script, GTACK users (tacks,tackh,tackd) are a custom made protocol. I 
>don't think the problem's in my code. I've had a similar problem before and 
>tracked it down to regular ns code.
>
>Thanks,
>
>Julian
>
>----------
>#Creation of a large scale simulation, with 100 users on a wireless downlink
>#with the wireline link connecting the router to the base station.
>
>set ns [new Simulator]
>
>set tracenam 0
>set traceW 0
>set delta 0.35
>set mp 392
>set df 1
>set pf0 0.01
>set pf1 0.01
>set pr0 0.0
>set pr1 0.0
>set seed 124817
>#set seed 123787
>set totalTime 150.0
>set HopDelayMax 0.08
>
>ns-random $seed
>
...
>
>$ns at 0.0 "inform"
>
>$ns at totalTime "finish"
>
>$ns run

-Tarik