LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2015, 12:39 AM   #1
amritha
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
how to run gpsr in nam


hi.i have successfully installed gpsr from the link,
http://www.linuxquestions.org/questi...ts-4175542737/

I successfully run the wireless-gpsr.tcl,

num_nodes is set 100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
GPSR configuration file
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 129.2
SORTING LISTS ...DONE!
NS EXITING...

The trace files such as , nam.out.tr,sinklist.tr,trace.tr,gpsrnb_trace.tr were now present in the gpsr folder.
when i run nam wireless-gpsr in terminal,
Cannot connect to existing nam instance. Starting a new one...

nam: Unable to open the file "wireless-gpsr.nam"

now what should i do to run this protocol in nam?
pls help me.

Last edited by amritha; 10-28-2015 at 12:41 AM.
 
Old 10-28-2015, 03:23 AM   #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.

GPSR-KeLiu : Sorry, no `nam' support. ( Like some other protocols.)

GPSR :
. http://www.linuxquestions.org/questi...-4175557158/#2
. http://www.linuxquestions.org/questions/tags/gpsr/


-
 
1 members found this post helpful.
  


Reply

Tags
gpsr, ns2



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
[SOLVED] how to run nam file in ns2 ankitgondaliya Linux - Newbie 2 11-12-2014 08:53 AM
unable to run nam in terminal on linex Domah Linux - Virtualization and Cloud 1 08-12-2014 10:05 AM
why nam not shown for gpsr codes ranjani Linux - Networking 1 03-27-2014 04:01 AM
I need a professional one who can guide me to run GPSR routing protocol in Ns2.34 ste sowmyabs Linux - Software 1 03-03-2013 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:47 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