Documente Academic
Documente Profesional
Documente Cultură
Mohammed Al-Kateb
Department of Computer Science
The University of Vermont
{malkateb@cs.uvm.edu}
GTSNetS (Georgia Tech Sensor Network Simulator) is a large-scale wire-
less sensor networks simulator [5]. It is best characterized by its scalability,
adaptability, and extensibility. It can be used to simulate a WSN scaling up
to several hundred thousand nodes. The adaptability comes from the differ-
ent methods included in the baseline implementations of energy consumption
models, reading accuracy models, routing protocols and applications, and
tracing options. The extensibility comes from the modular implementations
using the C++ object-oriented programming language.
DISCLAIMER
ACKNOWLEDGMENT
1
System Configuration
Installation instructions presented in this tutorial has been experienced over
a system with the following configuration:
Hardware
Processor : Intel(R) Core(TM)2 CPU T5300 @ 1.73GHz
Cache size : 2048 KB
Memory : 1025920 kB
Software
Linux 2.6.22-14-generic (Ubuntu 7.10)
2
Installation Steps
The installation of the GTSNetS goes through 5 main steps
4. Installing GTSNetS
3
Step 1: g++ installation
g++ is C++ compiler that takes the C++ source code and compile it into
a binary file that can be executed. The g++ compiler can be downloaded
in a number of forms. A recommended way to download it, if not already
on your system, is using the following command:
4
Step 2: Qt/X11 installation
Qt [3] is a cross-platform application framework that features several char-
acteristics including: comprehensiveness, portability, ease-of-use, and open-
source availability. Qt/X11 [4] is the Qt edition for Unix and Linux operat-
ing systems, and it is an ideal framework for Linux-based systems to develop
platform-independent applications.
To install Qt/X11, the following steps are recommended:
2. Download Qt/X11
sudo wget ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.3.5.tar.gz 1
6. Open the /etc/profile file using the gksudo gedit /etc/profile command,
and add the following 6 lines at the end of the file:
# The following lines has been added to configure Qt/X11
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD LIBRARY PATH=$QTDIR/lib:$LD LIBRARY PATH
export QTDIR PATH MANPATH LD LIBRARY PATH
5
8. Build a new Makefile using the following command and answer Y
sudo ./configure
6
Step 3: libSynk installation
libSynk [2] is a software library for supporting communication and synchro-
nization features in distributed applications.
To install libSynk, the following steps are recommended:
2. Download libSynk
sudo wget ftp://ftp.cc.gatech.edu/pub/people/kalyan/libsynk/libsynk-current.tar.Z
7
Step 4: GTSNetS installation
This is the actual step of installing the GTSNetS simulator. To install the
GTSNetS, the following steps are recommended:
4. Download GTSNetS
sudo wget http://citi.insa-lyon.fr/ twatteyne/documents/watteyne gtsnets-
pub.tar.gz
7. Open the Makefile using the gksudo gedit Makefile command and make
sure that the following 2 lines are correctly present in the file
QT= -I/usr/local/qt/include -DHAVE QT
KITHOME= /root/libsync
8
Step 5: Test Examples
To test examples included with the GTSNetS, do the following:
9
Common Installation Errors and Their Solutions
This section presents common errors that may take place during the instal-
lation and suggested solutions of these errors.
10
Bibliography
11