Re: [ns] finding location of segmentation fault in multiple c++ files

2007-03-12 Thread ?e Olbert

It seems to me as your problem lies in how you setup your simulation in
the tcl script. Otherwise the problem lies in your own c++ code if you
wrote any, unless, it is a already known problem (like the selection of
queue discussed previously).

Is this ddd part of ns-2? If not, please direct the question to the proper
instance.


>
> ns has multiple c++ source files (a few hundred), and im
> getting a Segmentation Fault in the execution. using ddd, i cant find out
> where and at which exact source code line (or function) the segmentation
> fault is being caused, because ddd allows only one source code file to be
> open at a time. so when i execute the program using ddd, i dont know which
> source file to keep open as i dont know where the segmentation fault is
> being caused.
>
> furthermore, when i step through the program line by line, keeping the
> source file with the main() function open, how do i step through all the
> files (visuallly) as the control goes from one  source file to the next,
> line by line
> since ddd allows only one source file to be open at a time.
> (im hoping to find the location of the segmention fault like this)
>
> furthermore, ddd doesnt recognise packet.h (and other *.h files) as source
> files which can be opened.
>
> can anyone please help me out here. how do i solve the abovementioned
> problems, and is there a way to keep multiple source files open.
> i will be grateful for any suggestions or help i recieve
>
> thanks in advance
> regards
> pankaj
>




[ns] IEEE International Symposium on Wireless Vehicular Communications (IEEE WiVeC)

2007-03-12 Thread Miguel Sepulcre

[Apologies if you receive multiple copies of this CFP.]


1st IEEE International Symposium on Wireless Vehicular Communications (IEEE
WiVeC'07)
30th September - 1st October 2007, Baltimore, USA
Renaissance Harborplace Hotel, 202 East Pratt Street, Baltimore, MD, USA,
21202

http://www.ieee-wivec.org

Sponsored by the IEEE Vehicular Technology Society (VTS)


Wireless vehicular communications has been identified as a key technology
for increasing road safety and transport efficiency, and providing Internet
access on the move to ensure wireless ubiquitous connectivity. The potential
of this technology has been acknowledged with the establishment of ambitious
research programs worldwide, such as the European eSafety initiative, the US
programs derived from the Intelligent Vehicle Initiative and the Japanese
InternetITS and AHS programs.

The IEEE Vehicular Technology Society (VTS) currently covers through its
areas of interest (Mobile Radio, Transportation Systems and Automotive
Electronics) all technical aspects needed to make wireless vehicular
communications a reality. As a result, the IEEE VTS society has decided to
establish a technical symposium on wireless vehicular communications, with
the first issues planned to be co-located with the reputed IEEE VTC
conferences.

The IEEE International Symposium on Wireless Vehicular Communications
(WiVeC) will cover all vehicular wireless communications aspects of
Vehicle-to-Vehicle (V2V), Vehicle-to-Infrastructure (V2I) and
Vehicle-to-Person (V2P) communications, including implications on transport
efficiency and safety, implications on automotive electronics, liability
issues, standardizations efforts and spectrum assignment.

The first IEEE WiVeC symposium will be collocated with the 66th IEEE
Vehicular Technology Conference and will take place at the Renaissance
Harborplace Hotel in Baltimore on the 30th September and 1st October 2007.
Combined registrations packages will be offered to attendees to WiVeC and
VTC conferences.

Accepted papers will appear in the conference proceedings published by the
IEEE and will be included in the IEEE Xplore digital library. A selection of
the best five WiVeC papers will be published in a special issue of the IEEE
Vehicular Technology Magazine www.ieeevtm.org. Authors are encouraged to
submit full papers (a maximum of five pages) through the conference web
site.


Topics of interest
--
The WiVec Symposium seeks original papers - not published or currently under
review for another workshop, conference, or journal - in the area of
vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), and
vehicle-to-person (V2P) wireless communications. Areas of interest include,
but are not limited to:

