SERVFORU

How to install GlomoSim in Linux Mint & Ubuntu & RedHat

In GloMoSim we are building a scalable simulation environment for wireless and wired network systems. It is being designed using the parallel discrete-event simulation capability provided by Parsec. GloMoSim currently supports protocols for a purely wireless network. In the future, we anticipate adding functionality to simulate a wired as well as a hybrid network with both wired and wireless capabilities.

GLomoSIm User Manual is here : http://pcl.cs.ucla.edu/projects/glomosim/GloMoSimManual.html



To install GloMoSim in Ubuntu or Linux Mint

Follow the steps



1) Install Parsec by typing
    sudo apt-get install parsec47
 

3) Change into the glomosim-2.03/glomosim/main
    cd glomosim-2.03/glomosim/main

4) Build by typing:
    ./make

To the set the environment variables edit the .bashrc in your home directory and type for example:
    export PCC_DIRECTORY="/home/mydir"

and save the .bashrc file. Logout and login again then type the following at the command line to make sure the environment variable is set:
    echo $PCC_DIRECTORY
you should see /home/mydir


TO INSTALL ON REDHAT OR OTHER DISTROS

  • Uncompress glomosim-2.03.tar.gz file
$tar -xzvf glomosim-2.03.tar.gz

  • Set Environment variable
$ gedit ~/.bashrc

Then add following lines

PCC_DIRECTORY=GloMoSim_ROOT/glomosim-2.03/parsec/redhat-7.2
export PCC_DIRECTORY


  • Copy both files pcc and parsecc from glomosim-2.03/parsec/redhat-7.2/bin/ dir and copy into usr/bin dir
$ sudo cp glomosim-2.03/parsec/redhat-7.2/bin/pcc glomosim-2.03/parsec/redhat-7.2/bin/parsecc usr/bin


  • Goto glomosim-2.03/glomosim/main dir and run make.
$ cd glomosim-2.03/glomosim/main
$ make
Share this article :
 

Post a Comment

 
Support : Ebin EPhrem | Ebin Ephrem | #Gabbarism
Copyright © 2011. Services | Embedded Support | Reviews | Virtual Technologys - All Rights Reserved
Template Created by ebinephrem.com Published by Ebin Ephrem
Proudly powered by Blogger