Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-04-2013, 05:01 PM   #1
LQ Newbie
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
ns-2 CRCN patch. Testing examples problem

Hello everyone.
This is my first and I'm guessing not last post. I have installed ns-2 and CRCN patch using information from here:

everything went smoothly. Ns-2, CRCN from terminal and CRCN GUI seem to work ok.
At the webpage below are presented the simulation results (throughput) of tcl scripts test4maccon, test4mcng, test4macng for 2 & 5 channels.

running the test4maccon.tcl I get the exact same graph which is correct because the topology and mobility are defined, BUT when I run the test4macng scripts I get different throughput results which make no sense at all! has anyone ever tested these scripts? can somebody please give it a go so I can tell whether it's an installation fault or not? any suggestions? (I have installed Ubuntu 10.04 on VMWare by the way)

Thank you in advance
Old 02-05-2013, 07:01 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 15,918

Rep: Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025Reputation: 3025
Welcome to LQ.

Not quite clear what you mean.
Results can be different each time you run the same simulation.
( Haven't checked if that's the case with the test4macng*.tcl files.)

I made a test with a 2 year old "ns -crcn" executable.
All six simulations seem OK.
The result, crcn-test-all-tcl.tar.bz2 (1.8 MB) can be downloaded from ..
.. Please read the included file 'README-test-ns-crcn'.

CRCN info : LQ Search → → Tag = crcn


Last edited by knudfl; 02-05-2013 at 07:08 AM.
Old 02-05-2013, 08:09 AM   #3
LQ Newbie
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for the reply

Perhaps I wasn't clear enough. I have no problems running the scripts. I get no errors. The problem is calculating throughput either using GUI or terminal. The resulting graph should be exactly the same, as there is no random motion of the nodes. The topology and mobility of nodes are strictly defined through topology files random.tcl and topo4.tcl.
As I said, the throughput graph of script test4maccon.tcl is exactly the same as the one presented on their webpage, but that's not the case for the rest of the scripts.
I could upload my results compared with the given ones, but I don't think it would help in any way, as the problem is that there shouldn't be any difference at all...


crcn, ns2

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
channel sensing in CRCN (cognitive radio cognitive network) patch saywei89 Linux - Software 12 08-30-2014 01:28 PM
CRCN ns2 add channel GUI nam throughput problem Khaled ELmishad Linux - Software 37 12-05-2013 03:23 AM
problem in CRCN fabe856 Linux - Software 0 05-21-2012 12:12 PM
crcn ns2 add channel GUI nam throughput problem Khaled ELmishad Programming 1 05-12-2012 09:37 AM
problem in displaying throughput in crcn patch in ns2 humairaafzal73 Linux - Software 0 02-07-2012 05:37 AM

All times are GMT -5. The time now is 05:27 AM.

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