[ns] Scenario file takes too long to load for 200 nodes and 900seconds

2009-02-15 Thread savaqar

Hi,
I am running my simulation for 200 nodes and 900 seconds. The mobility
scenario has been generated using the
/indep-utils/cmu-scen-gen/setdest/make-scen.csh file. The files
generated are about 116MB to 132MB. Now my question is that while
running the ns it seems to take eternity (till now 30 hours on AMD
2200 4GB) to load the scenario file, Is this normal or is there a way
to avoid this delay. Any thought would be welcome.
You all have a nice day.

Vaqar






[ns] problem in running ns-linux-v2.patch

2009-02-15 Thread sarita

hello Everyone,

i'm working on wimax patch ns-2.29-nist-mob-022707.tgz and congestion
contorl algorithm patch ns-linux-v2.patchwith ns-2.29when i'm
running the simulation with congestion control Algo and wimax
patchgetting the warning as : no class variable Agent/TCP/Linux ::
next_pkts_in_flight_

see tcl-object:tcl in tclcl for info about this warning"

i'm not getting where to make changes.

please anyone help me regarding this topic

thanking you

Sarita






  


Re: [ns] ns-allinone-2.33 installation: Incompatible -libtclcl.a error

2009-02-15 Thread Tom Henderson

Jhoanna Rhodette Pedrasa wrote:
> Hi,
> 
> I am trying to install ns-allinone-2.33 on an x64 CentOS
> machine (of which I don't have admin access). Compilation goes well but
> I get an error during the link stage:
> 
> /usr/bin/ld: skipping incompatible ~/ns-allinone-2.33/tclcl-1.19/libtclcl.a 
> when searching for -ltclcl
> /usr/bin/ld: cannot find -ltclcl
> collect2: ld returned 1 exit status
> make: *** [ns] Error 1
> Ns make failed!
> 
> I went into the tclcl-1.19 directory and ran configure and make but I need su 
> access for make install. 
> 
> Since I dont have admin access  I tried installing tclcl  manually by running 
> ./configure with  --prefix=$HOME/simruntime but when I run ./install in NS2 I 
> get the same error. Any help is appreciated.
> 
> - Jhoanna
> 

Does libtclcl.a get built initially?  Did you start from a fresh 
ns-allinone-2.33.tar.gz file on this machine?

ns-2 should pull in the tclcl from the ../tclcl-1.19 directory by virtue 
of this configuration line in the ns-allinone-2.33 install script:
 ./configure --with-otcl=../otcl-$OTCLVER 
--with-tclcl=../tclcl-$TCLCLVER || die "Ns configuration failed! Exiting 
...";

I haven't seen that specific error before.

- Tom



Re: [ns] Problem in Installing ns2.33

2009-02-15 Thread Tom Henderson

Ashok Turuk wrote:
> Hello Every One
> 
> While installing ns2.33, I am getting the following message. Can any one
> tell me the reason. I have Fedora 9 and tcl/tk 8.4.13
> 
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:210: error:
> 'Tk_FakeWin' has no member named 'display'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:210: error:
> 'Tk_FakeWin' has no member named 'screenNum'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:210: error: 'TkBorder'
> has no member named 'screen'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:211: error:
> 'Tk_FakeWin' has no member named 'atts'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:211: error: 'TkBorder'
> has no member named 'colormap'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:212: error: 'TkBorder'
> has no member named 'resourceRefCount'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:224: warning: implicit
> declaration of function 'Tk_GetColor'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:233: error: 'TkBorder'
> has no member named 'screen'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:233: error:
> 'Tk_FakeWin' has no member named 'display'
> 
> 
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1394: error:
> 'TkDisplay' has no member named 'borderTable'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1394: error:
> 'TkDisplay' has no member named 'borderTable'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1400: error:
> 'TkBorder' has no member named 'nextPtr'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1403: error:
> 'TkBorder' has no member named 'resourceRefCount'
> 
> /opt/ns-allinone-2.30/tk8.4.13/unix/../generic/tk3d.c:1405: error:
> 'TkBorder' has no member named 'objRefCount'
> 
> make: *** [tk3d.o] Error 1
> 
> tk8.4.13 make failed! Exiting ...
> 
> For problems with Tcl/Tk see http://www.scriptics.com
> 
> 
> Thanks in Advance
> ashok
> 

Do you have this package installed:
xorg-x11-devel
?




Re: [ns] NAM problem II

2009-02-15 Thread Dalton Cézane

I had the same error a few weeks ago, with the ns-2.27 installation.
I guess I solved the problem with some update... I don't remember which, but
something like gcc or any lib... Look if your files are all updated (the
files needed to ns compilation). Search in the previously posts at list...

I hope it can help you!


> --
>
> Message: 5
> Date: Sun, 15 Feb 2009 18:00:59 +1930
> From: Jose Rodriguez 
> Subject: [ns] NAM problem II
> To: ns-users@ISI.EDU
> Message-ID:
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello everyone!
>
> I wrote before about a problem that im having with NAM.
>
> Looking up some of the info showed by ns-allinone-2.33 at the end of the
> installion i found this
>
> .
> .
> .
> *make[2]: se sale del directorio
> `/home/jose/Escritorio/ns-allinone-2.33/dei80211mr-1.1.4'
> make[1]: se sale del directorio
> `/home/jose/Escritorio/ns-allinone-2.33/dei80211mr-1.1.4'
> Please compile your nam separately.
>
> Ns-allinone package has been installed successfully.
> Here are the installation places:
> tcl8.4.18:/home/jose/Escritorio/ns-allinone-2.33/{bin,include,lib}
> tk8.4.18:/home/jose/Escritorio/ns-allinone-2.33/{bin,include,lib}
> .*
> .
> .
>
> I have to compile NAM separately. Im following the instruction of the READ
> ME file in /nam-1.13. I have type ./configure first but when i use this
> command i get the following
>
> .
> .
> .
> *No explicit static compilation flag; setting V_STATIC to ""
> checking for dlopen in -ldl... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating autoconf.h
> config.status: autoconf.h is unchanged**
> .*
> .
> .
>
> Does anyone knows what that means?? What should i do??
>
> Thanxs again! I wish u all a happy valentines day!
>
>
> --
> A day without sunshine is like, you know...night.
>
>
> --
>
> ___
> Ns-users mailing list
> Ns-users@isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 62, Issue 14
> 
>



-- 
===
Dalton Cézane - Voip UFCG: 1075-2005
Mestrando em Ciência da Computação
Bacharel em Ciência da Computação
Universidade Federal de Campina Grande - UFCG


Re: [ns] NS 2.29 installation problem

2009-02-15 Thread Dalton Cézane

Maybe this link can help you:
http://www.nabble.com/Fwd:-patch-for-ns-2.29-to-fix-OSF-problem-only-td16889782.html

It contains a patch for ns-2.29 installation.

Luck!

-- 
===
Dalton Cézane - Voip UFCG: 1075-2005
Mestrando em Ciência da Computação
Bacharel em Ciência da Computação
Universidade Federal de Campina Grande - UFCG


[ns] ns-allinone-2.33 installation: Incompatible -libtclcl.a error

2009-02-15 Thread Jhoanna Rhodette Pedrasa

Hi,

I am trying to install ns-allinone-2.33 on an x64 CentOS
machine (of which I don't have admin access). Compilation goes well but
I get an error during the link stage:

/usr/bin/ld: skipping incompatible ~/ns-allinone-2.33/tclcl-1.19/libtclcl.a 
when searching for -ltclcl
/usr/bin/ld: cannot find -ltclcl
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Ns make failed!

I went into the tclcl-1.19 directory and ran configure and make but I need su 
access for make install. 

Since I dont have admin access  I tried installing tclcl  manually by running 
./configure with  --prefix=$HOME/simruntime but when I run ./install in NS2 I 
get the same error. Any help is appreciated.

- Jhoanna




  


[ns] How can the longest path in DSR be 16?

2009-02-15 Thread Liu Yang

Hello Everyone,

Recently I am doing some work related with wireless routing. I
reviewed the code of DSR in ns-2 and noticed that the longest path
supported by this protocol is 16, defined by
#define MAX_SR_LEN 16
in the hdr_sr.h file.

Maybe I misunderstood something. According to the specification of
TCP/IP protocol, the length of IP Option is at most 40 bytes. If each
IP address takes 4 bytes in DSR, then at most 10 nodes can be added in
the DSR Source Route Option. How can the length of path reach 16
without tampering the data of upper layer, e.g., TCP/UDP?

Would somebody correct me if I am wrong?

Liu

-- 
Liu Yang
Department of Computer Science
Stevens Institute of Technology
Hoboken, NJ 07030

personal page: http://www.cs.stevens.edu/~lyang



[ns] wireless mesh simulation in NS 2

2009-02-15 Thread sajeeb saha

Hi,



I am a student of University of Dhaka,Bangladesh, majoring in CSE.

I
am currently in my final year of graduation. My final year project is
the performance analysis of various routing algorithms on wireless mesh
network and calculating the bandwidth,delay,throughput etc.


I am using NS 2 Simulator for this purpose.



For this
I need some sample programs on wireless mesh network. I searched the
internet  but  didn't find any sample Tcl
script.

So it will be very helpful for me if anyone kindly
provide me some Tcl Scripts on wireless  mesh network simulation so
that I could run and test them.



Thanks in advance..

, Sajeeb Saha
10th Batch,CSEDU
+8801914754181
     


  New Email addresses available on Yahoo!
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/


[ns] Beacon messages-scanType-HELP!!

2009-02-15 Thread Spyros Marinis

Hi all!
I am trying to use the beacon messages as in mac-802_11.cc to trigger some 
changes when a new access point is detected. I haven't changed anything there 
yet. I have in my tcl script something like this:
set AP_ADDR1 [$mac_(2) id]
$mac_(2) ap $AP_ADDR1

set AP_ADDR2 [$mac_(5) id]
$mac_(5) ap $AP_ADDR2

$mac_(4) ScanType ACTIVE
for {set i 2} {$i < 4} {incr i} {
$mac_($i) ScanType PASSIVE ;#Passive
}
for {set i 5} {$i < 7} {incr i} {
$mac_($i) ScanType PASSIVE ;#Passive
}

But when I run it, it stops quite early and  it writes: "Illegal instruction"

Can anyone help me? What may be wrong??
Could anyone tell me how to use the ScanType ACTIVE/PASSIVE command because I 
haven't found what's the difference...
Does anybody know if this is the right way to detect the presence of a new 
access point? I hope to get what I want if the recvBEACON function is called; 
can it work???
any help will be highly appreciated, because it is urgent and important!!!
thanks in advance!




  
___ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 


[ns] setting the node as an AP in 802_11Ext Model

2009-02-15 Thread Иван

Hi!
I am using 802_11Ext model with multirate support. I need to use it AP-mode. 
Who knows how to declare an AP in this model? I tried to do it like in the 
"Infra" example but I failed (I got a failure: "ap lookup failed").
Can anyone help me, please? 


[ns] Fw: access code of paper

2009-02-15 Thread vaishali mandhare



--- On Sun, 15/2/09, vaishali mandhare  wrote:

From: vaishali mandhare 
Subject: access code of paper
To: "ns user" 
Date: Sunday, 15 February, 2009, 11:36 AM







hello,
how can access code for paper?can anyone tell me?plz... 


Unlimited freedom, unlimited storage. Get it now


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/