* RF technologies, antenna design, physical layer and propagation models.
* Radio resource management and interference management.
* Spectrum assignment and EMC regulations.
* Architecture, networking protocols (including ad-hoc, routing, data
dissemination, etc) and their evalutation.
* QoS and cross-layer optimization design.
* Communications systems and technologies.
* Testbeds and simulation platforms.
* Interworking with sensor network technologies.
* In-car electronics and embedded integration of wireless vehicular
communications.
* Roadside infrastructure.
* Mobility management, mobility and vehicle traffic models.
* Digital maps and location technologies.
* Decision and control issues.
* Human-Machine Interface.
* Applications (Ecall, toll collection, traffic information, wireless
diagnosis etc.).
* Security, liability and privacy.
* Standards development, business models, policies (e.g., Cooperative
aspects of vehicular communication).
* Assessment of impact on transport efficiency and safety.
* Scalability issues in metropolitan-wide vehicular networks.


Submissions
---
Authors are encouraged to submit full length papers (maximum 5 pages)
following the submission guidelines provided at www.ieee-wivec.org Accepted
papers will appear in the conference proceedings published by the IEEE and
will be included in the IEEE Xplore digital library.

A selection of the best five WiVeC papers will be published in a special
issue of the IEEE Vehicular Technology Magazine (www.ieeevtm.org).


Organizing Committee (to be completed)

General Co-Chairs:
- Mario Gerla, University of California (UCLA), USA
- Javier Gozalvez, University Miguel Hernandez, Spain

Technical Program Co-Chairs:
- Fan Bai, General Motors, USA
- Hannes Hartenstein, Karlsruhe University, Germany

Speakers Chair
- Timo Kosch, BMW, Germany

Panel Chair
- Jim Misener, PATH Berkeley, USA

Finance Chair:
- James Irvine, University of Strathclyde, UK


Important Dates
---
Paper Submission Deadline, 15 April 2007
Notification of acceptance, 22 May 2007
Camera-ready papers du

[ns] NS validate tests - replace compress by gzip?

2007-03-12 Thread Joachim Fabini

Hi,

just a (maybe heretic) proposal: is it feasible and
possible to replace the  utility with  
for test result compression in one of the future NS-2.x
releases? 

The use of compression/decompression tools within
test-all-template1 is currently rather inconsistent: it 
uses  for test compression but gzip -dc for 
test decompression just a few lines later. (I believe 
it's hard-coded and not autoconfigured, didn't check it 
though). If gzip is required anyhow, why not use it
also for compressing the result files?

Background: compress uses patented algorithms and is
not implemented on most to all free Unix derivates. Gzip 
provides better compression ratio and is available under
the GPL. 

Any comments on this?

best regards
  Joachim

PS: Changing is straight-forward: textual replacement of
6 occurrences of .Z with .gz and replacing compress on 
line 120 of test-all-template1 with gzip.



[ns] finding location of segmentation fault in multiple c++ files

2007-03-12 Thread pankaj chand

ns has multiple c++ source files (a few hundred), and im
getting a Segmentation Fault in the execution. using ddd, i cant find out
where and at which exact source code line (or function) the segmentation
fault is being caused, because ddd allows only one source code file to be
open at a time. so when i execute the program using ddd, i dont know which
source file to keep open as i dont know where the segmentation fault is
being caused.

furthermore, when i step through the program line by line, keeping the
source file with the main() function open, how do i step through all the
files (visuallly) as the control goes from one  source file to the next, 
line by line
since ddd allows only one source file to be open at a time.
(im hoping to find the location of the segmention fault like this)

furthermore, ddd doesnt recognise packet.h (and other *.h files) as source 
files which can be opened.

can anyone please help me out here. how do i solve the abovementioned
problems, and is there a way to keep multiple source files open.
i will be grateful for any suggestions or help i recieve

thanks in advance
regards
pankaj

_
Spice up your IM conversations. New, colorful and animated emoticons. Get 
chatting! http://server1.msn.co.in/SP05/emoticons/



[ns] segmentation fault

2007-03-12 Thread h sh

Hi 
   

I implemented UM-OLSR NS2 (after correctly compiled!) 
  But during simulation. I received the message: "segmentation fault"
   
  I want solve of this error 
   
  Please help me!
   
  Best regards,
   
   Hanan

 

 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.


Re: [ns] How could I know if my NS is working right?!

2007-03-12 Thread maruf

Hey,

if you are a new user to ns , try the link below. It's a simple tcl program. 
Download it, save it in a  folder and run it.

