Hi, I want to increase MAX_QUEUES in Diffserv. When I increase the value of the constant MAX_QUEUES in dsred.h, it compiles fine but gives me segmentation fault at run time. Why would this be? Is there anything else I have to change? Thank you very much! Regards, Vindya Amaradasa Research Student Networks Group Department of Electronic Engineering Queen Mary, University of London London E1 4NS Tel : (44) 020 7882 5356 Fax : (44) 020 7882 7997 Email: [EMAIL PROTECTED]
This error can be caused by 'division by zero'. Have a look through your code for any possible divisions by zero (consider worst cases). Hope it helps! Vindya - Original Message - From: Bilel Romdhani [EMAIL PROTECTED] To: Ns-users@ISI.EDU Sent: Wednesday, October 18, 2006 2:48 PM Subject: [ns] Floating point exception error hi all ns list, when i run tcl scripts i have this error message Floating point exception! what does it mean what should i do? thanks
Hi, When you run ./configure, your makefile gets altered. That's why your line 'disappeard'! And as a result, file.o was not created, hence the 'invalid command' error. (you only need to run ./configure if you're compiling for the very first time) So, once you add the tcp/file.o \line, just run make. If it's successfull, it'll create file.o (you can check this) Then you shouldn't get the error when running your tcl script. Hope this helps! Vindya - Original Message - From: Aleksandar Smolovic [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, August 09, 2006 9:40 AM Subject: [ns] Problem with .o files Hi all, I have file.cc and file.h and I put that in for example ~/tcp/file.cc and ~/tcp/file.h. Now I make neccesary modifications and among other things in OBJ_CC section on Makefile I have put this . tcp/file.o \ .. When I do ./configure and make and make install I do not have file.o under path where I put file.cc and file.h. In futher, I open Makefile after congifure,make and make install procedure and there is no line I put - the line I mentioned above tcp/file.o \ How can disapear a coplete line from Makefile ? Am I missing something here? When I try to start ns on prompt I have something like this: machine:/mypath/# ns ns: [code omitted because of length] : invalid command name Agent/TCP/WestwoodNR while executing Agent/TCP/WestwoodNR set current_bwe_ 0 machine:/mypath/# ns Thank you.
Hi, I want to manipulate the deque time of certain packets. I tried changing the value of 'tmp' in scheduleWFQ(), which is equivalent to 'Next(t) - t' in GPS Approach to flow...:single node case Parekh e Gallager, where Next(t) represents the real time of the next departure. However, changing tmp only seems to change the time at which WFQHandler::handle is invoked, but not the time QueueHandler::handle is invoked. And this results in WFQ::deque() still being called at the original time (i.e. not considering my altered 'tmp' value). So far I haven't been able to figure out how the QueueHandler::handle scheduled time is determined. I think this is what I need to change in order to change the time which WFQ::deque is invoked a packet is dequeued. I've consulted the NS manual mailing list archives but haven't been able to find the answer so far. I'd greatly appreciate if anyone can give a pointer as to how to change the scheduled time for WFQ::deque. BTW I'm using wfq-1.2.2. Many thanks! Vindya Vindya Amaradasa Research Student Networks Group Department of Electronic Engineering Queen Mary, University of London London E1 4NS Tel : (44) 020 7882 5356 Fax : (44) 020 7882 7997 Email: [EMAIL PROTECTED]
You will find the source code for a Pareto ON-OFF source in ~\ns-allinone-2.29\ns-2.29\tools\pareto.cc Regards, Vindya - Original Message - From: Pranay Prateek [EMAIL PROTECTED] To: ns-users@ISI.EDU Sent: Wednesday, May 03, 2006 2:20 PM Subject: [ns] ns source code can anybody help me to find how do i get the ns2.29 source code ?i have installed ns2.29 on my debian box ,but i dont know where its source code lies? actually i need to see the C++ code as to how ns2 implements pareto distribution in queueing ? Pranay
Hi, The ns-allinone-2.27 package should be placed within your cygwin home directory. Pls follow the instructions give here.. http://www.isi.edu/nsnam/ns/ns-cygwin-old.html Regards, Vindya - Original Message - From: Gilles Bertrand [EMAIL PROTECTED] To: Tanaka Hiroaki [EMAIL PROTECTED] Cc: ns-users@ISI.EDU Sent: Tuesday, March 21, 2006 9:30 PM Subject: Re: [ns] How could I install ns-2 on Windows xp SP2 platform? Hello Tanaka Cygwin recreates a linux like directory tree (/, /bin, /etc, ...) located in the directory where cygwin is installed (typically c:/cygwin). From cygwin you can only access the files located in this directory. For example to go to the directory c:/cygwin/ns-allinone-2.27 you should use the command: cd /ns-allinone-2.27 Regards Gilles Bertrand Telecom INT- University of Stuttgart Tanaka Hiroaki a écrit : Dear ns-2 user, I am Japanese and major in communication engineering, queueing theory, and stochastic geometry. I would like to perform P2P networks. My name is Hiroaki Tanaka. I would like to install Network Simulator 2(ns-2) so I installed the program that Cygwin bash shell in a personal computer for research. However, I could not install the package ns-allinone-2.27. Here are the copy of my shell's script. I would like to change directory, but I couldn't. (quote) [EMAIL PROTECTED] ~ $ cd c:\Program Files\ns-allinone-2.27 bash: cd: c:Program: No such file or directory [EMAIL PROTECTED] ~ $ cd c:\programfiles bash: cd: c:programfiles: No such file or directory [EMAIL PROTECTED] ~ $ cd c:programfiles bash: cd: c:programfiles: No such file or directory (quote end) I have done another try. Visual Studio was run and read install file, which seems to be written by C++. I included install file and ran. However, an error comment sentences were unexpectedly interrupted. was exploded. Would you mind if you show and teach me how to install ns-2? Regards, _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Osaka University, Graduate School of Information Science and Technology Department of Information and Physical Sciences Domain of Operations Research Ishii Lab. 2-1, Yamadaoka, Suita, 565-0871, JAPAN Hiroaki Tanaka TEL: +81-6-6879-5111 Int.3641 e-mail:[EMAIL PROTECTED] URL:http://www.hcn.zaq.ne.jp/cadzj102/ -- Mit freundlichen Grüßen, with kind regards, cordialement, -- Gilles BERTRAND Institut National des Télécommunications (GET)- Universität Stuttgart Tel: +33 (0) 3 29 63 22 08 --