Error With GPSR
HI ALL,
If anyone solve this error. Please Let me know how ? Thanks invalid command name "Agent/GPSR" while executing "Agent/GPSR set planar_type_ 1 " (file "wireless-gpsr.tcl" line 112) |
I m using ns2.33 on fedora 14.
I m trying the same way u told bt i m getting the error: patch: **** rejecting target file name with ".." component: ../ns-2.33-hls_working/ns-2.33/common/agent.h Quote:
|
I m also getting the same error.
Plz help me if u got any solution. I really want to implement it as soon as possible. Anyone plz help regarding this error. Quote:
|
Hi nimacasino
As u said u have successfully installed gpsr on ns2.34, can u plz help me with the running code of gpsr for ns2.33 or ns2.34 or ns2.35. I have installed all of these on diff systems. Plz mail me the code as soon as possible. It'll be a great help. I hope u can understand my problem. Plz mail me at: goyal.monika23@gmail.com Quote:
|
GPSR error
HI monikagoyal,
Did you solve the error ? If you have done so please let me know how. It will be a great help Thanks, |
I m still struggling to find the solution.
Its a request to everybody having some knowledge about it plz help us. We are nt able to move further bcoz of this error. Plz reply. |
Error after running the patch
I did everything as u said for patch.
I did make clean and make both. There z no error. But when i run, ns hls.tcl it gives following error: num_nodes is set 40 Configuring Nodes (40) INITIALIZE THE LIST xListHead (_o18 cmd line 1) invoked from within "_o18 cmd port-dmux _o31" 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 "_o18" line 2) (SplitObject unknown line 2) invoked from within "$agent port-dmux $dmux_" (procedure "_o15" line 11) (Node/MobileNode add-target-rtagent line 11) invoked from within "$self add-target-rtagent $agent $port" (procedure "_o15" line 36) (Node/MobileNode add-target line 36) invoked from within "$self add-target $agent $port" (procedure "_o15" line 15) (Node attach line 15) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 95) (Simulator create-wireless-node line 95) 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 < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0 ;# disable random motion set ragent [$node_($..." (file "hls.tcl" line 132) Quote:
|
GPSR - Error
These variables with bind function of the C++ files.
But cant figure out any error with that. It is not because of missing any config file. I have no idea. Please anyone try to solve this error. On other websites as well error is there. But no solusion. GPSR code is compiling. This is when executing the tcl file (wireless-gpsr.tcl) It does not identifying Agent\GPRS whis is returned by the TCLClass in C++. Can anyone guess what it is ? Is it because of OS ? or NS2 installation or anything else ? Please any ideas are highly appreciated. |
m also getting the same error with this code.
nt able to fix it. |
Global variables in NS2
Hi All,
Is anyone know how to define a global varible that every node could access ? For example for the whole network - to calculate the energy. Not for each node. I know how to do that. But I want to get the total cost ot tatal energy consumption for the network. Thanks All . Please help me |
Dear muaz.sh
I follow the step that you write for the gpsr patch for ns2.34, but I have a problem with the file cmu-trace.cc. have you got the right cmu-trace.cc for ns2.34 because without it the protocol can not work well. |
have you got the right cmu-trace to integrate GPSR in ns2.34
because without it the protocol can not work well |
Hi,
I have patched ns2.35 fro GPSR using Keliu code. Every thing works fine, Other nam is working right with other tcls. secondly, why we need for {set i 0} {$i < $opt(nn) } {incr i} { gpsr-create-mobile-node $i $node_($i) namattach $namfile } can simply create node for {set i 0} {$i < $opt(nn) } {incr i} { $ns node_($i) [$ns node $i] $node_($i) namattach $namfile create-gpsr-routing-agent $node $id } Regards Quote:
|
gpsr error in ns2.23
Hi All,
I want to work on GPSR on ns-2.33. I have installed ns2-hls-patch. when i am running tcl file with protocol gpsr it gives me following lines: num_nodes is set 2 INITIALIZE THE LIST xListHead Starting Simulation... radiorange 250, x 500 y 500 length : 1.000000 , cellperline 3 , heigth 1.000000 maxlevel 1 radiorange 250, x 500 y 500 length : 1.000000 , cellperline 3 , heigth 1.000000 maxlevel 1 SORTING LISTS ...DONE! I have defined cbr traffic but i am not getting any received packets for this case and nam file is not showing any transfer of packet. Nodes are only moving. so what can be error for this case ? please help me regarding this case.Please mail me on arjunjoshi89@gmail.com |
Hello everybody,
i have a problem to use gpsr as a routing protocol but wireless-gpsr.tcl and hls.tcl are working very well !! i really want to know what is the problem with my tcl file ... if anyone can help me it will be great because it is really urgent and i don't know what to do please help me pleaaaaaase when i run my .nam file i find that there is no any transmission of packet between nodes ... help me please |
All times are GMT -5. The time now is 05:57 PM. |