I checked the version and it is 2.1b6. I downloaded the special "cmu snapshot" which was last updated on 16th March 1999. I am not sure if I have the wrong version.Raja wrote:
Hello,
I downloaded the code "simple-wireless.tcl" from Mark's ns tutorial web
page (creating a simple wireless scenario section). But I get an error
when I run it. It says
"create-god" method is not defined
So I added the following linessource /home/raja/ns2/ns-2.1b6-current/tcl/lib/ns-bsnode.tcl
source /home/raja/ns2/ns-2.1b6-current/tcl/mobility/com.tcljust before initializing global variables. The error I now get is
_o4: unable to dispatch method node-config
while executing
"$ns_ node-config -adhocRouting $val(rp) \
-llType $val(ll) \
-macType $val(mac) \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-ant..."
(file "simple-wireless.tcl" line 106)Do you have any idea as to what is wrong here. I would appreciate any
suggestions that anyone might have. Thanks.
RajapsHow do I know which version of ns I am running and if I need to download the more recent version?==================================================================== Epsilon(Raja) Department of Computer Science Phone: (306) 966-4907 57 Campus Drive Fax: (306) 966-4884 University of Saskatchewan E-mail: [email protected] Saskatoon, Saskatchewan S7N 5A9 [email protected] CANADA URL: http://www.cs.usask.ca/grads/xxe101/ ===================================================================== \\\\|//// \\ - - // #( @ @ )# \ o / \ * / ------------------------------oOOo--oOOo------------------------- For your dreams to be true, you must first be true to your dreams ----------------------------ooooO---Ooooo------------------------ ( ) ( ) \ | | / (_| |_)-- ==================================================================== Epsilon(Raja) Department of Computer Science Phone: (306) 966-4907 57 Campus Drive Fax: (306) 966-4884 University of Saskatchewan E-mail: [email protected] Saskatoon, Saskatchewan S7N 5A9 [email protected] CANADA URL: http://www.cs.usask.ca/grads/xxe101/ ===================================================================== \\\\|//// \\ - - // #( @ @ )# \ o / \ * / ------------------------------oOOo--oOOo------------------------- For your dreams to be true, you must first be true to your dreams ----------------------------ooooO---Ooooo------------------------ ( ) ( ) \ | | / (_| |_)
-- ==================================================================== Epsilon(Raja) Department of Computer Science Phone: (306) 966-4907 57 Campus Drive Fax: (306) 966-4884 University of Saskatchewan E-mail: [email protected] Saskatoon, Saskatchewan S7N 5A9 [email protected] CANADA URL: http://www.cs.usask.ca/grads/xxe101/ ===================================================================== \\\\|//// \\ - - // #( @ @ )# \ o / \ * / ------------------------------oOOo--oOOo------------------------- For your dreams to be true, you must first be true to your dreams ----------------------------ooooO---Ooooo------------------------ ( ) ( ) \ | | / (_| |_)