http://nile.wpi.edu/NS/Example/ns-simple.tcl

Running command is:
$>ns ns-simple.tcl

You must make sure you have added/exported the PATH shown after completion of 
the installation.

If it's working right you will have an output file called out.tr and out.nam in 
that folder.

maruf


- Original Message -
From: "super.ismiti" <[EMAIL PROTECTED]>
Date: Monday, March 12, 2007 1:42 pm
Subject: [ns] How could I know if my NS is working right?!
To: ns-users@ISI.EDU


>  Hi all,
>  
>  I think that the installation of the NS2 here in my computer was OK.
>  But I would like to test it!
>  How could I test if the NS2 was installed with success?
>  
>  Thanks in advance,
>  Ricardo. 



Re: [ns] A simple umts scenario

2007-03-12 Thread harry2511


hi
this is due to fact that eurane patch is not compatible with nam. but this
also doesn't show any packet sent to umts node in trace file. please help in
getting that///

Luqman Munawar-2 wrote:
> 
> 
> hello,
> 
> I have patched ns-2.28 with EURANE. I wanted to test the UMTS link but 
> my code seem to contain some error. UE, node 2 in my case, is not 
> connected as visible in nam even though I have created a DCH channel.
> 
> Can anyone give a hint what could be wrong in the following script.
> 
> Thank you in anticipation. cheers,
> 
> Luqman
> 
> 
> 
> .
> #Create a simulator object
> set ns [new Simulator]
> 
> #Open the nam trace file
> set nf [open out.nam w]
> $ns namtrace-all $nf
> 
> #Define a 'finish' procedure
> proc finish {} {
> global ns nf
> $ns flush-trace
> #Close the trace file
> close $nf
> #Execute nam on the trace file
> exec nam out.nam &
> puts "Simulation ended!"
> exit 0
> }
> 
> # Insert your own code for topology creation
> # and agent definitions, etc. here
> 
> # Node address is 0
> $ns node-config -UmtsNodeType rnc
> set rnc [$ns create-Umtsnode]
> 
> # Node address is 1
> $ns node-config -UmtsNodeType bs \
> -downlinkBW 32kbs \
> -downlinkTTI 10ms \
> -uplinkBW 32kbs \
> -uplinkTTI 10ms \
> 
> set bs [$ns create-Umtsnode]
> 
> #Iub configuration between RNC and BS
> $ns setup-Iub $bs $rnc 622Mbit 622Mbit 15ms 15ms DummyDropTail 2000
> 
> # Node address for ue1 is 2
> $ns node-config -UmtsNodeType ue \
> -baseStation $bs \
> -radioNetworkController $rnc
> 
> set ue1 [$ns create-Umtsnode]
> 
> # Node address for sgsn0 and ggsn0 is 3 and 4, respectively
> set sgsn0 [$ns node]
> set ggsn0 [$ns node]
> 
> # Node address for node1 is 5
> set node1 [$ns node]
> 
> $ns duplex-link $node1 $ggsn0 622Mbit 1ms DropTail 1000
> $ns duplex-link $ggsn0 $sgsn0 622Mbit 1ms DropTail 1000
> $ns duplex-link $sgsn0 $rnc 622Mbit 1ms DropTail 1000
> 
> $rnc add-gateway $sgsn0
> 
> set rtp_sender [new Agent/RTP]
> $ns attach-agent $node1 $rtp_sender
> 
> set rtp_receiver [new Agent/RTP]
> $ns attach-agent $ue1 $rtp_receiver
> 
> # Create a CBR traffic source and attach it to udp0
> set cbr0 [new Application/Traffic/CBR]
> $cbr0 set packetSize_ 500
> $cbr0 set interval_ 0.005
> $cbr0 attach-agent $rtp_sender
> 
> #creation of DCH channel
> $ns node-config -llType UMTS/RLC/AM \
> -downlinkBW 64kbs \
> -uplinkBW 64kbs \
> -downlinkTTI 10ms \
> -uplinkTTI 10ms
> 
> set dch0 [$ns create-dch $ue1 $rtp_receiver]
> 
> #Call the finish procedure after 5 seconds simulation time
> $ns at 5.0 "finish"
> 
> #Run the simulation
> $ns run
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/A-simple-umts-scenario-tf1930710.html#a9441057
Sent from the ns-users mailing list archive at Nabble.com.



