[ns] How to compile and run tcl files?

2007-09-12 Thread Kavuluri, Mallesh (IE10)
Hai, I have written some .cc and .h files in a folder GPW. In the same folder I have written gpw.tcl file. In makefile.vc and Makefile of higher directory I have included GPW folder in INCLUDES list. And I have included .o files at the end of OBJ_STL list. I am typing make to compile.

[ns] How to compile and run tcl files?

2007-09-12 Thread Kavuluri, Mallesh (IE10)
Hai, I have written some .cc and .h files in a folder GPW. In the same folder I have written gpw.tcl file. In makefile.vc and Makefile of higher directory I have included GPW folder in INCLUDES list. And I have included .o files at the end of OBJ_STL list. I am typing make to compile.

[ns] segmentation fault

2007-09-12 Thread Elahe Alipour
Hello all, I wrote a new agent. this agent has a command{} which receives 6 arguments. I used the following line to pass the arguments to the command{}. $ns at $now $source-ad($j) ad-request $j $peak $error $standard-dev but when I ran tcl script, I received this error: segmentation fault.

[ns] Bit error models for NS-2

2007-09-12 Thread Raghu-kisore Neelisetti
Hi, I would apprceiate if you could suggest references to implementations taht simulate wireless losses based on SNR. I mean an error model for Ns-2 that simulates BER Vs SNR graph. Any hint or idea would help. Thanks a lot, Raghu.

[ns] Error while using Ricean propagation model!!

2007-09-12 Thread Ghada Al-Mashaqbeh
Dear all, When I am trying to test the Ricean propagation model (after I have added it to NS-2) using the following code I got the following error: can't read propInstance_: no such variable while executing . . . $ns_ set propInstance_ ... Here is the code

Re: [ns] How to add new C++ classes to NS-2 2.31?

2007-09-12 Thread Ghada Al-Mashaqbeh
OK, after that do I need to modify any files or classes in ns2, I have added the Ricean model classes to the mobile directory using this method, but when I try to use it in my Tcl test code using the follwing code : / /** set

Re: [ns] How to add new C++ classes to NS-2 2.31?

2007-09-12 Thread Samer Bali
You should make changes in some tcl files in the directory '.../tcl/lib/'. See the following link: http://icapeople.epfl.ch/widmer/uwb/ns-2/index.html In this link many changes are made to install new changes in the physical and mac layers of ns-2. Also a new propagation model (tarokh

[ns] TCP Transmission between 3 mobile nodes?

2007-09-12 Thread Bahman Kalantari Sabet
Dear all, I have three 802.11b mobile nodes (A.B.C), where A and C are hidden from each other. A sends TCP packets to B (start time = 1 sec) C sends TCP packets to B (start time = 1.5 sec) (end time for both transmissions = 10 sec) Judging by the trace file, I see that only A

[ns] About dei80211mr library

2007-09-12 Thread Ghada Al-Mashaqbeh
Dear all, I am using ns2 under windows xP SP2 using cygwin, when I have tried to install dei80211mr using the same steps on its website and after installing the dynamic library batch, I have faced the error that no dynamic libraries is supported on this system (when I have tested some

[ns] Questions about patches added to ns-2.

2007-09-12 Thread Ghada Al-Mashaqbeh
Dear all, I have two questions related to the patch installations on ns-2: -- If I have more than one patch to install, must I install all of them at the same time or I can do that serially at different times? -- Can I have a confliction between batches that support common

[ns] Archives .tr and .nam 802_15_4

2007-09-12 Thread Cristiane Amaral
Dear all, I have a problem referring to this script, when I type ns wpan_demo1 it I generate the archives .tr and .nam but this archives .tr this total blank and the archives .nam it appears a one line. Necessary to see the results for it compares them. Does anybody knows the command

[ns] Expponential traffic over SCTP

2007-09-12 Thread Elisabete Reis
Hi, I´m working with SCTP in ns-2 and I have done some tests with Exponential Traffic over SCTP. I observed two things: 1 - Considering all Exponential parameters as default, it doesn´t work (segmentation fault caused by burtlen_setavg(ontime/interval_) instruction). I had need to

[ns] How to recompile and run tcl files?

2007-09-12 Thread Kavuluri, Mallesh (IE10)
In SUMMARY, what is the normal way to recompile .cc files that .tcl file requires and run the .tcl files? How shall we make necessary changes in Makefile? I have tried make clean, make depend, ./configure, make. Even I tried ./install in ns-allinone-2.28 folder and then tried the