Quote:
Quote:
1) installed ns-2.33 2) ./validate 3) untarred hls 4) installed : $patch -p1 < ns2-hls-patch/ns-2.33-hls.patch 5) renamed ns : $cp ns ns-hls $sudo cp ns-hls /usr/local/bin/ 6) make clean : a new version of Makefile.in! 7) ./configure 8) make clean && make --> gpsr.o created in /gpsr but chakraborty@chakraborty-desktop:~/ns-allinone-2.33/ns-2.33/hls/utils$ ns hls.tcl invalid command name "Agent/GPSR" while executing "Agent/GPSR set bdesync_ 0.5 " (file "hls.tcl" line 6) What could be the fault. GPSR not binded. Please suggest With Thanks |
Then, I run with reference to
http://www.linuxquestions.org/questi...-4175446277/#2 Then: chakraborty@chakraborty-desktop:~/ns-allinone-2.33/ns-2.33/hls/utils$ bash run_small.bat Run Configuration: -n 100 -s 30 -t 100 -x 2000 -y 2000 -mrd 1 -c 400 Can't open perl script "./namable.pl": No such file or directory !Warning! Don't forget to check header-inclusion (Not needed for GPSR/DSR & CBR/Ping) num_nodes is set 100 Configuring Nodes (100) INITIALIZE THE LIST xListHead Loading scenario file (sc-x2000-y2000-n100-s30-t100-MRD)... Loading connection pattern (cp-n100-c400-15-98.tcl)... ---------- Illegal division by zero at ../evaluate.pl line 1226. $ ns run.tcl -out hls_trace.txt -sc sc-x2000-y2000-n100-s30-t100-MRD -cp cp-n100-c400-15-98.tcl -nn 100 -locs 3 -use_peri 1 -x 2000 -y 2000 -mac_emu 0 -stop 100 -zip 0 $: command not found chakraborty@chakraborty-desktop:~/ns-allinone-2.33/ns-2.33/hls/utils$ ns hls.tclinvalid command name "Agent/GPSR" while executing "Agent/GPSR set bdesync_ 0.5 " (file "hls.tcl" line 6) What to do now? Please suggest. |
# 181 .
Quote:
Or you are using the wrong executable 'ns'. To be sure that the right one is used, make a copy of 'ns' to a new name : $ cp ns ns-gprs-hls ( Or whatever name you like.) .. And : $ sudo cp ns-gprs-hls /usr/local/bin/ .. The simulation will run with : $ ns-gprs-hls hls.tcl - |
Dear Knudfl,
KeLiu GPSR successfully patched. Thank You. |
Quote:
I need to change the cbr connections such that multiple Udp sources and 1 sinks of the cbr100.tcl. assigned null agent to 1 node and udp agents to others Quote:
thanking you. |
Quote:
|
Dear Knudfl,
What information can be extracted from these. "sinklist.tr" "gpsrnb_trace.tr" How to extract information from these. Unknown about their format. Please suggest. With Thanks |
# 187 .
NS-2 Trace Formats http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats Files.tr are text files that can be viewed in any editor. And you can use a perl script or an awk script to get some information. → awk_scripts_03.2014.tar.bz2 https://drive.google.com/file/d/0B7S...it?usp=sharing Read the folder `hls/utils/' from hls-files-ns233.tar.gz : There are three perl scripts, which may be usable. - |
Quote:
Will check Quote:
http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats but no discussion of "gpsrnblist.tr" especially "nblist" Because I need neighborhood locality information about nodes. Any idea about this. Thanking You Once Again. |
# 189 .
"neighborhood locality information about nodes" : I have no idea. Probably ask at http://network-simulator-ns-2.7690.n7.nabble.com/ - |
Quote:
I need to examine the buffer occupancy level of the candidate relay nodes. 1)Do 'ifqlen' maps the concerned need? 2)How to refer and incorporate it in inbuilt logic, repeatedly, before relays? 3)where to find the related codes for ifqlength handling? Please suggest. |
# 191 : Not questions that I can answer.
Please ask at http://network-simulator-ns-2.7690.n7.nabble.com/ And https://groups.google.com/forum/?fro...forum/ns-users - |
Dear knudfl,
Please suggest a easy to use graph plotter which will take collected values, from various traces of different simulations. Would be good if it plots attractively. With thanks. |
Quote:
Please suggest a tutorial link how to use xgraph. |
# 194 .
Using Xgraph examples : $ cd xgraph-12.1/examples/ $ xgraph Animation.xg $ xgraph xgtest.xg .... Etc. etc. * The xgraph plot files are text : Please study the six examples. Example.tcl that uses xgraph at simulation end : http://hpds.ee.ncku.edu.tw/~smallko/...less-udp-1.htm $ ns-* JoeNaoum-Sawaya.tcl ... and three times Xgraph windows will open. * The VINT Xgraph http://www.isi.edu/nsnam/xgraph/index.html * Documentation : Not sure thre is any. * Google .. xgraph plotting in ns2 examples .. https://www.google.com/webhp?hl=all#...evid=298535658 → http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html → http://www.nsnam.com/2011/08/xgraph.html → etc., 7,000 hits : I guess you'll find what you are looking for. - |
All times are GMT -5. The time now is 01:56 PM. |