next up previous contents
Next: 2.3 HelloWorld Example Up: 2. SIMULATION IN SVM Previous: 2.1 System Requirements   Contents

2.2 Installation

The first step is to obtain SVM. The latest release can be downloaded from its website:

http://msdl.cs.mcgill.ca/people/tfeng/?research=svm

The .tar.gz packages are for Linux. Users may use the following command to extract those packages:

tar zxvf svm-xxxxx.tar.gz
(Here, xxxxx is the version number followed by the architecture, or src if the package is a source package.) A new directory will be created with SVM in it.

The .zip packages are for Windows. They can be unpacked with WinZip (http://www.winzip.com/) or WinRAR (http://www.rarlab.com/).

The users who want to experience the most cutting-edge features of SVM may download it from the CVS (Concurrent Versions System) server with the following commands (executed in Linux systems or in Cygwin in Windows):

export CVS_RSH="ssh"
cvs -z3 -d:ext:anoncvs@savannah.nongnu.org:/cvsroot/svm co svm

The CVS server is hosted by Savannah (https://savannah.nongnu.org/). SVM's project home on Savannah is at:

https://savannah.nongnu.org/projects/svm

Windows users are strongly advised to use binary distributions. Those distributions build in all the necessary libraries and do not require the Python environment. The users simply unpack the packages and execute svm.exe or scc.exe in it.

SVM developers or users of other operating systems (Linux, FreeBSD, SunOS, etc.) may download the source packages. svm.py and scc.py in the packages contain the main program of SVM and SCC, respectively. They are executable in the Python environment. For example, the following command starts SVM with no parameter. The command-line help will be printed to the console.

python svm.py
(Support svm.py is in the current directory.)

Start-up scripts svm and scc in the same directory as svm.py and scc.py are written for Linux users. By adding the SVM directory to the PATH environment variable, the users can invoke SVM and SCC simply by running svm and scc from any directory.

Similarly, scripts svm.bat and scc.bat are written for Windows users to invoke SVM and SCC from any directory.

If source packages or CVS versions are used, the users must manually build the PYPVM library before distributed simulation can be performed:


next up previous contents
Next: 2.3 HelloWorld Example Up: 2. SIMULATION IN SVM Previous: 2.1 System Requirements   Contents
Thomas Huining Feng
2004-04-05