[ns] catch $self cmd $args ret
hi all I added a new agent to NS but when i ran tcl script i received the following error. invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error error when calling class $cls: $args $... (procedure _o120 line 2) (SplitObject unknown line 2) / i don't know how fix it. can anyone tell me what's the problem? best regards elahe - Check out the hottest 2008 models today at Yahoo! Autos.
[ns] gdb debugger
Hi all I installed gdb debugger and it ran commands like list, break. but i can't use it properly. i want to cross debug TCL and c++ and step through each line of C++ and TCL code. but i don't know how do this. i searched in ns mailing list but i didn't find a suitable solution. can anybody help me? thanks best regards elahe ** - Don't let your dream ride pass you by.Make it a reality with Yahoo! Autos.
[ns] gdb debuger
hi all I am trying to debug a program, but when I enter any command I get No symbol table is loaded. Use the file command.' Could someone help ? regards, elahe - Check out the hottest 2008 models today at Yahoo! Autos.
[ns] segmentation fault
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I used the following line to pass the arguments to the command{}. $ns at $now $source-ad($j) ad-request $j $peak $error $standard-dev but when I ran tcl script, I received this error: segmentation fault. i know segmentation fault usually stems from illegal access to the memory but i don't know how i should solve it. can anybody help me about this error?any kind of help. Thanks in advance Regards Elahe - Need a vacation? Get great deals to amazing places on Yahoo! Travel.
Re: [ns] Marck Grei's Tutorial
hi Mukul, There is also another useful tutorial for beginners (it helped me alot). it is : ns simulator for beginners (2003). regards, elahe - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
Re: [ns] installing ns2.29
hi all i finally installed ns2.29 on FC6. i just used from ns2.29.3 instead of ns2.29 :-) and it installed without any error. in ns2.29 i received this error: checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line 7624: ' OSF*)' regards, elahe - Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
[ns] ns2.29 installing problem
Hello everyone I installed ns 2.31 without any problem on centos5. but I couldn't install ns allinone 2.29 on it. i changed the version of linux to FC6 but can't install it again and i receive the same error. i received this error: *checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line 7624: ' OSF*)' tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your problem. and I received several solutions from ns-users: 1- The problem lies in how bash 3.1.x and 4.x.x parse the configure file. This will simply pass through bash 3.0.x and lower versions. So in order to make things work changed the following lines tcl: file tcl8.x.x/unix/tcl.m4. tk: file tk8.x.x/unix/tcl.m4. otcl: file otcl-1.x/configure.in. to: system=MP-RAS-`awk ' { print $3 } '/etc/.relid` 2- modify file /home/nsuser/ns-allinone-2.29/nam-1.11/agent.h, on line 73,change the character NULL to 0. 3- I successfully installed ns-allinone-2.29.2 on FC5 but after slightly modifying the whole package. First, I updated the Tcl and Tk sources to the 8.4.13 (you can grab a copy from sf.net). Then you'll have to modify the configure files (Tcl, Tk, OTcl and TclCL) in this way: cp -v configure{,.orig} sed s/relid'/relid/ configure.orig configure i tried above solutions but again i received the same error and now i don't now how to solve this. can anybody help me? regards, - Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
[ns] video conference PLR
Dear ns-users, here I want to thank everyone that help me till now in my project.my thesis is progressing.( it is about call admission control in diffserv ) now again i have some questions and i hope that you answer to me. 1- what kind of traffic is used for video conference in ns. for example for VOIP we use from Exponential traffic. i guess that i should use from trace files of real traffic. what's yr idea? 2-for VOIP traffic i calculated PLR but in xgraph, i saw strange behavior. PLR reaches to 48% and suddenly decreases to -48% and gradually again increases to 18% and this behavior repeats with different PLR. i can't understand why. and also PLR is very high. is it normal? please kindly answer to me. Thank you in advance. Best regards, Elahe - Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
[ns] segmentation fault
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I use the following line to pass the arguments to the command{}. $ns at $now $source-ad($j) ad-request $j $peak $error $standard-dev but when I run my tcl script. I receive this error: segmentation fault can anybody help me about this error?any kind of help. Thanks in advance Regards Elahe - Pinpoint customers who are looking for what you sell.
[ns] no-slot{} default handler
Hello all, I have encountered again a problem in NS2 which I have no clue about. i receive this error: --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o188: no target for slot -1 _o188 type: Classifier/Hash/Dest content dump: classifier _o188 0 offset 0 shift 2147483647 mask 1 slots slot 8: _o2455 (classifire/Port) -1 default -- Finished standard no-slot{} default handler -- nobody have any idea? looking forward to hearing from you best regards elahe. - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
[ns] floating point exception error
Hi everyone, when I run my script, i received this error: floating point exception I understood that this error is related to calculating standard of deviation: set standard_deviation [expr sqrt($variance)] I traced variance and found that sometimes it's negative, but I can't understand why.logically it should be negative never. Can anybody help me with this problem? Thanks in advance. best regards, elahe. - Shape Yahoo! in your own image. Join our Network Research Panel today!
[ns] ns 2.2x installing problem
Hello everyone I installed ns 2.31 without any problem on centos5. but now I have a problem on installing ns allinone 2.28. At first i received this error: *checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line 7624: ' OSF*)' tcl8.3.2 configuration failed! Exiting ... Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your problem. and I found a solution in Internet: The problem lies in how bash 3.1.x and 4.x.x parse the configure file. This will simply pass through bash 3.0.x and lower versions. So in order to make things work changed the following lines tcl: file tcl8.x.x/unix/tcl.m4. tk: file tk8.x.x/unix/tcl.m4. otcl: file otcl-1.x/configure.in. to: system=MP-RAS-`awk ' { print $3 } '/etc/.relid` Now after changing the configuration files you will have to delete older configure file and any cache if it exists in the respective folders. After that do not forget to run autoconf from command line in the respective folders to generate a fresh configure file. i change the three above files then i run autoconf (without deleting any configuration file!) [EMAIL PROTECTED] unix]# autoconf and i saw this error: configure.in:199: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS' If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. and now i don't now how to solve this. can anybody help me? regards, [EMAIL PROTECTED] - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
[ns] installing ns 2.28
Hello I have a problem on installing ns allinone 2.28. after changing the configuration files : tcl: file tcl8.x.x/unix/tcl.m4. tk: file tk8.x.x/unix/tcl.m4. otcl: file otcl-1.x/configure.in. system=MP-RAS-`awk ' { print $3 } '/etc/.relid` , when I run autoconf I recieve the following error: configure.in:220 error: do not use LIBOBJS directly, use AC_LIBOBJS Someone know what should I do? Regards, Elahe - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.