LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-01-2014, 02:55 PM   #1
malikkk
LQ Newbie
 
Registered: Apr 2014
Posts: 8

Rep: Reputation: Disabled
Angry GPSR & NS simulators


hi everybody ;
i want to study GPSR in any NS version (2.xx or 3.xx)
my problem is that all my tries were unssuccessful either ns version i find a lot of problem when making the codes all patches werer unseccessful too.
I think in addition the 64 bits version doesn't help.
Thank you for your help.
 
Old 04-01-2014, 04:37 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Right. A 64bits OS is not for ns2 : Some patches / versions will however work.

GPSR-hls http://www.linuxquestions.org/questions/tags/gpsr-hls/
Latest build example #5 http://www.linuxquestions.org/questi...-4175498876/#5

GPSR-KeLiu http://www.linuxquestions.org/questi...gs/gpsr-keliu/

Note :
There are compilers gcc41/g++41 or gcc34/g++34 for most Linux OS :
Building versions ns-2.26 .. ns-2.34 is usually no problem.
Which Ubuntu version are you using ?

* NS-3 GPSR : May be you already know the files ?
https://code.google.com/p/ns3-gpsr/source/checkout
( Don't know if the files will work.)


-

Last edited by knudfl; 04-01-2014 at 04:44 PM.
 
Old 04-02-2014, 09:50 AM   #3
malikkk
LQ Newbie
 
Registered: Apr 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
actuall i changed from ubuntu 12.04 64bits to ubuntu 12.04 32bits i am trying now to go throw links you gave to me thank you i'll keep you informed


thnk you for your help
 
Old 04-02-2014, 10:52 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 .

Ubuntu 12.04 - 32bits. Please use the "1204" compilers, post #18 here ..
http://www.linuxquestions.org/questi...022/page2.html



-
 
Old 04-03-2014, 02:47 PM   #5
malikkk
LQ Newbie
 
Registered: Apr 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
hi KNUFDL
thank you a lot for the help
acttually i succeed in running wireless-gpsr.tcl but only when i 'am positioned in #ns-allinone-2.34/ns2.34/gpsr/

for the moment i don't know why i doesn't work when i am starting simulation from other place

i need to see outputs but i haven't succeeed
no xgraph no nam.out
last thing can you give me another protocol to implement like gpsr(for vanet geoloc protocols) like PRB , grant or louvre GPCR...
at all thank you a lot i appreciate your kind
 
Old 04-03-2014, 04:39 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .
Quote:
running wireless-gpsr.tcl but only when ... in #ns-allinone-2.34/ns2.34/gpsr/
Looks like you are using the GPSR-KeLiu patch ?
→ wireless-gpsr.tcl should be run in `ns-allinone-2.34/ns2.34/tcl/'.
( In the setups that I know.)
→ → $ ns wireless-gpsr.tcl

The output files are : gpsrnb_trace.tr, nam.out.tr, sinklist.tr, trace.tr .
Finding the lines with nam in `wireless-gpsr.tcl' :
$ grep -n nam
.. which will show "60:set opt(nam) nam.out.tr" : line 60.
* `wireless-gpsr.tcl' is a text file : You can read the file.

Using the file "nam.out.tr" : $ nam nam.out.tr
.. But I don't remember if anybody got it to work OK.
Please see http://www.linuxquestions.org/questi...gs/gpsr-keliu/

-

Last edited by knudfl; 04-03-2014 at 04:40 PM.
 
Old 04-06-2014, 12:46 PM   #7
malikkk
LQ Newbie
 
Registered: Apr 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi KNUDFL;
a special thank for you i finaly get a goud output i tried all ssoumaya.tcl and hls.tcl all things working.
i installed also HLs gpsr and i found my big mistake :
So i have to be in NS2.xx/hls/utils folder to run examples file successfuly
thank you again your help was very precious
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 5 Linux Racing Simulators LXer Syndicated Linux News 0 10-03-2013 10:52 PM
Electronics Simulators in Linux ? hibarrap Linux - Newbie 4 09-21-2011 10:12 AM
n/w simulators ankscorek Linux - Networking 2 03-18-2006 12:33 AM
raid-5 simulators? eantoranz Linux - Hardware 36 08-09-2005 11:20 AM
storage simulators in linux ramu_ak Linux - General 1 03-10-2004 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration