<$BlogRSDUrl$>

Wednesday, February 04, 2004

I have installed another wireless network simulator - glomosim-2.03 in my machine. I haven't tried to use it yet but it is very scalable. I need a simulator that is scalable to thousands of nodes. Therefore, NS-2 may not suit my need anymore. Nevertheless, I will try out glomosim and see how it performs. The installation of glomosim on Sun Solaris system is not a tough one. First of all download glomosim. Then unzip the package and tarball by typing the following commands:

#gunzip glomosim-2.03.tar.gz
#tar -xvf glomosim-2.03.tar

By doing this, we will have a new directory "glomosim-2.03" under our current working directory. Then we should install PARSEC on our machine by first setting an environment variable and adding a path in sun-solaris (with gcc compiler). In order to do this, I edited my .bashrc file (or .bash_profile) by adding in these lines:
PCC_DIRECTORY=/~/glomosim-2.03/parsec
export PCC_DIRECTORY

PATH=$PATH:/~/glomosim-2.03/parsec/solaris-gcc/bin
export PATH

Then, the system should be able to recognize pcc from the command line.
#pcc
No input files.

Then we go to /~/glomosim-2.03/glomosim/main/ to run the makefile:

#make

I encountered an error here. It may because the system is not able to find pc_api.h file. Therefore I copied the two .h files from /~/glomosim-2.03/parsec/solaris-gcc/include/ into /~/glomosim-2.03/glomosim/main/. Then run the makefile again.

It may run correctly. Otherwise you may encounter some error of not finding runtime. Therefore I copied the 'runtime' directory into parsec
#cd /~/glomosim-2.03/parsec/
#cp -rf /~/glomosim-2.03/parsec/solaris-gcc/runtime ./

Now get back to /~/glomosim-2.03/glomosim/main/ and run the makefile again.

After this, it should be run without any problem. After the installation, to check whether glomosim is installed properly, we go to /~/glomosim-2.03/glomosim/bin and type the following command:
#glomosim config.in

Then we can compare the output file "glomo.stat" with "glomo.stat.sample" under the same directory.

Comments:
respested sir!

i am the student of comsats abbottabad in pakistan
i am doing my MS thesis in VANETs
there is problem when i am installing the glomosim on window XP

the "pcc -env" work well but when i typed the

C:\Program Files\glomosim-2.03\glomosim\main\makent.bat

it gives errors like

can't open file


file\glomosim-2.03\parsec\windowsnt-4.0-vc6\include

no such file or directory tmp-4060.c





cann't open include file 'pc_api.h' no such file or directory


and many more of the same type





sir please help me out, i have already spend 3 weeks on this problem. so please sir help me
help me at smb1118@gmail.com
or sardarbilal@ciit.net.pk
 
Post a Comment

This page is powered by Blogger. Isn't yours?