LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-16-2013, 08:41 AM   #1
er.poojasahu@gmail.com
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
INITIALIZE THE LIST xListHead

Traffic: ftp
Acknowledgement for data: on

Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!

NS EXITING...



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, 05:48 PM   #2
nd7rmn8
Member
 
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:
Code:
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.
 
  


Reply



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 09:45 PM
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" nothing07 Programming 2 06-22-2012 02:57 PM
[SOLVED] warning warning new "stable" update qrange Debian 18 02-25-2011 08:38 PM
Warning on running "make check", 2nd time satimis Linux From Scratch 8 07-11-2005 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 PM.

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