[ns] Changing TCL file and script while running
Dear all, I run (Ubuntu 2.6.27-7-server) a script with several simulation scenarios. Here are the first lines of my script which uses another script and the several simulations are very similar: ** #!/bin/bash sim_name=35p3tcps1a ns IGoXFAN.tcl 1.1429 3 1 0.25 ./exe.sh 3 10.0 rm cpt_elastic_all.tr rm temps*.txt cp cpt_elastic_backup.tr cpt_elastic_all.tr rm cpt_elastic_backup.tr mkdir $sim_name cp *.txt $sim_name cp *.tr $sim_name sim_name=70p3tcps1a ns IGoXFAN.tcl 0.5714 3 1 0.25 ./exe.sh 3 10.0 rm cpt_elastic_all.tr rm temps*.txt cp cpt_elastic_backup.tr cpt_elastic_all.tr rm cpt_elastic_backup.tr mkdir $sim_name cp *.txt $sim_name cp *.tr $sim_name etc ** I just discover my TCL file and my script has a non trascendent error for the previous results but for future simulations. I do not have time to re-run my simulations from the beginning but I want to correct the future ones. Two questions. a) Can I change the value of some parameters (not the event generation) in my TCL so the new values are taken into account? b) Can I change the script (showed above) and the new simulations will take into account such changes? I would appreciate any comment on that, please accept my best regards, César
[ns] Installing ns-2.28, 2.29 under Gentoo or Ubuntu
Dear all, I need to install ns-2.28 or ns.2.29 under Gentoo 2.6.30 r8 or under Ubuntu 2.6.27-7-server because I want to install WFQ for DiffServ: http://sergioandreozzi.com/research/network/diffserv4ns/ http://www.augustoneto.com/technical.html http://www.mail-archive.com/ns-users@isi.edu/msg01073.html I already have ns-2.30, 2.31 and 2.34 on both machines. When I try to install either ns-2.28 and ns-2.29 I got several errors, some of them related to: ./common/packet.h:173: warning: deprecated conversion from string constant to âchar*â ./sctp/sctp.h:253: warning: âtypedefâ was ignored in this declaration But finally they don't compile: make: *** [trace/trace.o] Error 1 Ns make failed! I tried to look at the following webpage http://www.isi.edu/nsnam/ns/ns-problems.html for problems But the patch does not work. http://www/isi.edu/nsnam/dist/solaris.patch Any points to solve this problem will be very appreciated. All the best, César Cárdenas
[ns] Help on STDERR
Dear all, I made a script to run several simulations (same file with different input parameters). The first simulation run ok but when the next start I have the following error within the main *.tcl file: ns: puts stderr "init-instvar: $errorInfo": error writing "stderr": I/O error while executing "puts stderr "init-instvar: $errorInfo"" I did not found any reference on how to correct this error. I really appreciate if some of you could point me to a soultion. Thanks for reading me, all the best!!! César
[ns] Help in classifier errors
Dear all, I am testing a new classifier...It was installed ok and when running the test program indicates me the following: *** ns: new_Mcac 2 22 _o26 _o29 20 21 1 0 TCP/Reno 14: Classifier::installNext attempt to install non-object into classifier (_o14 cmd line 1) invoked from within "$self cmd installNext $val" (procedure "_o14" line 2) (Classifier installNext line 2) invoked from within "$hashcl installNext $path1" (procedure "MFAN-add-route" line 6) invoked from within "MFAN-add-route $fid $rsource $firstjump $rdestine $n0 $n2" (procedure "MFAN-add-bi-route" line 5) invoked from within "MFAN-add-bi-route $fid_flow $src $n1 $dst" (procedure "new_Mcac" line 16) invoked from within "new_Mcac 2 22 _o26 _o29 20 21 1 0 TCP/Reno 14" *** I just want to know if my problem is: a) In the classifier (rtmodule.cc, rtmodule.h, or ns-rtmodule.tcl)? b) In the test script *.tcl? I will appreciate a lot any points to solve this problem, please accept my best regards, César
[ns] re-install or make when new classifier
Dear all, I create a new classifier but I does not working...I must just .\configure make depend; make or need to re-install ns with .\install? Thnks for any suggestion, César
Re: [ns] Ns-users Digest, Vol 73, Issue 27
2. how to run simulation 100 times in ns2 (S.M.Mehdi Feiz) > -- > > Message: 2 > Date: Wed, 27 Jan 2010 00:01:50 -0800 (PST) > From: "S.M.Mehdi Feiz" > Subject: [ns] how to run simulation 100 times in ns2 > To: ns-users@ISI.EDU > Message-ID: <423764.28917...@web62107.mail.re1.yahoo.com> > Content-Type: text/plain; charset=3Dus-ascii > > hi all > > I want to run my simulation 100 times in ns2 and use the average > performance parameters. However, I don't know how to do??? > please, help me. > > Mehdi Feiz > > Hi, Take into account: http://publik.tuwien.ac.at/files/pub-inf_4620.pdf all the best!!! César
[ns] Wiki webpage: Merry Christmas
Thank you very much for your effort Tom (and the gift to all ns-2 community), Happy holidays and all the best!!! César On Fri, Dec 25, 2009 at 2:00 AM, wrote: > Send Ns-users mailing list submissions to >ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit >http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to >ns-users-requ...@isi.edu > > You can reach the person managing the list at >ns-users-ow...@isi.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > 1. Re: Wiki webpage (Tom Henderson) > > > -- > > Message: 1 > Date: Thu, 24 Dec 2009 14:02:26 -0800 > From: Tom Henderson > Subject: Re: [ns] Wiki webpage > To: Cesar Cardenas > Cc: ns-users@ISI.EDU > Message-ID: <4b33e4f2.2060...@tomh.org> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Tom Henderson wrote: > > On Thu, 17 Dec 2009 23:42:58 +0100, Cesar Cardenas > > wrote: > >> Hi, > >> Is the ns-2 wiki down? > >> I tried to go inside but it does not work the link... > >> I am looking information for available contribution modules in > general... > >> Regards, > >> C?sar > > > > Yes it is down; I'll send a notice out when it is back up, but in the > > meantime, I suggest to get the information you need from the Google cache > > by Googling for "ns-2 Contributed Code" > > > > FYI, the ns-2 wiki is available again. > > > > -- > > ___ > Ns-users mailing list > Ns-users@isi.edu > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 72, Issue 24 > >
Re: [ns] Wiki webpage
Hi, Is the ns-2 wiki down? I tried to go inside but it does not work the link... I am looking information for available contribution modules in general... Regards, César
Re: [ns] NS-2 on Virtual Ubuntu over Windows Vista using VMWare Player
Dear all, I am trying to install NS-2.34 on Virtual Ubuntu 9.04 over Windows Vista using VMWare Player 2.5.2. Looking in the ns-users list I found the following question similar to my results but for above settings: http://mailman.isi.edu/pipermail/ns-users/2006-November/057983.html I tried the allinone version of ns-2.34 I would appreciate if you could point me to a possible solution so I could install NS-2.34 in the environment I described. Waiting for your comments, please accept my best regards, Cesar