Why do i get these error when running leach protocol on ns-2.35? what should i do to fix it?
Hi,
I am trying to run leach protocol on ns2.35 using ubuntu 14.04 as platform.
I get an error when i try to execute the code leach_test in leach.err:
couldn't read file "/home/spc/ns-allinone-2.35/ns-2.35/mit/uAMPS/": illegal operation on a directory
while executing
"source.orig /home/spc/ns-allinone-2.35/ns-2.35/mit/uAMPS/"
("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 /home/spc/ns-allinone-2.35/ns-2.35/mit/uAMPS/"
(file "/home/spc/ns-allinone-2.35/ns-2.35/tcl/mobility/leach.tcl" line 7)
invoked from within
"source.orig /home/spc/ns-allinone-2.35/ns-2.35/tcl/mobility/leach.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 /home/spc/ns-allinone-2.35/ns-2.35/tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)
Why does this happen? and how can i fix this?
Thank you so much in advance
Best Regards,
Dinda
Last edited by dindatasya; 02-14-2016 at 03:28 AM.
|