error while running MAODV in ns-2.34
hello, right now i encounter error while trying to run a simulation for MAODV in ns-2.34.
========================================================================= it says : rangga@rangga-laptop:~/maodv/untitled folder/maodv-scripts$ ns ns.tcl 01 10 1 num_nodes is set 50 INITIALIZE THE LIST xListHead (_o17 cmd line 1) invoked from within "_o17 cmd port-dmux _o26" 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 "_o17" line 2) (SplitObject unknown line 2) invoked from within "$agent port-dmux $dmux_" (procedure "_o14" line 11) (Node/MobileNode add-target-rtagent line 11) invoked from within "$self add-target-rtagent $agent $port" (procedure "_o14" line 28) (Node/MobileNode add-target line 28) invoked from within "$self add-target $agent $port" (procedure "_o14" line 15) (Node attach line 15) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 79) (Simulator create-wireless-node line 79) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 23) (Simulator node line 23) invoked from within "$ns_ node" ("for" body line 2) invoked from within "for {set i 0} {$i < $nodes} {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0; }" (file "ns.tcl" line 43) ========================================================================= what is the problem? could anyone help me to fix it? |
Quote:
Quote:
And please attach 'ns.tcl' as " ns.tcl.txt ". ..... And what are the errors ? ..... |
@ knudfl, sorry, it takes to long to reply,
Quote:
i downloaded the maodv module from : http://kunz-pc.sce.carleton.ca/Thesis/maodv-code.zip at there, they provided a step by step implementation but only for ns-2.26. Quote:
and this is the error after i run maodv in ns-2.34 Quote:
|
Thank you for the link.
> > http://kunz-pc.sce.carleton.ca/Thesis/maodv-code.zip http://kunz-pc.sce.carleton.ca/Thesis/maodv-ns-2.26.pdf > maodv-ns-2.26.pdf http://kunz-pc.sce.carleton.ca/Thesis/maodv-scripts.zip > maodv-scripts.zip > > ns.tcl , etc. http://kunz-pc.sce.carleton.ca/Thesis/ May be, the code will work in ns-2.26 only ? I will have a look at it, when I find time to do so. ..... |
it's just weird for maodv if it can run in ns-2.26 only and it can't run on newer version of ns-2. i've been searching using google and i don't find any. hm...
by the way, thank you for your reply, i really appreciate it... |
reply
To be precise, you cannot implement MAODV on ns2.34
The maodv implemenatation is done on ns2.26 (files you downloaded from Thomas Kunz). ns 2.26 can install only on RedHat9 Operating System. I tried many times doing MAODV on fedora with ns 2.31 and 2.33. The only way is get a RedHat9 OS, install ns 2.26, then Run the MAODV simulation. All the Best sivaprasad.mtech@gmail.com |
Quote:
ns-2.26 will run with no problems on the redhat 9 based CentOS 3.9 . CentOS 3.9 has end of life : October-31-2010. http://www.linuxquestions.org/questi...-fc9-774202/#9 > > post # 9 , etc. ..... |
Quote:
I really want to install ns-2.26 on Redhat Linux 9.0; however, it occurs some problems (with picture enclosed) http://i371.photobucket.com/albums/o...-10_221239.jpg Anyone please tell me the way to install ns-2.26 on Redhat 9.0. Thanks a lot ! Regards, thinhtelecom |
ns-allinone-2.26 .. ns-2.26-aodv-uu-mip
@ thinhtelecom, post # 8.
Looking for trouble : Use Redhat 9, released 2002, obsoleted 2004. If you want to use it : make a complete install : All development tools must be included. ( glibc-devel, gcc, gcc-c++, etc. etc. ) 'ns-allinone-2.26' : Any Linux with gcc / g++ 3.3.3 is OK. Like Suse 11.2, Fedora 12. Fedora requirements : # yum install \ libX11-devel libXext-devel libXau-devel libXmu-devel \ xorg-x11-proto-devel make automake autoconf libtool .. And the Suse gcc-c++ 3.3.3 http://www.linuxquestions.org/questi...2-a-797763/#12 > post # 12. Edit some 'Makefile.in' : otcl-1.0a8/, line 7 : CC = gcc-3.3 tclcl-1.0b13/, line 40 : CC = gcc-3.3 tclcl-1.17/, line 41 : CPP = g++-3.3 ns-2.26/ , line 36 : CC = gcc-3.3 ns-2.26/ , line 37 : CPP = g++-3.3 nam-1.11/, line 44 : CC = gcc-3.3 (Any nam can be used.) nam-1.11/, line 45 : CPP = g++-3.3 tcl, tk : I don't remember. .. |
1 Attachment(s)
@ knudfl
I will try to install ns-2.26 on Redhat 9.0, again.:hattip: Now I simulate MAODV on Fedora 8 with ns-2.26. However, I have a problem when I run ns.tcl script, it informs an error that : ns: _o194 aodv-join-group -2147483648: (_o194 cmd line 1) invoked from within "_o194 cmd aodv-join-group -2147483648" 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 "_o194" line 2) (SplitObject unknown line 2) invoked from within "_o194 aodv-join-group -2147483648" I have searched my problem on the internet, but I cannot find out solution for this. If possible, please show me the way to fix this problem. Thanks a lot ! Regards, Vo |
Post # 10 , @thinhtelecom
This I remember : The aodv patching and the scripts work OK on CentOS 3.9. CentOS 3.9 is the long term supported free version of Redhat 9, and is supported until Oct. 31, 2010. .. |
Quote:
Could you show me the way to access the internet ? Thanks. |
Quote:
Please provide more information about tcl, tk because I cannot install successfully with out them Thanks ! |
The instructions in post # 9 are for e.g. Fedora 12, not Redhat 9.
Just look into ns-allinone-2.26/ns-2.26/Makefile.in etc. etc. If any problems with tcl, tk : ns-allinone-2.26/tcl8.3.2/unix/Makefile.in , line 229 : CC = gcc-3.3 ns-allinone-2.26/tk8.3.2/unix/Makefile.in , line 236 : CC = gcc-3.3 .. Redhat 9 / CentOS 3.x : No edits. .. |
Quote:
Thanks. |
All times are GMT -5. The time now is 02:59 PM. |