GLOMOSIM installation on XP
Pre-Installation :
- Microsoft VC++ version 6.0 (Essential)
- JAVA JRE version 1.2 or higher (For VT)
- JAVA SDK version 1.2 or higher (For VT)
GLOMOSIM installation steps.
1. Download GloMoSim 2.03 (say save to “C:\glomosim2.03″)
2. Create folder parsec as “C:\glomosim2.03\parsec”
2.1 Go to glomosim2.03\glomosim\Parsec, open folder ‘windows-nt-vc6.0′, copy all files into “C:\glomosim2.03\parsec” directory. Delete all other folders under “glomosim2.03\glomosim\Parsec” directory (since they are for other OS)
3. Set pcc environmental variables (For Parsec)
1) My Computer -> Properties -> Advanced -> Environmental Variables
2) New “PCC_DIRECTORY”, value = “C:\glomosim2.03\parsec”
3) Set path “C:glomosim2.03\parsec\bin”
4. Set VC6.0 environmental variables (if default, go to step 5)
1) Set include:
“C:Program FilesMicrosoft Visual StudioVC98MFCInclude; C:Program FilesMicrosoft Visual StudioVC98Include”
2) Set lib:
“C:Program FilesMicrosoft Visual StudioVC98MFCLib; C:Program FilesMicrosoft Visual StudioVC98Lib”
3) Set path:
“C:Program FilesMicrosoft Visual StudioCommonMSDev98Bin”
Another way to do this is: run “”vcvars32.bat”" from C:Program FilesMicrosoft Visual StudioVC98\bin.
5. Check pcc environment by “pcc -Cenv” in DOS prompt (cmd)
This should not return any errors
6. GloMoSim Installation
Go to command prompt:
1) Go to c:\glomosim2.03\glomosim\main, “makent.dat”
this should not retrun any errors, if it does, there is no glomosim.exe made, so check for errors and get rid of them.
2) Go to glomosimglomosimbin, find “glomosim.exe”
3) Test glomosim. Under DOS: “glomosim config.in”
This should end as:
”
Execution time : 2.1250 sec
Number of messages processed : 4
Number of context switches occurred : 12
Number of Local NULL messages sent : 0
Number of Remote NULL messages sent : 0
Total Number of NULL messages sent : 0
NULL messages / Regular messages : 0.000
“
4) “glomo.stat” is generated after simulation, compare with “glomo.stat.sample”
7. Build GloMoSim Visualisation Tool (VT)
“C:glomosimglomosimJAVA_GUI”, type “javac *.java”, enter
You might have to set the java environment variable too (path to C:\j2sdk1.4.2_14\bin)
8. GloMoSim is now ready to use.
Tips for Troubleshooting
Step 8, “warning LNK4099: PDB, vc60.pdb” was not found
Local access restrictions, does not affect VT, ignore it
Disclaimer: The information provided here is of my best knowledge, I can not accept any responsibilities for any possible errors. However, please feel free to leave a message in the comments if you found anything erroneous, I will try to fix it as soon as possible. Thank you. : )
Here is a ppt to explain the GLOMOSIM ( Global Mobile Information System Simulator GloMoSim )installation steps on other platforms too.
download free glomosim visualization tool, GLOMOSIM, glomosim how to create glomosim.exe, glomosim installation, glomosim ppt glomosim under windowsRelated Articles:
This entry was posted on Wednesday, April 25th, 2007 at 4:38 pm and is filed under GLOMOSIM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.