LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 03-17-2012, 04:00 AM   #16
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
SUMO


hello,

i started using MOVE with sumo traffic simulator, for vanet. i have one problem is that, i can able to get node movement but packets are not moving , even if i specified ,in tcl code i view node movement code butnot packet flow code for neither tcp nor udp,

please help me regarding this
 
Old 03-20-2012, 01:02 AM   #17
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
Angry hi

SUMO Installation step for ubuntu server
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid


please tell me step to install SUMO in this OS
thank u in advance
 
Old 03-20-2012, 04:00 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
#17
Quote:
Please tell me step to install SUMO in this OS
Ubuntu, post #10 here
http://www.linuxquestions.org/questi...4-a-811537/#10
 
Old 03-27-2012, 04:09 AM   #19
fiza
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
I am trying to install sumo simulator and move in ubuntu 11.10..sumo_0.13 installed successfully.but whe i tried to run those files in MOVE it shows deprecation error..pls help..
 
Old 05-07-2012, 09:40 AM   #20
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
Unhappy hello

hi,

Can please tell me how to installation step for Postgresql-8.4 on ubuntu10.10

thank u
 
Old 05-07-2012, 10:38 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Post # 20. This thread is about sumo only.
You cannot use another LQ members thread for an off topic question.
Please start a new thread.

sudo apt-get install postgresql-8.4
 
Old 06-01-2012, 03:11 AM   #22
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
hello,

A executing greedy forwarding routing protocol need help solve this error.

um_nodes is set 10
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...

(_o15 cmd line 1)
invoked from within
"_o15 cmd get-ragent"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o15" line 2)
(SplitObject unknown line 2)
invoked from within
"$node_($i) get-ragent"
("for" body line 2)
invoked from within
"for {set i 0} {$i < [expr $opt(nn) - 1]} {incr i} {
set ragent1 [$node_($i) get-ragent]
for {set j [expr $i + 1]} {$j < $opt(nn)} {incr j} {
set r..."
(file "nbr.tcl" line 35)
invoked from within
"source.orig nbr.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source "nbr.tcl""
(file "gori.tcl" line 173)


i have attached file that should be included in tcl file.
help me
 
Old 06-01-2012, 03:15 AM   #23
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
error while executing

um_nodes is set 10
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...

(_o15 cmd line 1)
invoked from within
"_o15 cmd get-ragent"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o15" line 2)
(SplitObject unknown line 2)
invoked from within
"$node_($i) get-ragent"
("for" body line 2)
invoked from within
"for {set i 0} {$i < [expr $opt(nn) - 1]} {incr i} {
set ragent1 [$node_($i) get-ragent]
for {set j [expr $i + 1]} {$j < $opt(nn)} {incr j} {
set r..."
(file "nbr.tcl" line 35)
invoked from within
"source.orig nbr.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source "nbr.tcl""
(file "goi.tcl" line 173)


am getting this error, please help me
Attached Files
File Type: txt nbr-tcl.txt (1.7 KB, 9 views)
 
Old 06-01-2012, 05:36 AM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
#22, #23.

Which version of allinone-2.xx ? ? Is it a modified / patched version ?
Please specify in details.

What is gori.tcl , goi.tcl ?


.

Last edited by knudfl; 06-01-2012 at 05:42 AM.
 
Old 06-01-2012, 12:08 PM   #25
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
Red face greedy forwarding

Which version of allinone-2.xx ? ? Is it a modified patched version ?
Please specify in details.

What is gori.tcl , goi.tcl , nbr.tcl ?
***************

am using ns2.33 its not patch, i modified manually according to step given in web
http://www.cse.ohio-state.edu/~sakai...s2_greedy.html

gori.tcl tcl file to run greedy protocol, nbr.tcl its a program calculate distance between two nodes

i followed exact step

not able run
 
Old 06-01-2012, 05:00 PM   #26
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 25
Quote:
I modified manually ..
Well, not actually required, when you have all the files in the package
ns2_greedyfrd.tar.gz http://www.cse.ohio-state.edu/~sakai...eedyfrd.tar.gz

I renamed the directory names to the real ones, and made an easy to use
ns-2.33-greedy.tar.gz https://docs.google.com/open?id=0B7S...2x0RGp3bTF1LTA
The scripts and the Makefile.in are included :
cd ns-allinone-2.33/ && tar xvf ns-2.33-greedy.tar.gz && ./install
( The export command for a non default compiler was omitted.)
Code:
[knudfl@localhost ns-2.33]$ ./ns greedy.tcl
num_nodes is set 7
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
If you want an answer for the unknown "gori.tcl", please show the code.
( Or a link.)
.
Attached Images
File Type: jpg result_nam.jpg (20.7 KB, 13 views)
 
Old 06-02-2012, 02:19 AM   #27
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
Unhappy Geographic Greedy Forwarding protocol

tej/ns-allinone-2.33/ns-2.33/tcl/ex/for-gree# ns greedy.tcl
num_nodes is set 7

(_o16 cmd line 1)
invoked from within
"_o16 cmd addr"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o16" line 2)
(SplitObject unknown line 2)
invoked from within
"_o16 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
GPSR {
set ragent [$self create-gpsr-agent $node]
}
DSR {
$self at ..."
(procedure "_o3" line 14)
(Simulator create-wireless-node line 14)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns_ node"
invoked from within
"set node_(0) [$ns_ node]"
(file "topo2.txt" line 3)
invoked from within
"source.orig topo2.txt"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source $val(src)"
(file "greedy.tcl" line 88)

am getting this error and i could not follow your last message and not able open the link what u sent
i have used same file, just modified makefile. instead of replacing file i just code where it required to modified .
u send me what you did?

please help me
Thank you
 
Old 06-02-2012, 07:31 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 27. Better start from scratch with a new unpacked ns-allinone-2.33.tar.gz.

Files in ns2_greedyfrd.tar.gz :
cd ns-allinone-2.33/
cp ns2_greedyfrd/ns2/greedy/ ns-2.33/
cp -a ns2_greedyfrd/ns2/packet/packet.h ns-2.33/common/
cp -a ns2_greedyfrd/ns2/queue/priqueue.cc ns-2.33/queue/
cp -a ns2_greedyfrd/ns2/tcl_lib/* ns-2.33/tcl/lib/
cp ns2_greedyfrd/script/* ns-2.33/

mv greedy-Makefile.in.txt Makefile.in
cp -a Makefile.in ns-2.33/

export CC=gcc-4.1 CXX=g++-4.1 && ./install

.
Attached Files
File Type: txt greedy-Makefile.in.txt (19.2 KB, 13 views)

Last edited by knudfl; 06-02-2012 at 07:39 AM.
 
Old 06-02-2012, 09:43 AM   #29
sonasanam
LQ Newbie
 
Registered: Mar 2012
Posts: 16

Rep: Reputation: Disabled
Unhappy

hecking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... (cached) gcc-4.3
checking whether the C compiler (gcc-4.3 ) works... yes
checking whether the C compiler (gcc-4.3 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc-4.3 accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc-4.3 -E
checking for X... (cached) libraries , headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strcasecmp... (cached) yes
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
gcc-4.3 -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c
dialog.c: In function ‘make_msg_box’:
dialog.c:780: warning: passing argument 2 of ‘getline’ from incompatible pointer type
dialog.c:780: error: too few arguments to function ‘getline’
dialog.c: In function ‘getline’:
dialog.c:899: error: argument ‘lptr’ doesn’t match prototype
/usr/include/stdio.h:671: error: prototype declaration
dialog.c:899: error: number of arguments doesn’t match prototype
/usr/include/stdio.h:671: error: prototype declaration
make: *** [dialog.o] Error 1
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g -c -o ctangle.o ctangle.c
ctangle.w:75: warning: conflicting types for built-in function ‘strlen’
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409: warning: conflicting types for built-in function ‘strlen’
common.w: In function ‘fatal’:
common.w:1176: warning: format not a string literal and no format arguments
gcc -g -o ctangle ctangle.o common.o
gcc -g -c -o cweave.o cweave.c
cweave.w:79: warning: conflicting types for built-in function ‘strlen’
cweave.w: In function ‘print_cat’:
cweave.w:1739: warning: format not a string literal and no format arguments
gcc -g -o cweave cweave.o common.o
ln: creating symbolic link `cweave': File exists
ln: creating symbolic link `ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
gcc-4.1 -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io
make: gcc-4.1: Command not found
make: *** [test_io] Error 127
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
gcc -I../include -L../lib -DFBSD -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb
gcc -I../include -L../lib -DFBSD -o ../bin/sgb2alt sgb2alt.o -lm -lgb
gcc -I../include -L../lib -DFBSD -o ../bin/edriver edriver.o eval.o -lm -lgb
gt-itm has been installed successfully.
gcc -I../include -L../lib -o ../bin/sgb2comns sgb2comns.o -lm -lgb
gcc -I../include -L../lib -o ../bin/sgb2hierns sgb2hierns.o -lm -lgb
gcc -I../include -L../lib -o ../bin/sgb2ns sgb2ns.o -lm -lgb
sgb2ns has been installed successfully.
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.2.3 with gcc-4.1.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
make: Nothing to be done for `all'.
Zlib has been installed successfully.
============================================================
* Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc-4.1
checking whether the C compiler works... no
configure: error: in `/home/pankaja/tej/ns-allinone-2.33/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.


getting this error while executing : export CC=gcc-4.1 CXX=g++4.1 && ./install

i tried this ns-allinone-2.33$ export CC=gcc-4.3 CXX=g++4.3 && ./install
but getting this error


checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
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 config.h
config.status: config.h is unchanged
rm -f tcl2c++
g++4.3 -o tcl2c++ tcl2c++.o
make: g++4.3: Command not found
make: *** [tcl2c++] Error 127
tclcl-1.19 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


how to solve this? help me
 
Old 06-02-2012, 10:38 AM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
# 28 : Please edit post #28 , etc. to use code tags.
Write [/code] at code text end, and [code] at text start.
Or use the # button in the 'Advanced Editor'.
http://www.linuxquestions.org/questi....php?do=bbcode

Is the g++-4.1 compiler installed ? sudo apt-get install g++-4.1

Any problems installing g++-4.1 ?
Then you can instead use the gcc41-compat / g++41-compat.
Post #181 here ..
http://www.linuxquestions.org/questi...68/page13.html
Remark : A different export command : export CC=gcc41 CXX=g++41

.

Last edited by knudfl; 06-03-2012 at 10:53 AM.
 
  


Reply

Tags
greedy, sumo


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install sumo glitter Linux - Newbie 9 08-31-2013 04:04 PM
Sumo simulator gui problem in ubuntu 8.04 vidhoon Linux - Newbie 9 08-30-2011 12:39 PM
install sumo glitter Linux - Newbie 1 04-09-2011 10:17 AM
SUMO simulator GUI pronlem with ubuntu 8.04 vidhoon Linux - Networking 1 06-01-2010 01:21 PM
LXer: Mozilla SUMO Is No Lightweight LXer Syndicated Linux News 0 04-11-2009 01:00 PM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration