Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
2) And by using the executable 'ns-hls' from "gpsr-hls-2.33-ubuntu10_i386.deb" >>> https://drive.google.com/file/d/0B7S...ew?usp=sharing >>>
$ ns-hls gpsr61.tcl : Result = gpsr61.tr 880kB, out.nam 524kB.
`gpsr-hls-2.33-ubuntu10_i386.deb' was created `Feb 2013' with an old Ubuntu 10.10 - 32bits.
( Cannot be reproduced with a new Ubuntu 10.10, because of updates : libc6.)
Both the above simulations are causing 'Floating point exception' with a contemporary OS.
( PCLinuxOS 2015 - 32bits ).
3) Using one of my old installs with Ubuntu 10.10 - 32bits (Installed 'Jan 2012') :
>>> gpsr-hls-2.33-ubuntu10_i386.deb >>
$ ns-hls gpsr61.tcl : Result = gpsr61.tr 10.7MB, out.nam 8.1MB.
... And the nam animation is OK.
4) Using the Redhat supported CentOS 6
( My install is version 6.6, 'Nov 2015' , too old to update ) :
$ ns235-hls gpsr61.tcl : Result = gpsr61.tr 10.1MB, out.nam 8.1MB.
Nam animation OK.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #32.
OK, time to use an old / oldish OS if you want to run or to build GPSR-hls.
Obviously no contemporary OS is perfect for ns2 any more.
Like all other new 'Linux OS`s', Ubuntu 14.04 seems to include updates (libc6) causing hls simulations to crash. These "ns2 disabling updates" have been around for some years, preventing increasingly more simulations from working.
I'm going to test a new install with CentOS 6.7, and let you know the result ... later.
please some one can help to get awk script for calculating pdr, throughput, end-to-end delay for gpsr protocol
the awk script which I am using for AODV,OLSR. It isnt showing the result for gpsr getting 0 as values
I do performance simulation of GPSR protocol.I study VANET and the nodes move.the version is KULIU.But the packet delivery ratio is zero.I find the position of nodes don not change,even the position of nodes move away.what is wrong.
hello knudfl, i have followed your post to patch gprs in ns2.35.It created gprs folder in ns2.35.It contains only three files gprs.cc,gprs.h and gprs.o while already existing protocols like AODV contains many files like packet.h etc.When i run ssoumayaa.tcl from examples,it gave segmentation error(core dumped).Plzz....tell me whether these three files are enough to run gpsr on ns2.35?Thanks in advance
I followed this steps for installing the patch GPSR in ns2.35 ( ubunto 12.04):
$ tar xvf ns-allinone-2.35_gcc482.tar.gz ( Patched for gcc-4.8.2 and -4.9.1 ).
$ cd ns-allinone-2.35/
$ patch -p0 < GPSR-hls_ns235.patch
$ ./install
$ cd ns-2.35/
$ cp ns ns-gpsr-hls
$ sudo cp ns-gpsr-hls /usr/local/bin/
0 offset
0 shift
2147483647 mask
1 slots
slot 255: _o28 (CMUTrace/Recv)
---------- Finished standard no-slot{} default handler ----------
IN trace file,the simulation does not end until the end and there is only the presence of the ARP, MAC , but AGT and CBR does not configure among the protocols used.
Plzzz tell me , how i can solve this problem
Thnaks in advanced
Thank you for your reply. It's very kind of you
After patching gpsr in ns2.35, I have tested ssoumaya.tcl and running it works but with hls.tcl no.
I work with ns2.35 ubuntu 12.04 (i686). So how am I going to use Ubuntu 10.10 - 32,. And if it is possible what are the steps of installing the package (knowing that I followed the same steps as you mentioned for GPSR-hls patch)
??
Thanks in advanced
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.