[ns] RTS/CTS implementation

2007-03-12 Thread Nitin Maslekar

hi
i am trying to implement Hidden terminal problem in NS2 can any one help in
setting the range of transmissions
I tried with

Phy/WirelessPhy set CSThresh_ 3.5e10
but when i do this all the range between the all the 3  nodes changes
whereas i want to increase between only two nodes

thanks in advance

-- 
Ability can take you to the top,but you need character to be there


[ns] How could I know if my NS is working right?!

2007-03-12 Thread super.ismiti

Hi all,

I think that the installation of the NS2 here in my computer was OK.
But I would like to test it!
How could I test if the NS2 was installed with success?

Thanks in advance,
Ricardo.


[ns] Help count of paths

2007-03-12 Thread paolalonetti

Hi, 
do anyone known how I can count how many paths there are between 2 nodes? I 
thought I can use the "If" in trace file, that is flow_id, but it's always 0!!
Thank in advance
Paola


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada





[ns] R: Re: Awk script for Jitter in NS2

2007-03-12 Thread Marco Fiore


For the question on the jitter, you can find the formulae
in the read.
me. There's no "right" formula, I used to
employ the first, which is 
defined in RTP's RFC.
I added the other three upon request of other 
users,
who usually employed them for jitter calculation.

Regards,

Marco


>Messaggio originale
>Da: [EMAIL PROTECTED]
>Data: 11-mar-2007 11.13 PM
>A: 
>Ogg: Re: [ns] Awk 
script for Jitter in NS2
>
>
>Regarding your second question, my 
understanding is that -Hs is the
>node at which the event is observed, 
and not necessarily the source.
>In receive events, -Hs is the node 
receiving the packet and hence
>Hs = Hd (the receiver is the observer 
of the event) and other
>subsequent fields will report the actual 
source.
>
>
>On Sun, 11 Mar 2007 18:01:43 -0400
>"Shaili Desai" 
<[EMAIL PROTECTED]> wrote:
>
>> 
>> Hello all
>> 
>> I wanted to 
know if anyone has used trace2stats v0.5b awk scripts for
>> wireless 
formats, and if you can explain me the jitter file in it. I
>> mean we 
have 4 different values of jitter, and the calculations in
>> the 
script dont explain me fully which jitter you would look for
>> finding 
out whats the jitter for that particular communication.
>> Can someone 
please help me for this?
>> It would be a great help.
>> Also, I had 
asked this que before,  I wanted to know during post
>> analysis 
generally we look at the AGT level right? But in my
>> simulations, I 
am getting AGT in 's' but if that AGT in 's' is for
>> lets say Hs-2 to 
Hd-0 then at receiving I m not getting r with Hs-2
>> and Hd-0, then 
does it mean ther is a flaw? Also I am getting r with
>> Hs and Hd both 
0.
>> 
>> Can anyone please help me with this.
>> 
>> Thanks in 
advance.
>
>




Re: [ns] segmentation fault

2007-03-12 Thread Ahmad Khayyat

This is a generic message caused most probably by misbehaving pointers.
Your best shot is to use a debugger, e.g. gdb. It will pinpoint the
source code line causing the error for you.

On Mon, 12 Mar 2007 12:13:08 +0100
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> 
> 
> Hi, 
> during a wireless simulation (after some code moifications, correctly
> compiled!) I received the message : "segmentation fault" 
> What's the meaning of this message?
> why the simulation does not finish correctly?
> 
> Please help me!
> 
> Best regards,
>  
> 
> 
> --
> Passa a Infostrada. ADSL e Telefono senza limiti e senza canone
> Telecom http://click.libero.it/infostrada
> 
> 



Re: [ns] Segmentation fault

2007-03-12 Thread Nour Brinis

 Hi,

Try to change the interface queue type to CMUPriQueue.

Instead of,
set opt(ifq)Queue/DropTail/PriQueue;
use:
set opt(ifq)CMUPriQueue;

Hope this helps!
Nour.



