Hi ns users, I am facing problems when i try to exceute wireless.tcl,wireless1.tcl and wireless2.tcl can anyone tell what the problem may be and provide a solution.
I got the error message when i tried to excecute wireless.tcl found in ns-2.30/tcl/ex/wireless.tcl directory can anyone help debug or suggest a solution for the below problem [EMAIL PROTECTED] hai]$ ns wireless.tcl* *couldn't read file "../lib/ns-bsnode.tcl": no such file or directory* *while executing* *"source.orig ../lib/ns-bsnode.tcl"* *("uplevel" body line 1)* *invoked from within* *"uplevel source.orig [list $fileName]"* *invoked from within* *"if [$instance_ is_http_url $fileName] {* *set buffer [$instance_ read_url $fileName]* *uplevel eval $buffer* *} else {* *uplevel source.orig [list $fileName]* *..."* *(procedure "source" line 8)* *invoked from within* *"source ../lib/ns-bsnode.tcl"* *(file "wireless.tcl" line 191)* Plz refer the attachment so that u can go through the error messages and suggest some solution as to how to debug the problem . Your Comments and suggestions are most welome Thanks and Reg: Vijay
I got the error message when i tried to excecute wireless.tcl found in ns-2.30/tcl/ex/wireless.tcl directory can anyone help debug or suggest a solution for the below problem [EMAIL PROTECTED] hai]$ ns wireless.tcl couldn't read file "../lib/ns-bsnode.tcl": no such file or directory while executing "source.orig ../lib/ns-bsnode.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source ../lib/ns-bsnode.tcl" (file "wireless.tcl" line 191)
I got the error message when i tried to excecute wireless1.tcl found in wireless1.tcl from Marc Greis' tutorial can anyone help debug or suggest a solution for the below problem [EMAIL PROTECTED] ns-2.30]$ ns wireless1.tcl num_nodes is set 3 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Loading connection pattern... couldn't read file "../mobility/scene/cbr-3-test": no such file or directory while executing "source.orig ../mobility/scene/cbr-3-test" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source $val(cp)" (file "wireless1.tcl" line 121)
I got the error message when i tried to excecute wireless2.tcl found in wireless2.tcl from Marc Greis' tutorial can anyone help debug or suggest a solution for the below problem [EMAIL PROTECTED] ns-2.30]$ ns wireless2.tcl num_nodes is set 4 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead *** NOTE: no connection pattern specified. Loading scenario file... couldn't read file "../mobility/scene/scen-3-test": no such file or directory while executing "source.orig ../mobility/scene/scen-3-test" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source $opt(sc)" invoked from within "if { $opt(sc) == "" } { puts "*** NOTE: no scenario file specified." set opt(sc) "none" } else { puts "Loading scenario file..." source $op..." (file "wireless2.tcl" line 183)