# 30
? Is this a new install of an ns-allinone-2.26 ? ? → → The DRAND install cannot be used for ZMAC. Are you quite sure that you are using the "zmac Makefile.in" ? 'grep -n logging zmac-Makefile.in.txt' shows this : "267 : pushback/logging-data-struct.o \" ... There should be no words like "pushback/logging-data-stcp" in any of the files in ns-2.26. . |
Thanks, Thanks and Thanks knudfl.
Have you worked with Z-MAC, DRAND or SMAC?? Regards, Vicente |
#32
Quote:
So now it's your turn to do some hard work .. again . :) You know, it's like this ... a week to learn how to build ns2. And three? months to learn how to use it. |
Hi again knudfl
Have you ever installed any program for debugging in NS2? I am trying install Eclipse and gdb but I don't get that this programs work. Thanks |
# 34
Quote:
Google .. debugging ns2 .. Debugging Tips, ns2 * http://www.isi.edu/nsnam/ns/ns-debugging.html * http://nsnam.isi.edu/nsnam/index.php/Debugging_ns-2 * http://tagus.inesc-id.pt/~pestrela/n...debugging.html * http://tagus.inesc-id.pt/~pestrela/ns2/ etc. etc. LQ * http://www.linuxquestions.org/questi...gfault-814105/ . |
Hi again,
I have done a lot of experiments with DRAND and it works perfectly. And I installed ZMAC correctly but when I want use this protocol following the instruction in http://www4.ncsu.edu/~rhee/export/zm.../zmac/zmac.htm don't work correctly. My order is this: ns simZMAC.tcl -numsources 3 -zmacMode 1 -interval 10 -sinknode 83 -valuefile salida.tr -maxX 300 -maxY 300 -nn 84 -ack 0 -to 3 -tno 6 -timeSyncErrorFlag 0 -timeSyncErrorValue 100 And the error is the next: Setting slot size to 0.001124 num_nodes is set 84 values-file lookup failed (_o20 cmd line 1) invoked from within "_o20 cmd values-file salida.tr" invoked from within "catch "$self cmd $args" ret" (procedure "_o20" line 2) (SplitObject unknown line 2) invoked from within "$mac_($i) values-file $valuefile" ("for" body line 6) invoked from within "for {set i 0} {$i < $numNodes } {incr i} { set node_($i) [$ns_ node $i] $node_($i) random-motion 0 ;# disable random motion $god_ new_node $nod..." (file "multiHopTopoGen.tcl" line 1) invoked from within "source.orig multiHopTopoGen.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" (procedure "source" line 12) invoked from within "source "multiHopTopoGen.tcl"" (file "simZMAC.tcl" line 99) I hope that you can help me again, Thanks in advance Vicente, |
# 36
Testing with the "ns-2.26-ZMAC" : cd ns-allinone-2.26/ns-2.26/zmacTcl/ ./ns-zmac simZMAC.tcl -numsources 3 -zmacMode 1 -interval 10 -sinknode 83 -valuefile salida.tr -maxX 300 -maxY 300 -nn 84 -ack 0 -to 3 -tno 6 -timeSyncErrorFlag 0 -timeSyncErrorValue 100 The reply is Code:
Setting slot size to 0.001124 . |
#36..u run the protocol by...ns and #37 u run it by./ns-zmac....what is the difference???
|
# 38
The binary "ns-zmac" is a backup copy of the 'ns' from the "ns-2.26-ZMAC" build. |
Quote:
|
# 40
The attached files are zmac-Makefile.in.txt, drand-Makefile.in.txt. A Makefile.in is used by configure to create "Makefile". That's also what ./install is doing : 1) Running ./configure in the applications, 2) creating Makefile's, 3) running 'make'. The purpose of attaching "Makefile.in" : Then you don't have to write it yourself. . |
Quote:
|
# 42 : Please read your own post # 40.
'cp -a ' : Means that the Makefile.in is replaced |
Quote:
|
# 44
Quote:
|
All times are GMT -5. The time now is 06:56 PM. |