On 3/12/07, smthin <[EMAIL PROTECTED] > wrote:
>
>
>
> Dear all,
>
> When running the routing protocol DSR, it shows  "Segmentation fault".
> If anyone know abouts this, please point out how can i slove!
> I am using ns-allinone-2.29.2 on window.
>
>
> Thanks
> smthin
> --
> View this message in context:
> http://www.nabble.com/Segmentation-fault-tf3387386.html#a9429027
> Sent from the ns-users mailing list archive at Nabble.com
> .
>
>


Re: [ns] How to read the current value of a variable ?

2007-03-12 Thread Timo Reimann

Hello Mouli,


G.Chandramowli wrote:
>   I am trying to invoke an event at specified time . The event does
> something based on value of a variable. And the variable  keeps on
> changing
> during the simulation .
>   When this event is invoked , it reads the initial value of the variable
> only and not its current value . Any idea on how to fix this 

I'm not sure if I get you straight and I've only just started using ns-2.
Being aware of that, could it be possible that every time you read that
variable it might be a new instance of the corresponding object and thus
it gets re-initialized in the constructor?

If that's the case, it might help declaring the variable as static.


HTH,

--Timo



[ns] Urgent:Need help for MANET(Wireless scripts)

2007-03-12 Thread Vijay Kumar c

Hi  ns users,

My problem statement is also given below
Topic:Location Management in MANET using NS2(using Wireless scripts)

I have already gone through Marc Griegh Tutorial and ns Documentation but
failed to find any suitable answer

I want to send the packets to different multiple destinations from single
sender(mobile node 1 acts as source remaining act as Destinations)
if acknowledgement is recieved the mobile node is located otherwise i have
to retransmit the packet(Plz anyone can tell me how to retransmit the packet
after setting time intervals for each mobile node) for 10 mobile nodes
I can find the packets sent and acknowledgement from tracefile but how can i
transmit the packets for which the packets sent from sender to reciever
failed so how to retransmit TCP,UDP Packets.

Bandwidth allocation for each mobile node is also one problem which needs to
solved.
Kindly help me
Thanks and  Reg:
Vijay


[ns] basics steps to implement changes in .cc files and make the changes available

2007-03-12 Thread Srirupa Dasgupta

  


Deasr ns-users,
can some one tell me how to add a new protocol to ns2.I have done he required 
in Marc Greis tutorial .Now I just want to change the name og Ping protocol to 
say sdg..I have changed all ping staments with Sdg . then done make depend and 
make..It is giving errors.
Please help
Srirupa


[ns] please help

2007-03-12 Thread kishore talwariya

hii,
 when i run "make" command in ns directory then i
get following errors, so please kindly give me
solution to remove following errors:

for i in indep-utils/cmu-scen-gen/setdest
indep-utils/webtrace-conv/dec
indep-utils/webtrace-conv/epa
indep-utils/webtrace-conv/nlanr
indep-utils/webtrace-conv/ucb; do ( cd $i; make all; )
done
make[1]: Entering directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/dec'
make[1]: Entering directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/epa'
make[1]: Entering directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/local/ns-allinone-2.29/ns-2.29/indep-utils/webtrace-conv/ucb'



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/



[ns] How to pass information from Mac layer to Networking layer

2007-03-12 Thread noe


Hello Evryone,

 I am a newbie in ns , trying to pass some information from mac layer to
L3 (ie. to the aodv agent); what i need from AODV agent is to have a
mechanism to go and periodically check some parameters in MAC layer. Until
now I could not find any such implementation guide on the net;any help is
more than appreciated! Thanks

Noe
-- 
View this message in context: 
http://www.nabble.com/How-to-pass-information-from-Mac-layer-to-Networking-layer-tf3376536.html#a9397332
Sent from the ns-users mailing list archive at Nabble.com.



[ns] segmentation fault

2007-03-12 Thread [EMAIL PROTECTED]


Hi, 
during a wireless simulation (after some code moifications, correctly 
compiled!) I received the message :
 "segmentation fault" 
What's the meaning of this message?
why the simulation does not finish correctly?

Please help me!

Best regards,
 


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada





[ns] May someone send me a simple tcl file about dcf simulation

2007-03-12 Thread wenping zhang

Dear ,all,


I have some problem while configuring my first 802.11 .tcl script,

like solving deciding the destination of packet,etc.


May someone give me one.

Thank you!