Swarm: applications
| Main Page | |||||||
|---|---|---|---|---|---|---|---|
| Introduction to Swarm | |||||||
| Swarm software | |||||||
| |||||||
| Swarm Development Group | |||||||
| Swarm community | |||||||
| Swarm resources | |||||||
Objective C Swarm Applications
Swarm applications are distributed separately: You will need to download and unpack applications independently. You will next need to change the definition of the SWARMHOME environment variable to point to the location of your Swarm installation (typically /usr/local/ or /usr/ if you've installed it from a binary package on a GNU/Linux system). All you need to do to compile an application is type make, and it will compile and link.
There is a new package of applications for Swarm-2.2. This is a revised version, correcting a couple of glitches in saving of screen snapshots: http://lark.cc.ku.edu/~pauljohn/Swarm/swarmapps-objc-2.2-2.tar.gz. Please keep testing and let me know how it works.
That package contains example Swarm applications, including classics like the Swarm tutorial, heatbugs and mousetrap, as well as some new programs like arborgamesII (a simulation of forests), schellingII (Schelling's neighborhood segregation model), conway (the Game of Life), and sss (Swarm Sugar Scape). We are soliciting volunteers who want to maintain some 'orphaned' applications from swarmapps-2.1.1. These apps that need love and attention are market, template, and hello-world. If you are interested in taking on one of those applications, or offering up other applications, contact PJ 22:40, 22 April 2005(EST).
Java Swarm Applications
Java applications can be run in the development environment of your choice. You must ensure that the javaswarm DLL is in the PATH and that swarm.jar is available as a library (e.g. in the CLASSPATH).
As of 2.0.1, Sun JDK 1.1, Sun JDK 1.2, and Kaffe are known to work. Swarm 2.0.1 is known to work with JBuilder3 and Visual Caf� and not to work with Visual Age 2.
For users that prefer or require a command line interface, we provide the scripts javaswarm and javacswarm for running and compiling Java Swarm applications, respectively.
For some notes and problems on running Swarm Java applications from Tim Howe, see: Talk:Swarm: applications
There are Java versions of the Swarm classics heatbugs and mousetrap. The versions that worked with Swarm-2.1.1 and also with Swarm-2.2 are currently available in the testing subdirectory of the ftp archive. Look for jheatbugs-2001-03-28.tar.gz and jmousetrap-2001-09-13.tar.gz. We are currently in the process of working out all the kinks in a new and improved version of jheatbugs (based on the work of Tim Howe).
- jheatbugs-3.0.txt (unauthorized) with Straight-Shot Unambiguous Instructions for Installing Swarm
These are the versions that worked with Swarm-2.1 (not with 2.1.1 or after)
Support Software
The statistical package R, a SPlus clone, can read and write HDF5 files in a form compatible with Swarm object-serialization features, with a source or w32 module.

![[Main Page]](/stylesheets/images/wiki.png)