Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-16-2013, 09:41 AM   #1
LQ Newbie
Registered: Nov 2013
Posts: 5

Rep: Reputation: Disabled
How to resolve this warning "Warning: Tracefile events are not sorted by time"

when I run my tcl script, I got the following warning, how can I resolve this?
thanks in advance.

root@ubuntu:/home/pooja/Desktop/transmissionrange# ns wpan_demo1.tcl
num_nodes is set 7

Traffic: ftp
Acknowledgement for data: on

Starting Simulation... - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0


root@ubuntu:/home/pooja/Desktop/transmissionrange# Unknown Flag -1 in: + -t 48.464497912 -s 0 -d 1 -p exp -e 70 -c 2 -a 0 -i 727 -kd -1 -p ack -e 40 -c 2 -a 35 -i 592 -k AGT

Warning: Tracefile events are not sorted by time.
- -t 2.757031681 -s 1 -d -1 -p ack -e 40 -c 2 -a 35 -i 592 -k AGT
The above event should occur at or after -t 48.464498.
Old 12-17-2013, 06:48 PM   #2
Registered: Jan 2013
Distribution: Arch
Posts: 50

Rep: Reputation: 13
I have never used this program, but I don't believe the error is the "Warning: Tracefile events are not sorted by time." I think that is just a warning, letting you know that if you look through the tracefile, things may not be sorted by time. I believe the actual error is:
root@ubuntu:/home/pooja/Desktop/transmissionrange#Unknown Flag -1 in: + -t 48.464497912 -s 0 -d 1 -p exp -e 70 -c 2 -a 0 -i 727 -kd -1 -p ack -e 40 -c 2 -a 35 -i 592 -k AGT
My uneducated guess, you need to edit your wpan_demo1.tcl file. But as I'm not entirely sure what this is supposed to do in the first place, I could very well be wrong. Make backup copies before you edit though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
running nam file in ns2 it gives warning as trace file events are not sorted by time s20 Linux - Software 0 07-19-2013 10:45 PM
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" nothing07 Programming 2 06-22-2012 03:57 PM
[SOLVED] warning warning new "stable" update qrange Debian 18 02-25-2011 09:38 PM
Warning on running "make check", 2nd time satimis Linux From Scratch 8 07-11-2005 04:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration