GPSR
Hi, anyone helps me for patching GPSR in ns2.32 ? .... thx
|
Welcome to LQ.
Available patches, GPSR-hls : GPSR-hls_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing GPSR-hls_ns234-2.patch https://drive.google.com/file/d/0B7S...iew?usp=sharin ns234_gcc49.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing GPSR-hls_ns233-2015.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing otcl_ns234_gcc-4.4.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing Note : As is, ns-2.32 cannot do GPSR-hls : no `Propagation Nakagami`, etc. issues with 2.32. Patches GPSR-KeLiu : gpsr-KeLiu_ns232.patch .... See post #3 for update https://drive.google.com/file/d/0B7S...ew?usp=sharing gpsr-KeLiu_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing gpsr-KeLiu_ns234.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing Examples : GPSR-KeLiu_examples-07.19.tar.gz https://drive.google.com/file/d/1UwX...ew?usp=sharing - |
Build example ...
Code:
tar xvf ns-allinone-2.32.tar.gz |
Welcome to LQ. #2
oKi Thanks
I follow the same steps as your post for patching GPSR-HLS in ns2.35 but I got this error when try to do the following command geocast@ubuntu:~/ns-allinone-2.35/ns-2.35/hls/utils6$ ns hls.tcl num_nodes is set 40 Configuring Nodes (40) INITIALIZE THE LIST xListHead Starting Simulation... radiorange 250, x 2000 y 2000 length : 3.000000 , cellperline 12 , heigth 3.000000 maxlevel 3 radiorange 250, x 2000 y 2000 length : 3.000000 , cellperline 12 , heigth 3.000000 ................. ................ ................ radiorange 250, x 2000 y 2000 length : 3.000000 , cellperline 12 , heigth 3.000000 maxlevel 3 SORTING LISTS ...DONE! channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o31: no target for slot 0 _o31 type: Classifier/Port content dump: classifier _o31 0 offset 0 shift 2147483647 mask 1 slots slot 255: _o33 (CMUTrace/Recv) ---------- Finished standard no-slot{} default handler ------- |
Re #4.
Quote:
The safe choice with a {64bits OS / GPSR-hls} is usually ns-2.34 . Decide architecture with this command: $ uname -m `hls.tcl´ is a 32bits example, see gpsr-hls-ex_07.19.tar.gz https://drive.google.com/file/d/1YUc...ew?usp=sharing ... The 64bits ex are in `gpsr-hls-ex_07.19/gpsr-hls-64bit-ex/´ `hls.tcl´ can still be run with an old 32bits executable 'ns233-hls'. A 32bits executable created with a contemporary OS fails / may fail some ex. Running all examples : Install `gpsr-hls-ns_2.33-2-ubuntu10_i386.deb´ (3.1MB) https://drive.google.com/file/d/1KVj...ew?usp=sharing Provides Download ... and install Code:
sudo gdebi Downloads/gpsr-hls-ns_2.33-2-ubuntu10_i386.deb Simulation : $ ns233-hls hls.tcl - |
Re #5 GPSR on ns2.35
Sorry if I make mistake or confusing !!
My OS is Ubuntu 12.04 LTS 32bit. with ns2.35 and also I have done some previous works in Fedora 8 32 bit with ns2.32 which is the best case to execute GPSR hls with lest problems? THANKS. |
Re #6.
You can use the package gpsr-hls-ns_2.33-2-ubuntu10_i386.deb with the executable 'ns233-hls' in Ubuntu 12.04 - i386. And you can build any ns2 version + gpsr-hls with both Fedora 8 and Ubuntu 12.04 . ... Probably with little or no difference in the result. |
Re # 7
:):)thank u Mr. knuffel, I appreciate all ur helpfully advices to simulate GPRS.hls protocol with OS CentOS6 and ns2.35
the simulation for GPRS-hls is done will, I did the follwing steps for that: 1- install CentOs 6i386 2- unzip ns2.35 package 3- $ yum install gcc-c++ gcc44-c++ compat-gcc-34-c++ automake autoconf libtool libXmu-devel 4- patching gpsr-hls-examples-May31-17.tar 5- install ns2.35 6-ex hls examples for me i ex hls.tcl and tes-gpsr.tcl in \gpsr-hls-64bit-ex with output .tr and .nam files i glad to share my results with anyone interested. |
All times are GMT -5. The time now is 03:48 AM. |