<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.swarm.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pauljohn32</id>
		<title>Swarm - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://www.swarm.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pauljohn32"/>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/wiki/Special:Contributions/Pauljohn32"/>
		<updated>2026-05-02T10:18:06Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.0</generator>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm:Mailing_lists&amp;diff=27</id>
		<title>Swarm:Mailing lists</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm:Mailing_lists&amp;diff=27"/>
				<updated>2015-03-07T06:29:18Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;'''Mailing lists''' are hosted on swarm.org.  ==Important notes== #'''Please, do not send subscription requests to the list, itself!!''' To subscribe, unsubscribe and general...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Mailing lists''' are hosted on swarm.org.&lt;br /&gt;
&lt;br /&gt;
==Important notes==&lt;br /&gt;
#'''Please, do not send subscription requests to the list, itself!!''' To subscribe, unsubscribe and general list information, please visit http://www.swarm.org/mailman/listinfo/ and choose the list you are interested in. &lt;br /&gt;
#'''You must be subscribed in order to post to lists!'''. To reduce spam, we've switched to subscriber-only posting. Non-members are not allowed to post messages to these list. If you wish to just be able to post without approval, you can subscribe and then immediately select the &amp;amp;quot;Disable delivery&amp;amp;quot; option. This means you will be able to post to the list in future without waiting for the list administrator to manually approve each post, but you won't actually receive postings to the list (unless you want to). You also must ensure that you post from an address that matches the address you are subscribed with.&lt;br /&gt;
#'''No HTML mail, please!''' Please send your mail in plain ASCII text, rather than HTML, it reduces bandwidth, is more portable (e.g. can be read under text-only mail clients like &amp;amp;quot;pine&amp;amp;quot;) and saves space in our mailing list archives. Also please refrain from posting attachments, unless absolutely necessary. Provide a link to a web or ftp site if you wish to make available a download (e.g. a tar file, PDF etc.)&lt;br /&gt;
&lt;br /&gt;
==Mailing lists==&lt;br /&gt;
&lt;br /&gt;
'''[http://www.swarm.org/mailman/listinfo/announce Announcements]:''' announce@swarm.org ([http://www.swarm.org/pipermail/announce/ archives])&lt;br /&gt;
&lt;br /&gt;
:The Swarm Announce list: announce@swarm.org, is the list for people interested in Swarm to keep in touch with progress on the system. Major announcements of milestones and miscellaneous information about Swarm are posted here. Please do not mail to announce yourself.&lt;br /&gt;
&lt;br /&gt;
'''[http://www.swarm.org/mailman/listinfo/support Swarm Support]''': support@swarm.org ([http://www.swarm.org/pipermail/support/ archives])&lt;br /&gt;
&lt;br /&gt;
:The  Swarm Support list, support@swarm.org, is for the discussion of the technical details of the day to day usage of Swarm. support is our major focus for user community. The traffic on this list can sometimes be quite technical. support is a sub-list of announce, which means that any message being sent to the announce list will also be sent to the support list. So, if you're interested in all the details and in the announcements, then simply subscribe to the support list. You do not need to subscribe to both lists. If you just want the announcements but don't care about the details, then subscribe to announce.&lt;br /&gt;
&lt;br /&gt;
:You can often find answers before posting a support request by searching the archives; see below for how.&lt;br /&gt;
&lt;br /&gt;
'''[http://www.swarm.org/mailman/listinfo/modelling Agent-based Modelling]''': modelling@swarm.org ([http://www.swarm.org/pipermail/modelling/ archives])&lt;br /&gt;
&lt;br /&gt;
:The Agent-based Modelling list, modelling@swarm.org, is for discussion of general modelling and simulation issues, particularly those having to do with agent- or individual-based modeling and software platforms for ABMs.&lt;br /&gt;
&lt;br /&gt;
'''[http://www.swarm.org/mailman/listinfo/gis Swarm &amp;amp;amp; GIS]''': gis@swarm.org ([http://www.swarm.org/pipermail/gis/ archives])&lt;br /&gt;
&lt;br /&gt;
:The Swarm GIS list, gis@swarm.org, was for discussion of Geographical Information Systems (GIS) like GRASS, particularly with respect to their usage in conjunction with Swarm. This list has been discontinued.&lt;br /&gt;
&lt;br /&gt;
==Search Swarm mailing lists via Google==&lt;br /&gt;
&lt;br /&gt;
We currently have no dedicated search engine for the website or mailing lists.  To search our site directly from Google, you can simply enter site:www.swarm.org followed by your keywords. e.g. to search for Debian, simply enter: &amp;lt;code&amp;gt;site:www.swarm.org debian&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm_and_MinGW&amp;diff=26</id>
		<title>Swarm and MinGW</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_and_MinGW&amp;diff=26"/>
				<updated>2015-03-07T06:21:48Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
&lt;br /&gt;
This documentation provides information on how to use Swarm on Windows with [http://www.mingw.org MinGW] compilers. The following topics will be covered:&lt;br /&gt;
&lt;br /&gt;
* How to run a Swam model compiled with MinGW on Windows: Once you produce a Swarm model using MinGW (or someone gives one to you), how do you run it on other machines without installing Swarm there?&lt;br /&gt;
* How to use MinGW to compile your own Swarm models, either during model development or so you can distribute working models to others. This requires installing MinGW and our binary Swarm libraries.&lt;br /&gt;
* How to package a model compiled with MinGW so it can be installed and run by itself on Windows machines.&lt;br /&gt;
* How to use MinGW to compile the Swarm libraries, in case you want to build your own Swarm binaries.&lt;br /&gt;
&lt;br /&gt;
Each topic is more difficult than the one before it. However the topics are independent in that it is not necessary to know how to compile the Swarm library in order to run a pre-compiled Swarm model or compile your own model against a pre-compiled version of Swarm.&lt;br /&gt;
&lt;br /&gt;
= Using Swarm Models Compiled with MinGW =&lt;br /&gt;
&lt;br /&gt;
A model that has been compiled using MinGW can be installed and run from a Windows computer without installing MinGW or Swarm. An example code is this build of Heatbugs:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/src/testing/heatbugs-MinGW-win32.exe http://ftp.swarm.org/pub/swarm/src/testing/heatbugs-MinGW-win32.exe]&lt;br /&gt;
&lt;br /&gt;
However, running a Swarm model requires some support programs and libraries. These are available as&lt;br /&gt;
&amp;amp;lt;tt&amp;amp;gt;swarm-2.4.1-win32.zip&amp;amp;lt;/tt&amp;amp;gt;, available here:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/binaries/w32/MinGW/Swarm-2.4.1-win32.zip http://ftp.swarm.org/pub/swarm/binaries/w32/MinGW/Swarm-2.4.1-win32.zip]&lt;br /&gt;
&lt;br /&gt;
Unzipping that file will create a folder called &amp;amp;lt;tt&amp;amp;gt;swarm&amp;amp;lt;/tt&amp;amp;gt; which should be moved somewhere that is easy to remember. The rest of this tutorial will assume this Swarm folder has been placed at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Before a Swarm model can be run, the &amp;lt;tt&amp;gt;swarm\bin&amp;lt;/tt&amp;gt; folder must be added to the Windows &amp;lt;tt&amp;gt;PATH&amp;lt;/tt&amp;gt; so that Heatbugs can find necessary libraries when it runs. The &amp;lt;tt&amp;gt;swarm\bin&amp;lt;/tt&amp;gt; folder can be ''temporarily'' added to the path by executing the following in the Windows command line (the command line is accessed using the program &amp;lt;tt&amp;gt;cmd.exe&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;path=%PATH%;C:\swarm\bin&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is possible to have conflicts if other versions of libraries used by Swarm, such as HDF5, are already installed and in your path. And some Swarm programs require that the environment variable SWARMHOME be defined, which will typically not be true. These problems can be avoided by using the following statements instead of the above path command:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;SWARMHOME=C:\swarm&lt;br /&gt;
path=%SWARMHOME%\bin;%PATH%&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
You can alternatively add the Swarm folder to your &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; permanently by editing the Windows PATH environment variable. A tool like [[#RapidEE|RapidEE]] makes doing so easy, or you can use use Windows control panel &amp;amp;gt; System &amp;amp;gt; Advanced &amp;amp;gt; Environment Variables to add &amp;amp;lt;tt&amp;amp;gt;swarm\bin&amp;amp;lt;/tt&amp;amp;gt; to the PATH system variable.&lt;br /&gt;
&lt;br /&gt;
Once the path has been set to include the &amp;amp;lt;tt&amp;amp;gt;swarm\bin&amp;amp;lt;/tt&amp;amp;gt; folder, Swarm models can be started through the Windows command line, or by double-clicking on them from the Windows Explorer.  &lt;br /&gt;
&lt;br /&gt;
The Heatbugs model can now be run by changing the directory of the command line to the folder holding &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; and then executing the program. For example, if &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; is located in &amp;amp;lt;tt&amp;amp;gt;C:\Users\example_user\Downloads&amp;amp;lt;/tt&amp;amp;gt;, then the model may be run as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd C:\Users\example_user\Downloads&lt;br /&gt;
heatbugs.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
(or you can just double-click on &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; from Windows Explorer, which temporarily opens a Windows command terminal while the model runs.)&lt;br /&gt;
&lt;br /&gt;
[[Image:Running_Heatbugs.png|frame|none|alt=Running the Heatbugs model]]&lt;br /&gt;
&lt;br /&gt;
You can also create a simple Windows batch file that sets SWARMHOME and the path and then executes the model. Create a file called, for example &amp;amp;lt;tt&amp;amp;gt;heatbugs.bat&amp;amp;lt;/tt&amp;amp;gt; in the same directory where &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; is, containing these lines: &lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;SWARMHOME=C:\swarm&lt;br /&gt;
path=%SWARMHOME%\bin;%PATH%&lt;br /&gt;
heatbugs.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, just double-clicking on &amp;amp;lt;tt&amp;amp;gt;heatbugs.bat&amp;amp;lt;/tt&amp;amp;gt; will start the model.&lt;br /&gt;
&lt;br /&gt;
If you try this and get an error that some .dll file is not found, then the problem is likely that the path is not set correctly to include the swarm\bin folder. If instead the program crashes without an error statement, then the problem is more likely that SWARMHOME needs to be set.&lt;br /&gt;
&lt;br /&gt;
= Installing Swarm and MinGW to compile models =&lt;br /&gt;
&lt;br /&gt;
To compile Swarm models from source using MinGW, the following simple steps need to be taken to set up the build environment:&lt;br /&gt;
&lt;br /&gt;
* [[#MinGW|Install MinGW using instructions here]]. Currently only 32-bit MinGW can be used with Swarm. Install all components of MinGW.&lt;br /&gt;
* Download compiled Swarm binaries, archived as [http://ftp.swarm.org/pub/swarm/binaries/w32/MinGW/Swarm-2.4.1-win32.zip swarm-2.4.1-win32.zip]. Unzip the archive and place the extracted folder at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''&lt;br /&gt;
&lt;br /&gt;
The archived Swarm binaries '''MUST''' be placed at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt; to successfully compile Swarm models. This is because some paths had to be hard-coded by &amp;amp;lt;tt&amp;amp;gt;libtool&amp;amp;lt;/tt&amp;amp;gt; during the creation of the binaries.&lt;br /&gt;
&lt;br /&gt;
The final step before you can compile a Swarm model is to set the &amp;amp;lt;tt&amp;amp;gt;SWARMHOME&amp;amp;lt;/tt&amp;amp;gt; environment variable so that the &amp;amp;quot;make&amp;amp;quot; program knows where to find the Swarm libraries when compiling your code. There are several ways to do this.&lt;br /&gt;
*You can temporarily set SWARMHOME by entering this command in the MinGW shell: &amp;amp;lt;pre&amp;amp;gt;export SWARMHOME=/c/swarm&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
*You can edit your Makefile so it starts with: &amp;amp;lt;pre&amp;amp;gt;SWARMHOME=/c/swarm&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
*Set SWARMHOME permanently as a Windows environment variable, either by using [[#RapidEE|RapidEE]] or Windows control panel &amp;amp;gt; System &amp;amp;gt; Advanced &amp;amp;gt; Environment Variables to add a new (User or System) variable called SWARMHOME with the value &amp;amp;lt;tt&amp;amp;gt;/c/swarm&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
After MinGW has been installed and the Swarm binaries have been downloaded, Swarm models may be compiled using the MinGW shell. Start up the program MinGW Shell, cd to the directory containing your code and Makefile, and enter the command &amp;amp;quot;Make&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An archive of official Swarm example programs can be downloaded from:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz]&lt;br /&gt;
&lt;br /&gt;
We will use the &amp;amp;amp;quot;Heatbugs&amp;amp;amp;quot; model as an example of how to compile a Swarm application:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf /path/to/downloaded/swarmapps-2.3.0.tar.gz&lt;br /&gt;
cd swarmapps-2.3.0/objc/heatbugs&lt;br /&gt;
&lt;br /&gt;
make&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
'''VERY IMPORTANT NOTE: MinGW produces two executables called &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt;---one in the &amp;amp;lt;tt&amp;amp;gt;heatbugs&amp;amp;lt;/tt&amp;amp;gt; folder and another in the &amp;amp;lt;tt&amp;amp;gt;heatbugs/.libs&amp;amp;lt;/tt&amp;amp;gt; folder. You should ignore the executable in the top-level folder, &amp;amp;lt;tt&amp;amp;gt;heatbugs/heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt;, as it is merely a compiled wrapper script that executes &amp;amp;lt;tt&amp;amp;gt;heatbugs/.libs/heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt;. When distributing compiled models, only use binaries from the &amp;amp;lt;tt&amp;amp;gt;.libs&amp;amp;lt;/tt&amp;amp;gt; folder.'''&lt;br /&gt;
&lt;br /&gt;
The resulting executable, &amp;amp;lt;tt&amp;amp;gt;.libs/heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; may be executing by following the steps described above at ''Using Swarm Models Compiled with MinGW''. These steps must include setting the Windows Path to include &amp;amp;lt;tt&amp;amp;gt;C:\swarm\bin&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Distributing a Swarm Model for Windows Users =&lt;br /&gt;
&lt;br /&gt;
A major benefit of the MinGW version of Swarm is that models can be distributed for people to use without installing Swarm. A simple way to do this, after the model has been compiled and tested using methods in the previous section, is to create a ZIP archive that contains all the files to run the model.&lt;br /&gt;
&lt;br /&gt;
* Create a directory tree that includes the Swarm binary files. For example, create C:\MySwarmModel and add the Swarm binaries (as described [[Swarm_and_MinGW#Using_Swarm_Models_Compiled_with_MinGW|above]]) to it as a subdirectory tree.&lt;br /&gt;
* Create another subdirectory that includes just the compiled model.&lt;br /&gt;
* Create a third subdirectory that includes any input files that the model needs and a batch file that sets the path and executes the model. &lt;br /&gt;
* Zip the whole tree up for distribution.&lt;br /&gt;
&lt;br /&gt;
The directory tree in the zip file looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;&lt;br /&gt;
C:\MySwarmModel\swarm&lt;br /&gt;
                      \bin&lt;br /&gt;
                      \etc&lt;br /&gt;
                      \include&lt;br /&gt;
                      \lib&lt;br /&gt;
                      \man&lt;br /&gt;
                      \share&lt;br /&gt;
               \executable\MySwarmModel.exe&lt;br /&gt;
               \Runfiles\MySwarmModel.bat (and any input files)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the file &amp;amp;lt;tt&amp;amp;gt;MySwarmModel.bat&amp;amp;lt;/tt&amp;amp;gt; contains:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;&lt;br /&gt;
set SWARMHOME=C:\MySwarmModel\swarm&lt;br /&gt;
path=%SWARMHOME%\bin;%PATH%&lt;br /&gt;
C:\MySwarmModel\executable\MySwarmModel.exe&lt;br /&gt;
&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then users can run the model just by double-clicking on &amp;amp;lt;tt&amp;amp;gt;MySwarmModel.bat&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Building Swarm Using MinGW =&lt;br /&gt;
&lt;br /&gt;
This tutorial provides directions and code for compiling your own Swarm libraries for Windows. It is a bit advanced---some familiarity with compiling software from source in a Linux environment and knowledge of the UNIX command line is assumed.&lt;br /&gt;
&lt;br /&gt;
== Install Required Tools ==&lt;br /&gt;
&lt;br /&gt;
The first step is to download and install tools required for compiling Swarm. These links provide directions:&lt;br /&gt;
&lt;br /&gt;
* [[#MinGW|MinGW]]&lt;br /&gt;
* [[#Emacs|Emacs]]&lt;br /&gt;
* [[#GPerf|GPerf]]&lt;br /&gt;
&lt;br /&gt;
== Build Support Libraries ==&lt;br /&gt;
&lt;br /&gt;
The next steps are to build and install the libraries that Swarm depends on. A ZIP archive containing all the source code required can be found at:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/src/swarm/Swarm-2.4.1-MinGW-sources.zip http://ftp.swarm.org/pub/swarm/src/swarm/Swarm-2.4.1-MinGW-sources.zip]&lt;br /&gt;
&lt;br /&gt;
This archive contains two subdirectories:&lt;br /&gt;
&lt;br /&gt;
* sources: This folder contains the source code for each component.&lt;br /&gt;
* patches: This folder contains patchfiles that modfy source code so that MinGW can compile it.&lt;br /&gt;
&lt;br /&gt;
After downloading and extracting the source code archive, open up a MinGW shell and run the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd /path/to/where/swarm/source/was/extracted&lt;br /&gt;
mkdir build&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
The following steps will all assume your MinGW shell is operating out of the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory. All compiled software will be installed to &amp;amp;lt;tt&amp;amp;gt;/c/swarm&amp;amp;lt;/tt&amp;amp;gt; (The Windows Explorer will see the folder appear at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== ZLib ===&lt;br /&gt;
&lt;br /&gt;
ZLib will be the first library to be built as it is a common dependency for many of the other software components. From the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, execute the following to build Zlib:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/zlib-1.2.5.tar.gz&lt;br /&gt;
cd zlib-1.2.5&lt;br /&gt;
make -f win32/Makefile.gcc&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
And then the following commands to install ZLib to &amp;amp;lt;tt&amp;amp;gt;/c/swarm&amp;amp;lt;/tt&amp;amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mkdir -p /c/swarm/bin&lt;br /&gt;
mkdir -p /c/swarm/include&lt;br /&gt;
mkdir -p /c/swarm/lib&lt;br /&gt;
&lt;br /&gt;
cp zlib1.dll /c/swarm/bin/&lt;br /&gt;
cp zconf.h zlib.h /c/swarm/include/&lt;br /&gt;
mv libzdll.a libz.dll.a&lt;br /&gt;
cp *.a /c/swarm/lib&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LibPNG ===&lt;br /&gt;
&lt;br /&gt;
LibPNG will be built next as its only dependency is ZLib. From the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, execute the following steps to build and install LibPNG:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xjf ../sources/libpng-1.5.4.tar.bz2&lt;br /&gt;
cd libpng-1.5.4&lt;br /&gt;
&lt;br /&gt;
export CPPFLAGS='-I/c/swarm/include'&lt;br /&gt;
export LDFLAGS='-L/c/swarm/lib'&lt;br /&gt;
./configure --prefix=/c/swarm --with-zlib-prefix=/c/swarm&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== XPM ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, the XPM library can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xjf ../sources/xpm-nox-4.2.0.tar.bz2&lt;br /&gt;
cd xpm-nox-4.2.0&lt;br /&gt;
patch -p1 &amp;amp;amp;lt; ../../patches/xpm-nox-4.2.0-mingw-tcl.patch&lt;br /&gt;
&lt;br /&gt;
make CC=gcc&lt;br /&gt;
make install prefix=/c/swarm&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
'''Summary of patchfile changes:'''&lt;br /&gt;
&lt;br /&gt;
The patchfile is inherited from the SUSE builds of XPM for MinGW and adds Makefiles and other critical components.&lt;br /&gt;
&lt;br /&gt;
One major modification has been made to the SUSE patchfile---&amp;amp;lt;tt&amp;amp;gt;tcl.h&amp;amp;lt;/tt&amp;amp;gt; is included in &amp;amp;lt;tt&amp;amp;gt;xpm.h&amp;amp;lt;/tt&amp;amp;gt;. This is required in order to use XPM while Tk is installed. Conversely, this means that this build of XPM cannot be used without having Tk installed.&lt;br /&gt;
&lt;br /&gt;
=== LibFFI ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, LibFFI can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/libffi-3.0.9.tar.gz&lt;br /&gt;
cd libffi-3.0.9&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
The LibFFI headers get installed in a weird place.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mv /c/swarm/lib/libffi-3.0.9/include/*.h /c/swarm/include&lt;br /&gt;
rm -rf /c/swarm/lib/libffi-3.0.9&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tcl ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, Tcl can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/tcl8.4.19-src.tar.gz&lt;br /&gt;
cd tcl8.4.19&lt;br /&gt;
patch -p1 &amp;amp;amp;lt; ../../patches/tcl-8.4.19-fix-lvalues.patch&lt;br /&gt;
cd win&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
'''Summary of patchfile changes:'''&lt;br /&gt;
&lt;br /&gt;
At two places in the TCL source code, an assignment is made while simultaneously performing a typecast. The typecast and the assignment had to be split into separate operations in order to be acceptable to the MinGW compilers.&lt;br /&gt;
&lt;br /&gt;
=== Tk ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, Tk can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/tk8.4.19-src.tar.gz&lt;br /&gt;
cd tk8.4.19/win&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== BLT ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, BLT can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/BLT2.4z.tar.gz&lt;br /&gt;
cd blt2.4z&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm --without-x&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HDF5 (Optional) ===&lt;br /&gt;
&lt;br /&gt;
Getting HDF5 to work with MinGW is a little tricky. It is an optional dependency, so if support for reading and writing &amp;amp;lt;tt&amp;amp;gt;.hdf&amp;amp;lt;/tt&amp;amp;gt; files is not needed this section can be skipped.&lt;br /&gt;
&lt;br /&gt;
As of version 1.8.7, HDF5 currently does not compile under MinGW. So, we must wrap pre-compiled binaries for use with MinGW. In order to wrap the binaries, we will need an additional tool called &amp;amp;lt;tt&amp;amp;gt;pexports&amp;amp;lt;/tt&amp;amp;gt;. This can be installed using &amp;amp;lt;tt&amp;amp;gt;mingw-get&amp;amp;lt;/tt&amp;amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mingw-get install mingw-utils&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Download 32-bit Windows binaries from the HDF website compiled for use with the Visual Studio compilers (these files have &amp;amp;amp;quot;VS&amp;amp;amp;quot; listed under the ''Compilers'' section). After extracting the archive, the HDF5 libraries can be wrapped for use with MinGW by executing the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd path/to/where/HDF5/was/extracted&lt;br /&gt;
&lt;br /&gt;
for dll in `ls dll/*dll`; do&lt;br /&gt;
  def_file=`basename $dll .dll`.def&lt;br /&gt;
  lib_file=lib`basename $dll dll.dll`.a&lt;br /&gt;
  pexports $dll &amp;amp;amp;gt; $def_file&lt;br /&gt;
  dlltool -d $def_file -l lib/$lib_file&lt;br /&gt;
done&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Next, move the libraries and header files needed to use HDF5 from C into &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cp dll/hdf5dll.dll dll/szip.dll /c/swarm/bin&lt;br /&gt;
cp include/* /c/swarm/include&lt;br /&gt;
cp lib/libhdf5.a /c/swarm/lib&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Finally, a patch must be applied to the HDF header file &amp;amp;lt;tt&amp;amp;gt;H5public.h&amp;amp;lt;/tt&amp;amp;gt; so that it doesn't define &amp;amp;lt;tt&amp;amp;gt;ssize_t&amp;amp;lt;/tt&amp;amp;gt;---a constant already defined by MinGW. The required patch is contained in the Swarm MinGW source archive:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd /path/to/where/swarm/source/was/extracted&lt;br /&gt;
patch -p1 -d /c/swarm &amp;amp;amp;lt; patches/hdf5-1.8.7-mingw.patch&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build Swarm ==&lt;br /&gt;
&lt;br /&gt;
Finally, the Swarm libraries themselves can be built. From the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, execute the following&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/swarm-2.4.1.tar.gz&lt;br /&gt;
cd swarm-2.4.1&lt;br /&gt;
patch -p1 ../../patches/swarm-2.4.1-mingw.patch&lt;br /&gt;
&lt;br /&gt;
export CPPFLAGS='-I/c/swarm/include'&lt;br /&gt;
export LDFLAGS='-L/c/swarm/lib'&lt;br /&gt;
./configure --prefix=/c/swarm \&lt;br /&gt;
  --with-zlibdir=/c/swarm \&lt;br /&gt;
  --with-pngdir=/c/swarm \&lt;br /&gt;
  --with-xpmdir=/c/swarm \&lt;br /&gt;
  --with-ffidir=/c/swarm \&lt;br /&gt;
  --with-tcl=/c/swarm/lib \&lt;br /&gt;
  --with-tk=/c/swarm/lib \&lt;br /&gt;
  --with-bltdir=/c/swarm&lt;br /&gt;
&lt;br /&gt;
cd avcall&lt;br /&gt;
gcc -S avcall-i386.c&lt;br /&gt;
cd ..&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
If you wrapped HDF5 up for use with MinGW, add &amp;amp;lt;tt&amp;amp;gt;--with-hdf5dir=/c/swarm&amp;amp;lt;/tt&amp;amp;gt; to the list of arguments passed to &amp;amp;lt;tt&amp;amp;gt;configure&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Summary of patchfile changes:'''&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;tt&amp;amp;gt;swarm-2.4.1-mingw.patch&amp;amp;lt;/tt&amp;amp;gt; modifies the Swarm source code in the following ways:&lt;br /&gt;
&lt;br /&gt;
* &amp;amp;lt;tt&amp;amp;gt;gettimeofday&amp;amp;lt;/tt&amp;amp;gt; is no longer defined in the Swarm sources as MinGW includes this function in its standard library.&lt;br /&gt;
* Swarm GUI functions are updated to be compatible with LibPNG 1.5.&lt;br /&gt;
* The Swarm &amp;amp;lt;tt&amp;amp;gt;configure&amp;amp;lt;/tt&amp;amp;gt; script defines &amp;amp;lt;tt&amp;amp;gt;DATADIR&amp;amp;lt;/tt&amp;amp;gt; as a preprocessor macro---this conflicts with variables in the GCC Objective-C library. &amp;amp;lt;tt&amp;amp;gt;DATDIR&amp;amp;lt;/tt&amp;amp;gt; is &amp;amp;lt;tt&amp;amp;gt;undef&amp;amp;lt;/tt&amp;amp;gt;ed in critical parts of the source code.&lt;br /&gt;
* The &amp;amp;lt;tt&amp;amp;gt;sleep&amp;amp;lt;/tt&amp;amp;gt; function is aliased to &amp;amp;lt;tt&amp;amp;gt;usleep&amp;amp;lt;/tt&amp;amp;gt;---which is the name of the MinGW implementation.&lt;br /&gt;
* The way in which Makefiles invoke &amp;amp;lt;tt&amp;amp;gt;gperf&amp;amp;lt;/tt&amp;amp;gt; is amended so that it actually produces output.&lt;br /&gt;
* NULL checks are added to `zstrdup` in src/defobj/internal.m. Some functions in the Swarm library may attempt to call `zstrdup` on a NULL pointer. (This happens if the SWARMHOME environment variable is not set.) Failing to check for this condition can lead to segfaults. `zstrdup` now returns NULL if passed a NULL string or if `alloc` fails to allocate memory for a duplicate.&lt;br /&gt;
&lt;br /&gt;
Full details are contained in the patchfile.&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
&lt;br /&gt;
== MinGW ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.mingw.org&lt;br /&gt;
&lt;br /&gt;
'''Download Area:''' http://sourceforge.net/projects/mingw/files&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 20110530&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
&lt;br /&gt;
[http://www.mingw.org MinGW] is a set of software that aims to provide an environment where software developed on UNIX-like systems can be easily compiled for Windows. Since Swarm is primarily developed on Linux (a UNIX clone), MinGW can ease the task of creating Swarm models that run on Windows.&lt;br /&gt;
&lt;br /&gt;
MinGW is similar to the [http://www.cygwin.org Cygwin] project. The major difference is that MinGW produces executables that depend only on native Windows libraries while Cygwin executables require special compatibility libraries that are part of the Cygwin distribution.&lt;br /&gt;
&lt;br /&gt;
=== Installing MinGW ===&lt;br /&gt;
&lt;br /&gt;
MinGW can be installed by downloading the &amp;amp;amp;quot;Automated MinGW Installer&amp;amp;amp;quot;, which usually has a name like &amp;amp;lt;tt&amp;amp;gt;mingw-get-inst-&amp;amp;amp;lt;date&amp;amp;amp;gt;.exe&amp;amp;lt;/tt&amp;amp;gt; where &amp;amp;lt;tt&amp;amp;gt;&amp;amp;amp;lt;date&amp;amp;amp;gt;&amp;amp;lt;/tt&amp;amp;gt; is the datestamp for when the installer was packaged. Running this executable will start the installation process. The installer lets you select which optional components to install; make sure all boxes are checked so you '''install all components'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:MinGW_Setup.png|frame|none|alt=Install all available MinGW components]]&lt;br /&gt;
&lt;br /&gt;
The installer downloads all components from the internet. This will take a while, so have a cup of coffee or walk the dog.&lt;br /&gt;
&lt;br /&gt;
See the following section about also installing an optional, more-functional shell window for MinGW.&lt;br /&gt;
&lt;br /&gt;
=== Using MinGW ===&lt;br /&gt;
&lt;br /&gt;
The MinGW compilers are accessible through the &amp;amp;amp;quot;MinGW Shell&amp;amp;amp;quot; which should be located under the MinGW folder in the Start Menu:&lt;br /&gt;
&lt;br /&gt;
[[Image:MinGW_Shell.png|frame|none|alt=Location of MinGW Shell]]&lt;br /&gt;
&lt;br /&gt;
or by running &amp;amp;lt;tt&amp;amp;gt;C:\MinGW\msys\1.0\msys.bat&amp;amp;lt;/tt&amp;amp;gt; (if MinGW was installed to its default location).&lt;br /&gt;
&lt;br /&gt;
By default the MinGW shell executes inside of a Windows &amp;amp;lt;tt&amp;amp;gt;cmd.exe&amp;amp;lt;/tt&amp;amp;gt; terminal. There are a couple major drawbacks to this:&lt;br /&gt;
&lt;br /&gt;
* You cannot resize the window to full-screen.&lt;br /&gt;
* The shell provides limited history scrollback.&lt;br /&gt;
&lt;br /&gt;
MinGW provides a couple of alternative terminals for the MinGW shell which do not have these drawbacks; one of which is called MinTTY. To install MinTTY execute the following in a MinGW shell:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mingw-get install mintty&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Then the &amp;amp;lt;tt&amp;amp;gt;mintty&amp;amp;lt;/tt&amp;amp;gt; command can be used to launch a MinTTY terminal. The MinGW Shell can also be set to launch MinTTY by default by editing the file &amp;amp;lt;tt&amp;amp;gt;C:\MinGW\msys\1.0\msys.bat&amp;amp;lt;/tt&amp;amp;gt; and changing the following line (approximately line 58):&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;if &amp;amp;amp;quot;x%MSYSCON%&amp;amp;amp;quot; == &amp;amp;amp;quot;xunknown&amp;amp;amp;quot; set MSYSCON=sh.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;if &amp;amp;amp;quot;x%MSYSCON%&amp;amp;amp;quot; == &amp;amp;amp;quot;xunknown&amp;amp;amp;quot; set MSYSCON=mintty.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== A Note About Paths ===&lt;br /&gt;
&lt;br /&gt;
The MinGW Shell emulates a UNIX &amp;amp;lt;tt&amp;amp;gt;bash&amp;amp;lt;/tt&amp;amp;gt; shell and thus uses UNIX-style paths, &amp;amp;lt;tt&amp;amp;gt;/path/to/file&amp;amp;lt;/tt&amp;amp;gt;, instead of Windows-style paths, &amp;amp;lt;tt&amp;amp;gt;C:\path\to\file&amp;amp;lt;/tt&amp;amp;gt;. One peculiarity of this process is that the shell must deal with the fact that Windows filesystems have multiple roots (&amp;amp;lt;tt&amp;amp;gt;C:&amp;amp;lt;/tt&amp;amp;gt;, &amp;amp;lt;tt&amp;amp;gt;D:&amp;amp;lt;/tt&amp;amp;gt;, etc.) while a UNIX filesystem only has one root called &amp;amp;lt;tt&amp;amp;gt;/&amp;amp;lt;/tt&amp;amp;gt;. The way this is reconciled by the &amp;amp;lt;tt&amp;amp;gt;bash&amp;amp;lt;/tt&amp;amp;gt; shell provided with MinGW is that &amp;amp;lt;tt&amp;amp;gt;/c&amp;amp;lt;/tt&amp;amp;gt; refers to the root of the &amp;amp;lt;tt&amp;amp;gt;C:&amp;amp;lt;/tt&amp;amp;gt; drive, &amp;amp;lt;tt&amp;amp;gt;/d&amp;amp;lt;/tt&amp;amp;gt; refers to the root of the &amp;amp;lt;tt&amp;amp;gt;D:&amp;amp;lt;/tt&amp;amp;gt; drive and so on and so forth.&lt;br /&gt;
&lt;br /&gt;
The root of the filesystem itself, &amp;amp;lt;tt&amp;amp;gt;/&amp;amp;lt;/tt&amp;amp;gt;, also has some caveats. &amp;amp;lt;tt&amp;amp;gt;/&amp;amp;lt;/tt&amp;amp;gt; refers to the &amp;amp;lt;tt&amp;amp;gt;mysy&amp;amp;lt;/tt&amp;amp;gt; folder, &amp;amp;lt;tt&amp;amp;gt;C:/MinGW/mysys/1.0&amp;amp;lt;/tt&amp;amp;gt; in a default installation. &amp;amp;lt;tt&amp;amp;gt;/usr&amp;amp;lt;/tt&amp;amp;gt; also refers to the same location. Thus, &amp;amp;lt;tt&amp;amp;gt;/usr/local&amp;amp;lt;/tt&amp;amp;gt; and &amp;amp;lt;tt&amp;amp;gt;/local&amp;amp;lt;/tt&amp;amp;gt; both refer to &amp;amp;lt;tt&amp;amp;gt;C:/MinGW/mysys/1.0/local&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== A Note About MinGW-64 ===&lt;br /&gt;
&lt;br /&gt;
Currently Swarm has been developed and tested against the 32-bit version of MinGW. Hence Swarm models produced this way should run in any version of Windows.&lt;br /&gt;
&lt;br /&gt;
The [MinGW-w64][mingw_65] project produces 64-bit MinGW compilers that can produce 64-bit executables that will only run on 64-bit versions of Windows. These executables benefit from:&lt;br /&gt;
&lt;br /&gt;
* Access to more memory. A 32-bit executable will only be able to allocate ~3 GB of RAM---even if the system has more RAM available.&lt;br /&gt;
* Possibly quicker execution speeds due to matching the native architecture of the operating system---however this depends on the types of tasks that the program executes. It has been reported that 64 bit Swarm executables run quicker than 32 bit Swarm executables on Linux.&lt;br /&gt;
&lt;br /&gt;
Currently, no attempt has been made to compile Swarm 2.4.1 with the 64 bit MinGW compilers. If a successful attempt is made, please report it on the [http://www.swarm.org/mailman/listinfo/support Swarm mailing list].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Emacs ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.gnu.org/software/emacs&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 23.3&lt;br /&gt;
&lt;br /&gt;
'''Download Area:''' http://ftp.gnu.org/gnu/emacs/windows&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
&lt;br /&gt;
GNU Emacs is a text editor that is used by many programmers to edit code. However, Emacs can also be scripted to perform a variety of complicated transformations on text files. The scripts that build the Swarm libraries use Emacs to automate the process of generating some source files. Thus Emacs has to be installed in order to build Swarm from source.&lt;br /&gt;
&lt;br /&gt;
=== Installing Emacs ===&lt;br /&gt;
&lt;br /&gt;
Install Emacs by downloading one of the &amp;amp;lt;tt&amp;amp;gt;emacs-&amp;amp;amp;lt;version&lt;br /&gt;
number&amp;amp;amp;gt;-bin-i386.zip&amp;amp;lt;/tt&amp;amp;gt; files from the download area. Don't use any of the&lt;br /&gt;
files containing &amp;amp;lt;tt&amp;amp;gt;barebin&amp;amp;lt;/tt&amp;amp;gt;. After extracting the ZIP archive there will&lt;br /&gt;
be an Emacs folder containing a subfolder called &amp;amp;lt;tt&amp;amp;gt;bin&amp;amp;lt;/tt&amp;amp;gt;. Add this folder&lt;br /&gt;
to your Windows &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt;. [[#RapidEE|RapidEE]] can help edit the&lt;br /&gt;
&amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GPerf ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.gnu.org/software/gperf/&lt;br /&gt;
&lt;br /&gt;
'''Download Area:''' http://sourceforge.net/projects/gnuwin32/files/gperf&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 3.0.1&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
&lt;br /&gt;
GPerf is a program that produces C code containing hash functions. The scripts&lt;br /&gt;
that build the Swarm libraries use GPerf to generate some source code files.&lt;br /&gt;
Download &amp;amp;lt;tt&amp;amp;gt;gperf.exe&amp;amp;lt;/tt&amp;amp;gt; from the GnuWin32 site on Sourceforge and place it&lt;br /&gt;
somewhere on your Windows &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt;. Again, [[#RapidEE|RapidEE]] can help set the &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RapidEE ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.rapidee.com&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 5.0&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.rapidee.com/en/license Freeware]&lt;br /&gt;
&lt;br /&gt;
The Rapid Environment Editor (RapidEE) is a spiffy tool that makes it easy to inspect and alter the value of Windows environment variables, such as the &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt;. RapidEE may be used to edit &amp;amp;amp;quot;System Variables&amp;amp;amp;quot; which will affect all user accounts or &amp;amp;amp;quot;User Variables&amp;amp;amp;quot; which will affect just the current account. Administrative privileges may be required to edit the System Variables.&lt;br /&gt;
&lt;br /&gt;
[[Image:RapidEE_1.png|frame|none|alt=The different variables RapidEE can edit]]&lt;br /&gt;
&lt;br /&gt;
Right-clicking on the &amp;amp;lt;tt&amp;amp;gt;Path&amp;amp;lt;/tt&amp;amp;gt; variable in the System Variables or User Variables will bring up a menu that presents the option to &amp;amp;amp;quot;Add value&amp;amp;amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[Image:RapidEE_2.png|frame|none|alt=Adding a new value to the PATH]]&lt;br /&gt;
&lt;br /&gt;
Once the new entry has been added, RapidEE must be told to save the changes. Command line shells, such as &amp;amp;lt;tt&amp;amp;gt;cmd.exe&amp;amp;lt;/tt&amp;amp;gt;, must be restarted in order for them to notice the changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:RapidEE_3.png|frame|none|alt=Adding and saving a value]]&lt;br /&gt;
&lt;br /&gt;
== Depends ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.dependencywalker.com/&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 2.2&lt;br /&gt;
&lt;br /&gt;
'''License:''' Freeware&lt;br /&gt;
&lt;br /&gt;
Depends is a usefull utility that scans Windows executables and reports information concerning the Dynamic-link Libraries (DLLs) that those executables require in order to run.&lt;br /&gt;
&lt;br /&gt;
= Software Used to Compile Swarm 2.4.1 =&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
!  Name&lt;br /&gt;
!  Verson Used&lt;br /&gt;
!  License&lt;br /&gt;
!  Homepage&lt;br /&gt;
!  Download Area&lt;br /&gt;
|-&lt;br /&gt;
|  ZLib&lt;br /&gt;
|  1.2.5&lt;br /&gt;
|  [http://www.opensource.org/licenses/Zlib ZLib/PNG License]&lt;br /&gt;
|  [http://www.zlib.net http://www.zlib.net]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  LibFFI&lt;br /&gt;
|  3.0.9&lt;br /&gt;
|  [http://www.opensource.org/licenses/MIT MIT]&lt;br /&gt;
|  [http://sourceware.org/libffi http://sourceware.org/libffi]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  LibPNG&lt;br /&gt;
|  1.5.4&lt;br /&gt;
|  [http://www.opensource.org/licenses/Zlib ZLib/PNG]&lt;br /&gt;
|  [http://www.libpng.org/pub/png/libpng.html http://www.libpng.org/pub/png/libpng.html]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  XPM-NoX&lt;br /&gt;
|  4.2.0&lt;br /&gt;
|  [http://www.opensource.org/licenses/MIT MIT]&lt;br /&gt;
|  unknown&lt;br /&gt;
|  [http://build.opensuse.org/package/files?package=mingw32-xpm-nox&amp;amp;amp;project=windows%3Amingw%3Awin32 http://build.opensuse.org/package/files?package=mingw32-xpm-nox&amp;amp;amp;project=windows%3Amingw%3Awin32]&lt;br /&gt;
|-&lt;br /&gt;
|  Tcl&lt;br /&gt;
|  8.4.19&lt;br /&gt;
|  [http://www.tcl.tk/software/tcltk/license.html Tcl]&lt;br /&gt;
|  [http://www.tcl.tk http://www.tcl.tk]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  Tk&lt;br /&gt;
|  8.4.19&lt;br /&gt;
|  [http://www.tcl.tk/software/tcltk/license.html Tcl]&lt;br /&gt;
|  [http://www.tcl.tk http://www.tcl.tk]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  BLT&lt;br /&gt;
|  2.4z&lt;br /&gt;
|  [http://www.opensource.org/licenses/BSD-3-Clause BSD]&lt;br /&gt;
|  [http://blt.sourceforge.net http://blt.sourceforge.net]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  HDF5&lt;br /&gt;
|  1.8.7&lt;br /&gt;
|  [http://www.opensource.org/licenses/BSD-3-Clause BSD]&lt;br /&gt;
|  [http://www.hdfgroup.org/HDF5 http://www.hdfgroup.org/HDF5]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  Swarm&lt;br /&gt;
|  2.4.1&lt;br /&gt;
|  [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
|  [http://www.swarm.org http://www.swarm.org]&lt;br /&gt;
|  [http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Examples_of_Swarm_applications&amp;diff=25</id>
		<title>Examples of Swarm applications</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Examples_of_Swarm_applications&amp;diff=25"/>
				<updated>2015-03-07T06:17:54Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;empty page.  Plan was to have some pictures or possibly a video.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;empty page.&lt;br /&gt;
&lt;br /&gt;
Plan was to have some pictures or possibly a video.&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm:Applications_and_user_contributions_main_page&amp;diff=24</id>
		<title>Swarm:Applications and user contributions main page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm:Applications_and_user_contributions_main_page&amp;diff=24"/>
				<updated>2015-03-07T06:14:30Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot; We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ide...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ideas and software for other modelers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Demo page==&lt;br /&gt;
For newcomers, [[Examples_of_Swarm_applications|here is a peek at a couple of classic Swarm applications]].&lt;br /&gt;
&lt;br /&gt;
==How to choose and run example applications==&lt;br /&gt;
(For a discussion of Java vs. Objective-C, see the FAQ: [[Swarm_FAQ]])&lt;br /&gt;
&lt;br /&gt;
===Objective-C applications===&lt;br /&gt;
&lt;br /&gt;
Listed below are sites where you can download Objective-C Swarm models. To run them:&lt;br /&gt;
&lt;br /&gt;
*Download and un-zip the archive. The archives are usually in TAR GZIP format (e.g., HeatBugs.tar.gz), which you can unzip (in a Linux terminal window or, if using Windows, in Cygwin) by typing &amp;amp;quot;tar xzvf HeatBugs.tar.gz&amp;amp;quot;.&lt;br /&gt;
*Change directories into the newly unzipped directory of source code (in a Linux terminal window or, if using Windows, in Cygwin). &lt;br /&gt;
*If your Swarm installation is set up correctly, you can then compile the application by simply typing &amp;amp;quot;make&amp;amp;quot;. (If you get a message something like &amp;amp;quot;Makefile: ... /Makefile.appl: No such file or directory...&amp;amp;quot; then you do not have the environment variable SWARMHOME set correctly. Keep reading...)&lt;br /&gt;
*If compilation is successful, you will have a new executable file (e.g., &amp;amp;quot;heatbugs.exe&amp;amp;quot; in Windows; &amp;amp;quot;heatbugs&amp;amp;quot; in Linux). Then you can start the model by typing &amp;amp;quot;./heatbugs.exe&amp;amp;quot; (or, in Linux, &amp;amp;quot;./heatbugs&amp;amp;quot;).&lt;br /&gt;
*A common problem is not having your system's SWARMHOME environment variable correctly pointed to the location of your Swarm installation. SWARMHOME should typically be /usr/local/ or /usr/ if you've installed it from a binary package on a GNU/Linux system. For Windows, see [[Windows_binary_notes]]&lt;br /&gt;
&lt;br /&gt;
===Java applications===&lt;br /&gt;
&lt;br /&gt;
We provide step-by-step [[instructions]] for compiling and running the Java program Jheatbugs-3.0 on Windows XP using Swarm 2.2. Our demo covers interactive (visual) mode as well as batch mode (multiple runs with output to files). &lt;br /&gt;
&lt;br /&gt;
Other Java Swarm models are listed below.&lt;br /&gt;
&lt;br /&gt;
==Official applications archive==&lt;br /&gt;
Our official archive of Swarm applications is at http://ftp.swarm.org/pub/swarm/apps/. Even though these models are generally old, many of them still work in Swarm 2.2. There are far more Objective-C than Java applications in the archive.&lt;br /&gt;
&lt;br /&gt;
The archive includes Java versions of the Swarm classics heatbugs and mousetrap.  The versions that worked with Swarm-2.1.1 and Swarm-2.2 are currently available in the testing subdirectory of the ftp archive. Look for [http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jheatbugs-2001-03-28.tar.gz jheatbugs-2001-03-28.tar.gz] and [http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jmousetrap-2001-09-13.tar.gz jmousetrap-2001-09-13.tar.gz].&lt;br /&gt;
&lt;br /&gt;
We strongly encourage people to contribute new applications! The site includes a form for describing contributions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Paul Johnson's package of Objective-C applications==&lt;br /&gt;
[[User:Pauljohn|Paul Johnson]] has generously assembled a new package of applications for Swarm-2.2.  This is a revised version, correcting a couple of glitches in saving of screen snapshots. It is available from Paul's web site: http://www.ku.edu/~pauljohn/Swarm/swarmapps-objc-2.2-2.tar.gz and also at the Swarm download site: http://ftp.swarm.org/pub/swarm/apps/objc/sdg/swarmapps-objc-2.2-2.tar.gz. Please keep testing and let Paul know how it works.&lt;br /&gt;
&lt;br /&gt;
The package contains classic example Swarm applications, including:&lt;br /&gt;
*The Swarm tutorial (discussed in [[Swarm:_documentation_main_page#Swarm_User_Guide|the Swarm User Guide]])&lt;br /&gt;
*Heatbugs&lt;br /&gt;
*Mousetrap&lt;br /&gt;
*ArborgamesII (a simulation of forests used in publications by M. Savage et al.)&lt;br /&gt;
*SchellingII (Schelling's neighborhood segregation model)&lt;br /&gt;
*Conway (the Game of Life)&lt;br /&gt;
*sss (Swarm Sugar Scape).  &lt;br /&gt;
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 [[User:Pauljohn|PJ]].&lt;br /&gt;
&lt;br /&gt;
==Additional links==&lt;br /&gt;
*The world-famous Artificial Stock Market has its own homepage at http://artstkmkt.sourceforge.net (Objective-C)&lt;br /&gt;
*Paul Johnson keeps many examples of Swarm-related code, his own models, and other people's models, at: http://www.ku.edu/~pauljohn/Swarm/&lt;br /&gt;
*Keep your eye on the [[ABM_Resources|Agent-based modeling community pages]] for projects using Swarm.&lt;br /&gt;
*See the [[ABM_Resources#Software_Resources|software resources at the ABM Resources area of the wiki]] for a series of template models in Java and Objective-C Swarm, and for guidance on using Swarm with integrated development environments.&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=ABM_Resources&amp;diff=23</id>
		<title>ABM Resources</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=ABM_Resources&amp;diff=23"/>
				<updated>2015-03-07T06:08:21Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Complete kits and platforms==&lt;br /&gt;
&lt;br /&gt;
===Open source===&lt;br /&gt;
(must be freely distributable under an open source license, i.e. &amp;amp;quot;free as in speech&amp;amp;quot; as defined by the superset of the [http://opensource.org/docs/definition.php Open Source Definition from the Open Source Initiative] and the [http://www.gnu.org/licenses/license-list.html Free Software Foundation])&lt;br /&gt;
*'''[http://agents.felk.cvut.cz/aglobe A-globe]'''&lt;br /&gt;
*'''[http://www.alphaworks.ibm.com/tech/able ABLE]'''&lt;br /&gt;
*'''[http://ascape.sourceforge.net Ascape]'''&lt;br /&gt;
*'''[http://www.spiderland.org/breve/ Breve]'''&lt;br /&gt;
*'''[http://cormas.cirad.fr/en/outil/outil.htm Cormas]''' &amp;amp;quot;Cormas is a programming environment dedicated to the creation of multi-agent systems, with a specificity in the domain of natural-resources management. It provides a framework for developing simulation models of coordination modes between individuals and groups that jointly exploit common resources.&amp;amp;quot;&lt;br /&gt;
*'''[http://www.cougaar.org/ Cougaar]'''&lt;br /&gt;
*'''[http://ecolab.sourceforge.net EcoLab]'''&lt;br /&gt;
*'''[http://omicrongroup.org/evo/ EVO]'''&lt;br /&gt;
*'''[http://sharon.cselt.it/projects/jade/ JADE]'''&lt;br /&gt;
*'''[http://jaslibrary.sourceforge.net JAS]'''&lt;br /&gt;
*'''[http://cs.gmu.edu/~eclab/projects/mason/ MASON]'''&lt;br /&gt;
*'''[http://www.metascapeabm.com/index.php?option=com_content&amp;amp;amp;task=view&amp;amp;amp;id=19&amp;amp;amp;Itemid=61 metaABM]''' (A meta-modeling environment supporting multiple ABM platforms)&lt;br /&gt;
*'''[http://www.avignon.inra.fr/internet/unites/biometrie/mobidyc_projet/english/version_index_html Mobidyc]''' &amp;amp;quot;The free software for building and running Individual Based Models with no computer skill. Mobidyc is a software project that aims to promote Individual-Based Modelling in the field of ecology, biology and environment.&amp;amp;quot;&lt;br /&gt;
*'''[http://ccl.northwestern.edu/netlogo/ NetLogo]'''&lt;br /&gt;
*'''[http://quicksilver.tigris.org/ Quicksilver]'''&lt;br /&gt;
*'''[http://repast.sourceforge.net Repast]'''&lt;br /&gt;
*'''[http://www.cs.bham.ac.uk/~axs/cog_affect/sim_agent.html SIM_AGENT]'''&lt;br /&gt;
*'''[http://www.simsesam.de SeSAm]'''&lt;br /&gt;
*'''[http://simpy.sourceforge.net/ SimPy]'''&lt;br /&gt;
*'''[http://www.swarm.org Swarm]'''&lt;br /&gt;
*'''[http://www.primordion.com/Xholon Xholon]'''&lt;br /&gt;
*'''[http://labs.bt.com/projects/agents/zeus/ Zeus]'''&lt;br /&gt;
&lt;br /&gt;
===Freeware===&lt;br /&gt;
(available for free &amp;amp;quot;as in beer&amp;amp;quot;, source may or may not necessarily be available, if source is available it is not under an open-source license)&lt;br /&gt;
*'''[http://dextk.org deX]'''&lt;br /&gt;
*'''[http://education.mit.edu/starlogo/ StarLogo]'''&lt;br /&gt;
*'''[http://ccl.northwestern.edu/cm/StarLogoT/ StarLogoT]'''&lt;br /&gt;
*'''[http://visualbots.com/ VisualBots]''' -- Easy to use multi-agent simulator for Microsoft Excel - Visual Basic syntax, rich object model, documentation, sample simulations&lt;br /&gt;
&lt;br /&gt;
===Proprietary===&lt;br /&gt;
*'''[http://agentsheets.com/ AgentSheets]'''&lt;br /&gt;
*'''[http://www.chiinc.com/products/products_igen.htm iGEN]'''&lt;br /&gt;
*'''[http://www.xjtek.com AnyLogic]'''&lt;br /&gt;
*'''[http://mass.aitia.ai MASS]'''&lt;br /&gt;
&lt;br /&gt;
==Swarm add-ons and extensions==&lt;br /&gt;
*'''[[COSMIC]]''' --  General simulation utility classes, provided by the Complex Systems Modelling Group at Imperial College&lt;br /&gt;
*'''[http://www.humboldt.edu/~ecomodel/ EcoSwarm@HSU]''' --  Modeling tools for use with the Swarm simulation system&lt;br /&gt;
*'''[http://me.in-berlin.de/~rws/logzone_toc.html LogZone]''' -- Zone exploration tool.&lt;br /&gt;
&lt;br /&gt;
==Related tools and technologies==&lt;br /&gt;
*'''[http://www.me.mtu.edu/%7Ermdsouza/ABM_GPU.html Agent-based simulation on Graphics Processing Units]'''. Roshan D'Souza at [http://www.me.mtu.edu/ Michigan Tech's Mechanical Engineering department] has been working on ultra-high-speed agent-based modeling using direct programming of Graphics Processing Units (gaming chips). He has, for example, run Sugarscape with 2 million agents updating over 50 times per second with graphical output. [[Image:SugarScape_GPU.pdf|Here is a paper on this work.]] &lt;br /&gt;
*'''[http://www.fipa.org/ FIPA]'''. &amp;amp;quot;FIPA is an IEEE Computer Society standards organization that promotes agent-based technology and the interoperability of its standards with other technologies.&amp;amp;quot;&lt;br /&gt;
*'''[[Objective-C]]'''&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
*Leigh Tesfatsion's '''[http://www.econ.iastate.edu/tesfatsi/acecode.htm Resource Site for Agent-Based Software and Toolkits]'''&lt;br /&gt;
&lt;br /&gt;
*Steve Railsback, Steve Lytinen, and Steve Jackson's '''[http://condor.depaul.edu/~slytinen/abm/StupidModel ABM template model site]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=FIXME FIXME=&lt;br /&gt;
&lt;br /&gt;
Where does following content go???&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Why and How to do Agent- and Individual-based Modeling=&lt;br /&gt;
This page provides citations for materials to help people understand when to use agent-based modeling, and how to design and use ABMs. '''Please add useful citations!'''&lt;br /&gt;
&lt;br /&gt;
* ''Railsback, S. F., and V. Grimm. 2012. Agent-based and individual-based modeling: a practical introduction. Princeton University Press, Princeton, New Jersey.'' This is a textbook for classes and self-instruction on scientific agent-based modeling. It uses NetLogo as a software platform. The book focuses on modeling concepts, theory, and methodology and how to implement them in NetLogo. See: http://www.railsback-grimm-abm-book.com/.&lt;br /&gt;
&lt;br /&gt;
* ''Salamon, T. 2011. Design of Agent-Based Models : Developing Computer Simulations for a Better Understanding of Social Processes. Repin, Czech Republic: Bruckner Publishing'' This monograph provides an overview of the principles of agent technologies and is primarily focused on the design and development process of agent-based models. See: http://www.designofagentbasedmodels.info/.&lt;br /&gt;
&lt;br /&gt;
* ''DeAngelis, D.L. &amp;amp;amp; W.M. Mooij. 2005 Individual-based modeling of ecological and evolutionary processes. Annual Reviews in Ecology, Evolution and Systematics 36: 147-168.'' The authors attempted to identify all the publications using individual-based models in ecology. They look at the kinds of problems and subjects that this approach has been applied to.&lt;br /&gt;
&lt;br /&gt;
* ''Grimm, V. 1999. Ten years of individual-based modelling in ecology: what have we learned and what could we learn in the future? Ecological Modelling 115:129-148.''  This paper reviews the status of individual-based modeling in ecology as of about 1998, focusing especially on the links (or lack thereof) between models and theory.&lt;br /&gt;
&lt;br /&gt;
* ''Grimm, V., and S. F. Railsback. 2005. Individual-based modeling and ecology. Princeton University Press, Princeton, New Jersey.'' This book addresses the full cycle of designing, testing, using, and publishing agent-based models, and should be useful even for non-ecologists. Additional information is at: http://www.pupress.princeton.edu/titles/8108.html&lt;br /&gt;
&lt;br /&gt;
* ''Grimm, V., E. Revilla, U. Berger, F. Jeltsch, W. M. Mooij, S. F. Railsback, H.-H. Thulke, J. Weiner, T. Wiegand, and D. L. DeAngelis. 2005. Pattern-oriented modeling of agent-based complex systems: lessons from ecology. Science 310:987-991.'' This paper discusses how to address 3 major problems in applying agent-based models to real-world problems: how do you design models that are complex enough but not too complex? how do you develop and test the theory used in your model? and how can you find good parameter values?&lt;br /&gt;
&lt;br /&gt;
*''Grimm, V., U. Berger, F. Bastiansen, S. Eliassen, V. Ginot, J. Giske, J. Goss-Custard, T. Grand, S. Heinz, G. Huse, A. Huth, J. U. Jepsen, C. JÃ¸rgensen, W. M. Mooij, B. MÃ¼ller, G. Peâ€™er, C. Piou, S. F. Railsback, A. M. Robbins, M. M. Robbins, E. Rossmanith, N. RÃ¼ger, E. Strand, S. Souissi, R. A. Stillman, R. VabÃ¸, U. Visser, and D. L. DeAngelis. 2006. A standard protocol for describing individual-based and agent-based models. Ecological Modelling 198:115-296.'' How can you describe an ABM (e.g., in model documentation or a publication) in such a way that its essential characteristics can be understood easily, while still providing all the details? This paper recommends a standard protocol for describing models, which is also a good way to think about models as they are being designed. The on-line appendices provide example descriptions of many models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* There are many useful resources on [http://www.econ.iastate.edu/tesfatsi/ace.htm Leigh Tesfatsion's site].&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=22</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=22"/>
				<updated>2015-03-07T06:07:08Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_and_MinGW]]&lt;br /&gt;
&lt;br /&gt;
[[ABM_Resources]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_Apps]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_FAQ]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
&lt;br /&gt;
==News==&lt;br /&gt;
&lt;br /&gt;
===Announcement for Swarmfest 2012===&lt;br /&gt;
&lt;br /&gt;
Email Inquiries to: swarmfest2012@gmail.com&lt;br /&gt;
&lt;br /&gt;
[[Test]] will take place in Downtown Charlotte, N.C. July 29-31, 2012, hosted by the Complex Systems&lt;br /&gt;
Institute at the University of North Carolina, Charlotte (http://complexity.uncc.edu/). The conference venue is the UNCC Center City Building http://centercity.uncc.edu/.&lt;br /&gt;
Local Map http://centercity.uncc.edu/map-and-directions and Parking http://centercity.uncc.edu/parking&lt;br /&gt;
&lt;br /&gt;
'''Registration can be accomplished at http://www.cvent.com/d/tcqqgn'''&lt;br /&gt;
 &lt;br /&gt;
Swamfest is the annual meeting of the Swarm Development Group (SDG), and one of the oldest communities involved in the development and propagation of agent-based modeling.  Swarmfest has traditionally involved a mix of both tool-users and tool-developers, drawn from many domains of expertise. These have included, in the past, computer scientists, software engineers, biomedical researchers, ecologists, economists, political scientists, social scientists, resource management specialists and evolutionary biologists.  Swarmfest represents a low-key environment for researchers to explore new ideas and approaches, and benefit from a multi-disciplinary environment.&lt;br /&gt;
&lt;br /&gt;
This year we will continue to examine the range of systems being modeled with ABM, with the possibility of providing some guidance as to the suitability of the various types of agent-based models for particular types of modeling goals. We also encourage the sharing of our experiences with attempting to gain acceptance of ABM within our own research communities, and discuss strategies where cross-domain examples/analogies can aid in that process. We will also try to identify future avenues for ABM research, including the &amp;amp;quot;next&amp;amp;quot; generation of ABM tools, platforms and application.&lt;br /&gt;
&lt;br /&gt;
Watch this page for upcoming news on program and logistics.&lt;br /&gt;
&lt;br /&gt;
Hope to see you in Charlotte!&lt;br /&gt;
{{posted|--[[User:Gary An|Gary An]] 16 March 2012}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===New version of Objective-C Swarm for Windows===&lt;br /&gt;
There is a new binary (and source) release of Swarm that works with MinGW, a compiler that produces Windows executables. Advantages of this new way to use Swarm in Windows:&lt;br /&gt;
* Windows executables can be launched directly from Windows, without needing to launch from inside a Unix-like environment.&lt;br /&gt;
* Swarm models can be distributed for use on any Windows computer, without requiring Swarm or MinGW to be installed.&lt;br /&gt;
* Faster execution than Cygwin Swarm.&lt;br /&gt;
See the yellow &amp;amp;quot;Swarm Software&amp;amp;quot; box on this page.&lt;br /&gt;
{{posted|--[[User:SFRailsback|SFRailsback]] 15 Aug 2011}}&lt;br /&gt;
&lt;br /&gt;
===Be a Swarm Development Group Member!===&lt;br /&gt;
Membership in SDG is a way to support our efforts to maintain and improve Swarm, and to support agent-based modeling. [[SDG_membership|We just updated our membership page]] with new membership categories and procedures. Take a look to see what you can do. {{posted|--[[User:SFRailsback|SFRailsback]] 17:34, 10 Nov 2006 (EST)}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;div style=&amp;amp;quot;float:right;&amp;amp;quot;&amp;amp;gt;'''[[News|News archive]]&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
[[SwarmWiki:FAQ#Q._How_do_I_add_a_news_item_to_the_wiki.27s_main_page.3F|How to submit a news item]]'''&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| width=&amp;amp;quot;45%&amp;amp;quot; style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #ffebcd&amp;amp;quot; |&lt;br /&gt;
==Agent- and Individual-based Modeling Resources==&lt;br /&gt;
&lt;br /&gt;
*'''[[ABM_Resources|Resources for agent-based modeling]]'''. This area of the wiki is for information on agent-based modeling in general. There are sub-areas for:&lt;br /&gt;
**Agent-based modeling community resources, including [[Swarm:_SwarmFest|SwarmFest]], our annual modeling conference&lt;br /&gt;
**Software (information on alternative platforms; learning materials; template models; integrated development environments)&lt;br /&gt;
**&amp;amp;quot;How and why to do agent-based modeling&amp;amp;quot;: techniques and theory&lt;br /&gt;
**Resources specific to different scientific domains&lt;br /&gt;
&lt;br /&gt;
*'''modelling@swarm.org: The email community of agent-based modelers.''' This email list discusses topics of general interest to agent-based modelers. [[Swarm:_Mailing_lists|More information and signup here.]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #FFFFCC&amp;amp;quot; |&lt;br /&gt;
&lt;br /&gt;
[[Image:Small-swarm-logo.jpeg]]&lt;br /&gt;
&lt;br /&gt;
==Swarm Software for Agent-based Modeling==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm_main_page|The main Swarm page]]''' for Swarm software, documentation, and applications&lt;br /&gt;
&lt;br /&gt;
*''New release of Objective-C for Windows'' produces Windows-native executables! See [[Swarm_and_MinGW|Using Swarm on Windows with MinGW]]&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm: applications|Thanks to Paul Johnson, a new package of applications for Swarm-2.2]]'', particularly for Objective C&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm:_Mailing_lists|Email lists for support and modeling]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #DAFDDA&amp;amp;quot; |&lt;br /&gt;
==Swarm Development Group==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm Development Group]] (SDG)'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG contact|Contact information]]'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG_membership|Information on SDG membership]]'''&lt;br /&gt;
&lt;br /&gt;
*[https://www.ku.edu/~pauljohn/sdg/member_pages/ SDG Members]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 style=&amp;amp;quot;border: 1px solid #c6c9ff; color: #000; padding: .4em .9em .9em; background-color: #d3d3d3&amp;amp;quot; |&lt;br /&gt;
==Help==&lt;br /&gt;
* Who can contribute to this wiki? How do you use it? How can you register to edit or add pages? See the [[SwarmWiki:FAQ|FAQ about this wiki]]&lt;br /&gt;
* [[SwarmWiki:Objectives_and_organization|Objectives and organization of this wiki]]: what can you find on this wiki, and what is appropriate to add to it, where?&lt;br /&gt;
* For general wiki help, see: http://www.wikipedia.org/wiki/Wikipedia:Help&lt;br /&gt;
* For help editing the wiki, start with: http://www.wikipedia.org/wiki/Help:Editing&lt;br /&gt;
* To ''experiment with editing'' the wiki without worrying about messing up articles, try the [[Wiki sandbox]]&lt;br /&gt;
* [[SwarmWiki:Help]] Help page for wiki administrators.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=SwarmWiki:Objectives_and_organization&amp;diff=21</id>
		<title>SwarmWiki:Objectives and organization</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=SwarmWiki:Objectives_and_organization&amp;diff=21"/>
				<updated>2015-03-07T06:05:25Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot; ==Wiki Objectives== This site has three distinct objectives:  * Provide resources and support for all agent- and individual-based modelers, regardless of their scientific dom...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Wiki Objectives==&lt;br /&gt;
This site has three distinct objectives:&lt;br /&gt;
&lt;br /&gt;
* Provide resources and support for all agent- and individual-based modelers, regardless of their scientific domain and software platform&lt;br /&gt;
* Distribute and support the Swarm platform for agent-based modeling&lt;br /&gt;
* Provide a home for the Swarm Development Group.&lt;br /&gt;
&lt;br /&gt;
==Organization of the [[Main_Page|Main Page]]==&lt;br /&gt;
This page has five sections. The overall format is designed to let users easily see (a) major news items without having to link through to other pages, while also (b) the full range of content available on the site. Therefore, the page has a left-hand column of news, and three very concise boxes---one for each of the wiki's three objectives---in the right column. A help box is at the bottom.&lt;br /&gt;
&lt;br /&gt;
===News (blue box)===&lt;br /&gt;
* The News box contains news items of general interest to agent-based modelers and Swarm users. &lt;br /&gt;
* Appropriate items include major announcements concerning Swarm or other platforms, SwarmFest and other conferences, changes to the wiki, new publications of widespread interest, etc.&lt;br /&gt;
* Users are encouraged to contribute news items following [[SwarmWiki:FAQ#Q._How_do_I_add_a_news_item_to_the_wiki.27s_main_page.3F|this procedure]].&lt;br /&gt;
* News items are labeled with the date they were posted and are eventually moved to an archive. (This label is added via the &amp;amp;quot;posted&amp;amp;quot; template and the &amp;amp;quot;Your signature plus timestamp&amp;amp;quot; button on the Wiki editor.) (Items must be manually moved to the archive page.)&lt;br /&gt;
&lt;br /&gt;
===Agent- and Individual-based Modeling Resources (tan box)===&lt;br /&gt;
* This section addresses the first objective, by providing information of general interest.&lt;br /&gt;
* Items are formatted in an &amp;amp;quot;unordered list&amp;amp;quot; (bullet lists), with each item consisting of a short announcement linked to a page on the wiki where details are posted. This format allows users to see and go to a lot of information in a small space.&lt;br /&gt;
* One item is a link to a Modeling Resources main page, where all the content on general resources is available.&lt;br /&gt;
&lt;br /&gt;
===Swarm Software (rose box)===&lt;br /&gt;
* This section addresses the second objective, providing an entryway into the wiki's resources for Swarm software.&lt;br /&gt;
* Items are formatted in an unordered list of short announcements linked to wiki pages where details are posted.&lt;br /&gt;
* One item is a link to a Swarm software main page, which has links to all the Swarm resources.&lt;br /&gt;
&lt;br /&gt;
===Swarm Development Group (green box)===&lt;br /&gt;
* This section addresses the third objective by providing links to information on SDG.&lt;br /&gt;
* Like the previous two sections, items are a bullet list of links. One link is to a main page for SDG.&lt;br /&gt;
&lt;br /&gt;
===Help (grey box)===&lt;br /&gt;
* Includes a link to this description of the wiki's format and objectives&lt;br /&gt;
* Includes links to help pages within our wiki and to WikiMedia's documentation.&lt;br /&gt;
&lt;br /&gt;
==Organization of the [[ABM_Resources|ABM Resources page]]==&lt;br /&gt;
The ABM Resources page is the main page for content of general interest to agent-based modelers. It has four sections, plus a help box at the bottom.&lt;br /&gt;
&lt;br /&gt;
Each of the boxes on the [[ABM_Resources|ABM Resources page]] contains a series of bullets that each briefly describing a resource and contain a link to a page for that resource.&lt;br /&gt;
&lt;br /&gt;
===User Community Resources===&lt;br /&gt;
This section provides information on user community resources and events: email lists, meetings, etc. where agent-based modelers can interact and support each other. &lt;br /&gt;
&lt;br /&gt;
===Software Resources===&lt;br /&gt;
This section provides general information on software for agent-based modeling. Appropriate content includes information comparing platforms and helping people select a platform, and resources for learning platforms that are not specific to any one platform. It does ''not'' provide detailed information on any particular software platform.&lt;br /&gt;
&lt;br /&gt;
===Why and How to do Agent-based and Individual-based Modeling===&lt;br /&gt;
This section addresses general methodological and philosophical issues. Content should include information on when agent-based approaches are appropriate, how to build and test ABMs, how to apply ABMs to scientific or management problems, and how to publish results.&lt;br /&gt;
&lt;br /&gt;
===Domain-Specific Resources===&lt;br /&gt;
This section contains or points to resources in specific scientific domains where agent-based modeling is used. &lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=ABM_Resources&amp;diff=20</id>
		<title>ABM Resources</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=ABM_Resources&amp;diff=20"/>
				<updated>2015-03-07T06:02:41Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Complete kits and platforms==&lt;br /&gt;
&lt;br /&gt;
===Open source===&lt;br /&gt;
(must be freely distributable under an open source license, i.e. &amp;amp;quot;free as in speech&amp;amp;quot; as defined by the superset of the [http://opensource.org/docs/definition.php Open Source Definition from the Open Source Initiative] and the [http://www.gnu.org/licenses/license-list.html Free Software Foundation])&lt;br /&gt;
*'''[http://agents.felk.cvut.cz/aglobe A-globe]'''&lt;br /&gt;
*'''[http://www.alphaworks.ibm.com/tech/able ABLE]'''&lt;br /&gt;
*'''[http://ascape.sourceforge.net Ascape]'''&lt;br /&gt;
*'''[http://www.spiderland.org/breve/ Breve]'''&lt;br /&gt;
*'''[http://cormas.cirad.fr/en/outil/outil.htm Cormas]''' &amp;amp;quot;Cormas is a programming environment dedicated to the creation of multi-agent systems, with a specificity in the domain of natural-resources management. It provides a framework for developing simulation models of coordination modes between individuals and groups that jointly exploit common resources.&amp;amp;quot;&lt;br /&gt;
*'''[http://www.cougaar.org/ Cougaar]'''&lt;br /&gt;
*'''[http://ecolab.sourceforge.net EcoLab]'''&lt;br /&gt;
*'''[http://omicrongroup.org/evo/ EVO]'''&lt;br /&gt;
*'''[http://sharon.cselt.it/projects/jade/ JADE]'''&lt;br /&gt;
*'''[http://jaslibrary.sourceforge.net JAS]'''&lt;br /&gt;
*'''[http://cs.gmu.edu/~eclab/projects/mason/ MASON]'''&lt;br /&gt;
*'''[http://www.metascapeabm.com/index.php?option=com_content&amp;amp;amp;task=view&amp;amp;amp;id=19&amp;amp;amp;Itemid=61 metaABM]''' (A meta-modeling environment supporting multiple ABM platforms)&lt;br /&gt;
*'''[http://www.avignon.inra.fr/internet/unites/biometrie/mobidyc_projet/english/version_index_html Mobidyc]''' &amp;amp;quot;The free software for building and running Individual Based Models with no computer skill. Mobidyc is a software project that aims to promote Individual-Based Modelling in the field of ecology, biology and environment.&amp;amp;quot;&lt;br /&gt;
*'''[http://ccl.northwestern.edu/netlogo/ NetLogo]'''&lt;br /&gt;
*'''[http://quicksilver.tigris.org/ Quicksilver]'''&lt;br /&gt;
*'''[http://repast.sourceforge.net Repast]'''&lt;br /&gt;
*'''[http://www.cs.bham.ac.uk/~axs/cog_affect/sim_agent.html SIM_AGENT]'''&lt;br /&gt;
*'''[http://www.simsesam.de SeSAm]'''&lt;br /&gt;
*'''[http://simpy.sourceforge.net/ SimPy]'''&lt;br /&gt;
*'''[http://www.swarm.org Swarm]'''&lt;br /&gt;
*'''[http://www.primordion.com/Xholon Xholon]'''&lt;br /&gt;
*'''[http://labs.bt.com/projects/agents/zeus/ Zeus]'''&lt;br /&gt;
&lt;br /&gt;
===Freeware===&lt;br /&gt;
(available for free &amp;amp;quot;as in beer&amp;amp;quot;, source may or may not necessarily be available, if source is available it is not under an open-source license)&lt;br /&gt;
*'''[http://dextk.org deX]'''&lt;br /&gt;
*'''[http://education.mit.edu/starlogo/ StarLogo]'''&lt;br /&gt;
*'''[http://ccl.northwestern.edu/cm/StarLogoT/ StarLogoT]'''&lt;br /&gt;
*'''[http://visualbots.com/ VisualBots]''' -- Easy to use multi-agent simulator for Microsoft Excel - Visual Basic syntax, rich object model, documentation, sample simulations&lt;br /&gt;
&lt;br /&gt;
===Proprietary===&lt;br /&gt;
*'''[http://agentsheets.com/ AgentSheets]'''&lt;br /&gt;
*'''[http://www.chiinc.com/products/products_igen.htm iGEN]'''&lt;br /&gt;
*'''[http://www.xjtek.com AnyLogic]'''&lt;br /&gt;
*'''[http://mass.aitia.ai MASS]'''&lt;br /&gt;
&lt;br /&gt;
==Swarm add-ons and extensions==&lt;br /&gt;
*'''[[COSMIC]]''' --  General simulation utility classes, provided by the Complex Systems Modelling Group at Imperial College&lt;br /&gt;
*'''[http://www.humboldt.edu/~ecomodel/ EcoSwarm@HSU]''' --  Modeling tools for use with the Swarm simulation system&lt;br /&gt;
*'''[http://me.in-berlin.de/~rws/logzone_toc.html LogZone]''' -- Zone exploration tool.&lt;br /&gt;
&lt;br /&gt;
==Related tools and technologies==&lt;br /&gt;
*'''[http://www.me.mtu.edu/%7Ermdsouza/ABM_GPU.html Agent-based simulation on Graphics Processing Units]'''. Roshan D'Souza at [http://www.me.mtu.edu/ Michigan Tech's Mechanical Engineering department] has been working on ultra-high-speed agent-based modeling using direct programming of Graphics Processing Units (gaming chips). He has, for example, run Sugarscape with 2 million agents updating over 50 times per second with graphical output. [[Image:SugarScape_GPU.pdf|Here is a paper on this work.]] &lt;br /&gt;
*'''[http://www.fipa.org/ FIPA]'''. &amp;amp;quot;FIPA is an IEEE Computer Society standards organization that promotes agent-based technology and the interoperability of its standards with other technologies.&amp;amp;quot;&lt;br /&gt;
*'''[[Objective-C]]'''&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
*Leigh Tesfatsion's '''[http://www.econ.iastate.edu/tesfatsi/acecode.htm Resource Site for Agent-Based Software and Toolkits]'''&lt;br /&gt;
&lt;br /&gt;
*Steve Railsback, Steve Lytinen, and Steve Jackson's '''[http://condor.depaul.edu/~slytinen/abm/StupidModel ABM template model site]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=FIXME FIXME=&lt;br /&gt;
&lt;br /&gt;
Where does following content go&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Agent- and Individual-based Modeling Resources==&lt;br /&gt;
&lt;br /&gt;
*'''[[ABM_Resources|Resources for agent-based modeling]]'''. This area of the wiki is for information on agent-based modeling in general. There are sub-areas for:&lt;br /&gt;
**Agent-based modeling community resources, including [[Swarm:_SwarmFest|SwarmFest]], our annual modeling conference&lt;br /&gt;
**Software (information on alternative platforms; learning materials; template models; integrated development environments)&lt;br /&gt;
**&amp;amp;quot;How and why to do agent-based modeling&amp;amp;quot;: techniques and theory&lt;br /&gt;
**Resources specific to different scientific domains&lt;br /&gt;
&lt;br /&gt;
*'''modelling@swarm.org: The email community of agent-based modelers.''' This email list discusses topics of general interest to agent-based modelers. [[Swarm:_Mailing_lists|More information and signup here.]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #FFFFCC&amp;amp;quot; |&lt;br /&gt;
&lt;br /&gt;
[[Image:Small-swarm-logo.jpeg]]&lt;br /&gt;
&lt;br /&gt;
==Swarm Software for Agent-based Modeling==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm_main_page|The main Swarm page]]''' for Swarm software, documentation, and applications&lt;br /&gt;
&lt;br /&gt;
*''New release of Objective-C for Windows'' produces Windows-native executables! See [[Swarm_and_MinGW|Using Swarm on Windows with MinGW]]&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm: applications|Thanks to Paul Johnson, a new package of applications for Swarm-2.2]]'', particularly for Objective C&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm:_Mailing_lists|Email lists for support and modeling]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #DAFDDA&amp;amp;quot; |&lt;br /&gt;
==Swarm Development Group==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm Development Group]] (SDG)'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG contact|Contact information]]'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG_membership|Information on SDG membership]]'''&lt;br /&gt;
&lt;br /&gt;
*[https://www.ku.edu/~pauljohn/sdg/member_pages/ SDG Members]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 style=&amp;amp;quot;border: 1px solid #c6c9ff; color: #000; padding: .4em .9em .9em; background-color: #d3d3d3&amp;amp;quot; |&lt;br /&gt;
==Help==&lt;br /&gt;
* Who can contribute to this wiki? How do you use it? How can you register to edit or add pages? See the [[SwarmWiki:FAQ|FAQ about this wiki]]&lt;br /&gt;
* [[SwarmWiki:Objectives_and_organization|Objectives and organization of this wiki]]: what can you find on this wiki, and what is appropriate to add to it, where?&lt;br /&gt;
* For general wiki help, see: http://www.wikipedia.org/wiki/Wikipedia:Help&lt;br /&gt;
* For help editing the wiki, start with: http://www.wikipedia.org/wiki/Help:Editing&lt;br /&gt;
* To ''experiment with editing'' the wiki without worrying about messing up articles, try the [[Wiki sandbox]]&lt;br /&gt;
* [[SwarmWiki:Help]] Help page for wiki administrators.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Why and How to do Agent- and Individual-based Modeling=&lt;br /&gt;
This page provides citations for materials to help people understand when to use agent-based modeling, and how to design and use ABMs. '''Please add useful citations!'''&lt;br /&gt;
&lt;br /&gt;
* ''Railsback, S. F., and V. Grimm. 2012. Agent-based and individual-based modeling: a practical introduction. Princeton University Press, Princeton, New Jersey.'' This is a textbook for classes and self-instruction on scientific agent-based modeling. It uses NetLogo as a software platform. The book focuses on modeling concepts, theory, and methodology and how to implement them in NetLogo. See: http://www.railsback-grimm-abm-book.com/.&lt;br /&gt;
&lt;br /&gt;
* ''Salamon, T. 2011. Design of Agent-Based Models : Developing Computer Simulations for a Better Understanding of Social Processes. Repin, Czech Republic: Bruckner Publishing'' This monograph provides an overview of the principles of agent technologies and is primarily focused on the design and development process of agent-based models. See: http://www.designofagentbasedmodels.info/.&lt;br /&gt;
&lt;br /&gt;
* ''DeAngelis, D.L. &amp;amp;amp; W.M. Mooij. 2005 Individual-based modeling of ecological and evolutionary processes. Annual Reviews in Ecology, Evolution and Systematics 36: 147-168.'' The authors attempted to identify all the publications using individual-based models in ecology. They look at the kinds of problems and subjects that this approach has been applied to.&lt;br /&gt;
&lt;br /&gt;
* ''Grimm, V. 1999. Ten years of individual-based modelling in ecology: what have we learned and what could we learn in the future? Ecological Modelling 115:129-148.''  This paper reviews the status of individual-based modeling in ecology as of about 1998, focusing especially on the links (or lack thereof) between models and theory.&lt;br /&gt;
&lt;br /&gt;
* ''Grimm, V., and S. F. Railsback. 2005. Individual-based modeling and ecology. Princeton University Press, Princeton, New Jersey.'' This book addresses the full cycle of designing, testing, using, and publishing agent-based models, and should be useful even for non-ecologists. Additional information is at: http://www.pupress.princeton.edu/titles/8108.html&lt;br /&gt;
&lt;br /&gt;
* ''Grimm, V., E. Revilla, U. Berger, F. Jeltsch, W. M. Mooij, S. F. Railsback, H.-H. Thulke, J. Weiner, T. Wiegand, and D. L. DeAngelis. 2005. Pattern-oriented modeling of agent-based complex systems: lessons from ecology. Science 310:987-991.'' This paper discusses how to address 3 major problems in applying agent-based models to real-world problems: how do you design models that are complex enough but not too complex? how do you develop and test the theory used in your model? and how can you find good parameter values?&lt;br /&gt;
&lt;br /&gt;
*''Grimm, V., U. Berger, F. Bastiansen, S. Eliassen, V. Ginot, J. Giske, J. Goss-Custard, T. Grand, S. Heinz, G. Huse, A. Huth, J. U. Jepsen, C. JÃ¸rgensen, W. M. Mooij, B. MÃ¼ller, G. Peâ€™er, C. Piou, S. F. Railsback, A. M. Robbins, M. M. Robbins, E. Rossmanith, N. RÃ¼ger, E. Strand, S. Souissi, R. A. Stillman, R. VabÃ¸, U. Visser, and D. L. DeAngelis. 2006. A standard protocol for describing individual-based and agent-based models. Ecological Modelling 198:115-296.'' How can you describe an ABM (e.g., in model documentation or a publication) in such a way that its essential characteristics can be understood easily, while still providing all the details? This paper recommends a standard protocol for describing models, which is also a good way to think about models as they are being designed. The on-line appendices provide example descriptions of many models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* There are many useful resources on [http://www.econ.iastate.edu/tesfatsi/ace.htm Leigh Tesfatsion's site].&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=ABM_Resources&amp;diff=19</id>
		<title>ABM Resources</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=ABM_Resources&amp;diff=19"/>
				<updated>2015-03-07T05:53:33Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot; ==Complete kits and platforms==  ===Open source=== (must be freely distributable under an open source license, i.e. &amp;amp;quot;free as in speech&amp;amp;quot; as defined by the superset o...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Complete kits and platforms==&lt;br /&gt;
&lt;br /&gt;
===Open source===&lt;br /&gt;
(must be freely distributable under an open source license, i.e. &amp;amp;quot;free as in speech&amp;amp;quot; as defined by the superset of the [http://opensource.org/docs/definition.php Open Source Definition from the Open Source Initiative] and the [http://www.gnu.org/licenses/license-list.html Free Software Foundation])&lt;br /&gt;
*'''[http://agents.felk.cvut.cz/aglobe A-globe]'''&lt;br /&gt;
*'''[http://www.alphaworks.ibm.com/tech/able ABLE]'''&lt;br /&gt;
*'''[http://ascape.sourceforge.net Ascape]'''&lt;br /&gt;
*'''[http://www.spiderland.org/breve/ Breve]'''&lt;br /&gt;
*'''[http://cormas.cirad.fr/en/outil/outil.htm Cormas]''' &amp;amp;quot;Cormas is a programming environment dedicated to the creation of multi-agent systems, with a specificity in the domain of natural-resources management. It provides a framework for developing simulation models of coordination modes between individuals and groups that jointly exploit common resources.&amp;amp;quot;&lt;br /&gt;
*'''[http://www.cougaar.org/ Cougaar]'''&lt;br /&gt;
*'''[http://ecolab.sourceforge.net EcoLab]'''&lt;br /&gt;
*'''[http://omicrongroup.org/evo/ EVO]'''&lt;br /&gt;
*'''[http://sharon.cselt.it/projects/jade/ JADE]'''&lt;br /&gt;
*'''[http://jaslibrary.sourceforge.net JAS]'''&lt;br /&gt;
*'''[http://cs.gmu.edu/~eclab/projects/mason/ MASON]'''&lt;br /&gt;
*'''[http://www.metascapeabm.com/index.php?option=com_content&amp;amp;amp;task=view&amp;amp;amp;id=19&amp;amp;amp;Itemid=61 metaABM]''' (A meta-modeling environment supporting multiple ABM platforms)&lt;br /&gt;
*'''[http://www.avignon.inra.fr/internet/unites/biometrie/mobidyc_projet/english/version_index_html Mobidyc]''' &amp;amp;quot;The free software for building and running Individual Based Models with no computer skill. Mobidyc is a software project that aims to promote Individual-Based Modelling in the field of ecology, biology and environment.&amp;amp;quot;&lt;br /&gt;
*'''[http://ccl.northwestern.edu/netlogo/ NetLogo]'''&lt;br /&gt;
*'''[http://quicksilver.tigris.org/ Quicksilver]'''&lt;br /&gt;
*'''[http://repast.sourceforge.net Repast]'''&lt;br /&gt;
*'''[http://www.cs.bham.ac.uk/~axs/cog_affect/sim_agent.html SIM_AGENT]'''&lt;br /&gt;
*'''[http://www.simsesam.de SeSAm]'''&lt;br /&gt;
*'''[http://simpy.sourceforge.net/ SimPy]'''&lt;br /&gt;
*'''[http://www.swarm.org Swarm]'''&lt;br /&gt;
*'''[http://www.primordion.com/Xholon Xholon]'''&lt;br /&gt;
*'''[http://labs.bt.com/projects/agents/zeus/ Zeus]'''&lt;br /&gt;
&lt;br /&gt;
===Freeware===&lt;br /&gt;
(available for free &amp;amp;quot;as in beer&amp;amp;quot;, source may or may not necessarily be available, if source is available it is not under an open-source license)&lt;br /&gt;
*'''[http://dextk.org deX]'''&lt;br /&gt;
*'''[http://education.mit.edu/starlogo/ StarLogo]'''&lt;br /&gt;
*'''[http://ccl.northwestern.edu/cm/StarLogoT/ StarLogoT]'''&lt;br /&gt;
*'''[http://visualbots.com/ VisualBots]''' -- Easy to use multi-agent simulator for Microsoft Excel - Visual Basic syntax, rich object model, documentation, sample simulations&lt;br /&gt;
&lt;br /&gt;
===Proprietary===&lt;br /&gt;
*'''[http://agentsheets.com/ AgentSheets]'''&lt;br /&gt;
*'''[http://www.chiinc.com/products/products_igen.htm iGEN]'''&lt;br /&gt;
*'''[http://www.xjtek.com AnyLogic]'''&lt;br /&gt;
*'''[http://mass.aitia.ai MASS]'''&lt;br /&gt;
&lt;br /&gt;
==Swarm add-ons and extensions==&lt;br /&gt;
*'''[[COSMIC]]''' --  General simulation utility classes, provided by the Complex Systems Modelling Group at Imperial College&lt;br /&gt;
*'''[http://www.humboldt.edu/~ecomodel/ EcoSwarm@HSU]''' --  Modeling tools for use with the Swarm simulation system&lt;br /&gt;
*'''[http://me.in-berlin.de/~rws/logzone_toc.html LogZone]''' -- Zone exploration tool.&lt;br /&gt;
&lt;br /&gt;
==Related tools and technologies==&lt;br /&gt;
*'''[http://www.me.mtu.edu/%7Ermdsouza/ABM_GPU.html Agent-based simulation on Graphics Processing Units]'''. Roshan D'Souza at [http://www.me.mtu.edu/ Michigan Tech's Mechanical Engineering department] has been working on ultra-high-speed agent-based modeling using direct programming of Graphics Processing Units (gaming chips). He has, for example, run Sugarscape with 2 million agents updating over 50 times per second with graphical output. [[Image:SugarScape_GPU.pdf|Here is a paper on this work.]] &lt;br /&gt;
*'''[http://www.fipa.org/ FIPA]'''. &amp;amp;quot;FIPA is an IEEE Computer Society standards organization that promotes agent-based technology and the interoperability of its standards with other technologies.&amp;amp;quot;&lt;br /&gt;
*'''[[Objective-C]]'''&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
*Leigh Tesfatsion's '''[http://www.econ.iastate.edu/tesfatsi/acecode.htm Resource Site for Agent-Based Software and Toolkits]'''&lt;br /&gt;
&lt;br /&gt;
*Steve Railsback, Steve Lytinen, and Steve Jackson's '''[http://condor.depaul.edu/~slytinen/abm/StupidModel ABM template model site]'''&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm:Stable_release&amp;diff=18</id>
		<title>Swarm:Stable release</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm:Stable_release&amp;diff=18"/>
				<updated>2015-03-07T05:51:33Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;==Stable release: Swarm 2.2==  As of February, 2005, Swarm 2.2 is the new stable release. This release is the culmination of the numerous development snapshots since the previ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Stable release: Swarm 2.2==&lt;br /&gt;
&lt;br /&gt;
As of February, 2005, Swarm 2.2 is the new stable release. This release is the culmination of the numerous development snapshots since the previous release (Swarm 2.1.1, which was released in April, 2000). &lt;br /&gt;
&lt;br /&gt;
Swarm 2.2 adds a few new capabilities to Swarm. These include improved support for HDF5 and Lisp archiving of data, with support for serialization; a variety of data summary options added to EZGraph and Averager; and binomial and Poisson random number distributions. Several components have been optimized for efficiency, including the random number generators.&lt;br /&gt;
&lt;br /&gt;
Swarm 2.2 also works reliably in Windows XP, fixes a number of bugs, works around drag-and-drop problems with Tcl/Tk in Windows, and includes a number of changes to speed up model execution.&lt;br /&gt;
&lt;br /&gt;
The documentation set has been updated for Swarm 2.2; it is available from the [[Swarm: documentation|Swarm documentation]] page.&lt;br /&gt;
&lt;br /&gt;
NEWS (user-visible changes)&lt;br /&gt;
&lt;br /&gt;
 * '''See the list of known bugs''', below!&lt;br /&gt;
 * Release Notes for Swarm 2.2&lt;br /&gt;
 ** Numerous bugs have been fixed since 2.1.1&lt;br /&gt;
 ** MacOS X is now supported&lt;br /&gt;
 ** The Windows binaries for java Swarm now use the MingW compiler.&lt;br /&gt;
 ** Two new probability distributions (binomial, Poisson) have been added &lt;br /&gt;
    to the Random library.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
*If downloading a binary from within your web browser, you should do it in such a way that the browser never displays the file on the screen. If you save a file after viewing it, many browsers corrupt it. In Netscape, shift-clicking the url will save it directly to disk.&lt;br /&gt;
*The needed-software directory only applies to building Swarm from source. If you are installing one of the binary distributions, you will not be required to build any packages from source, all relevant packages will either be bundled with your distribution (such as Red Hat and Debian) and/or we provide the appropriate packages in on the ftp site, under the subdirectory relevant for that distribution (list below).&lt;br /&gt;
&lt;br /&gt;
==Packaged (binary) distributions (2.2)==&lt;br /&gt;
The packaged (binary) distributions provide an environment against which user applications can be compiled and linked, without building the Swarm kernel from source.&lt;br /&gt;
&lt;br /&gt;
===Windows binaries===&lt;br /&gt;
'''Windows binaries are different from previous versions!''' In Swarm 2.1.1 and earlier versions, Swarm Windows binaries were distributed as an executable file that installed Cygwin and Swarm on your computer. Swarm 2.2 is distributed by providing a special version of Cygwin that includes Swarm; this version is installed using a special version of the Cygwin setup program. Additional information and instructions are included in the [[Windows binary notes]]. &lt;br /&gt;
&lt;br /&gt;
The Windows binaries are installed via a setup program at:&lt;br /&gt;
*http://ftp.swarm.org/pub/swarm/binaries/w32/cygwin/setup.exe&lt;br /&gt;
&lt;br /&gt;
This program downloads and installs Cygwin and Swarm from the internet; you will need a high-speed internet connection. (Alternatives for computers without high-speed access are discussed in [[Windows binary notes]].)&lt;br /&gt;
&lt;br /&gt;
Java binaries for Swarm 2.2 now use the MingW compiler (http://www.mingw.org ) instead of Sun JDK. This means they can be run outside of Cygwin. [http://www.swarm.org/swarmdocs-2.2/set/swarm.installbook.install.article.html Notes for installing Java Swarm] are in the Swarm documentation set. Java binaries for Windows are at:&lt;br /&gt;
*http://ftp.swarm.org/pub/swarm/binaries/w32/Swarm-2.2-java.tar.gz&lt;br /&gt;
*http://ftp.swarm.org/pub/swarm/binaries/w32/Swarm-2.2-java.zip&lt;br /&gt;
&lt;br /&gt;
For the latest information you should check out Paul Johnson's [http://www.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html online FAQ] or consult the [[Swarm: Mailing lists]] archives.&lt;br /&gt;
&lt;br /&gt;
===GNU/Linux binaries===&lt;br /&gt;
&lt;br /&gt;
Paul Johnson is maintaining [http://lark.cc.ku.edu/~pauljohn/Swarm/ RPMs] of Swarm for Fedora Core Linux (and Red Hat 9 if practical).&lt;br /&gt;
&lt;br /&gt;
===MacOS X binaries===&lt;br /&gt;
&lt;br /&gt;
Bill Northcott has produced binaries for MacOS X; see details at [[Swarm: MacOS X binaries]]  These packages include everything other than standard Apple software needed to build and run Swarm models on Panther. Tiger (MacOS X 10.4) is the preferred operating system but older binaries for Panther are available.  There are several versions of the gcc compiler provided, including bleeding edge versions built from the latest code in Apple's opensource cvs. This compiler includes Fortran, libffi and the GNU Objective-C runtime library.&lt;br /&gt;
&lt;br /&gt;
===Other platforms===&lt;br /&gt;
Binaries for other platforms have not been developed. If you develop binaries for another platform, please let us know so they can be shared.&lt;br /&gt;
&lt;br /&gt;
===Binaries of previous versions===&lt;br /&gt;
Legacy binaries (unmaintained) are available here:&lt;br /&gt;
*http://ftp.swarm.org/pub/swarm/binaries/old/&lt;br /&gt;
&amp;amp;lt;!-- commented out obsoleted binaries &lt;br /&gt;
    * Windows 9x, Windows NT 4, or Windows 2000. &lt;br /&gt;
          o Development Kit Note: very large (50 MB), you may wish to order a CD-ROM&lt;br /&gt;
          o&lt;br /&gt;
           Demos&lt;br /&gt;
    *&lt;br /&gt;
      Debian GNU/Linux 2.2. &lt;br /&gt;
          o&lt;br /&gt;
            ix86&lt;br /&gt;
          o&lt;br /&gt;
            sparc&lt;br /&gt;
    *      Red Hat GNU/Linux. &lt;br /&gt;
          o&lt;br /&gt;
            Red Hat 6.1 / x86&lt;br /&gt;
          o&lt;br /&gt;
            Red Hat 6.1 / sparc&lt;br /&gt;
          o&lt;br /&gt;
            LinuxPPC R5 (1999)&lt;br /&gt;
    *&lt;br /&gt;
      SuSE 6.3 GNU/Linux. &lt;br /&gt;
          o&lt;br /&gt;
            x86&lt;br /&gt;
    *&lt;br /&gt;
      Solaris 2.7. &lt;br /&gt;
          o&lt;br /&gt;
            Sparc&lt;br /&gt;
--&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Swarm source (2.2)==&lt;br /&gt;
The Swarm source distribution includes a complete set of swarm kernel sources and can be found at:&lt;br /&gt;
*ftp://ftp.swarm.org/pub/swarm/src/swarm/swarm-2.2.tar.gz &lt;br /&gt;
&lt;br /&gt;
The user must first install (or verify the availability of) appropriate versions of the needed software in order to provide a proper compilation and execution environment for Swarm. We no longer maintain an up-to-date archive of the packages needed by Swarm, as they are readily found on the web. The list of packages needed by Swarm 2.2 is:&lt;br /&gt;
* Tcl/Tk -- either built from source or using -devel binary packages on your favorite distribution&lt;br /&gt;
* BLT 2.4z, not 3.0&lt;br /&gt;
* libpng 1.2.5&lt;br /&gt;
* zlib 1.2.2&lt;br /&gt;
* xpm-4.2 (or the xpm-nox package for Cygwin)&lt;br /&gt;
* X11R6 on Linux and MacOS X (with SDK)&lt;br /&gt;
* Optionally, HDF5 1.6.2&lt;br /&gt;
* Optionally, Java SDK 1.4.2&lt;br /&gt;
* GCC 3.4.4 with Objective C (gcc-4.0 is preferable particularly on non-x86 platforms such as PowerPC, Alpha etc..)&lt;br /&gt;
* GNU Make&lt;br /&gt;
&lt;br /&gt;
Once the environment has been set up, and the source downloaded and de-tarred into an appropriate directory, the user should consult the &amp;amp;lt;tt&amp;amp;gt;README&amp;amp;lt;/tt&amp;amp;gt; and &amp;amp;lt;tt&amp;amp;gt;INSTALL&amp;amp;lt;/tt&amp;amp;gt; file to learn what options should be specified to the configure script that configures Swarm to the local system. Compilation and linking are done using &amp;amp;lt;tt&amp;amp;gt;make&amp;amp;lt;/tt&amp;amp;gt; as usual, after this step.&lt;br /&gt;
&lt;br /&gt;
You also need an explicit &amp;amp;lt;tt&amp;amp;gt;make install&amp;amp;lt;/tt&amp;amp;gt; step, after the initial &amp;amp;lt;tt&amp;amp;gt;make build&amp;amp;lt;/tt&amp;amp;gt; to cleanly install Swarm to an appropriate location (for example &amp;amp;lt;tt&amp;amp;gt;/usr/local&amp;amp;lt;/tt&amp;amp;gt;). This is explained futher in the &amp;amp;lt;tt&amp;amp;gt;README&amp;amp;lt;/tt&amp;amp;gt; and &amp;amp;lt;tt&amp;amp;gt;INSTALL&amp;amp;lt;/tt&amp;amp;gt; files contained in the distribution.&lt;br /&gt;
&lt;br /&gt;
After compilation and installation of Swarm a set of program libraries and header files against which Swarm applications can be compiled and linked is available.&lt;br /&gt;
&lt;br /&gt;
==Known bugs and fixes==&lt;br /&gt;
This section describes bugs that are known to exist in the release of version 2.2 and what you can do about them.&lt;br /&gt;
&lt;br /&gt;
===Error in &amp;amp;lt;tt&amp;amp;gt;Averager&amp;amp;lt;/tt&amp;amp;gt; minimum, maximum values===&lt;br /&gt;
Swarm's &amp;amp;lt;tt&amp;amp;gt;Averager&amp;amp;lt;/tt&amp;amp;gt; class (in the Analysis library) calculates statistics over values selected from a collection of objects. The '''&amp;amp;lt;tt&amp;amp;gt;getMin&amp;amp;lt;/tt&amp;amp;gt;''' and '''&amp;amp;lt;tt&amp;amp;gt;getMax&amp;amp;lt;/tt&amp;amp;gt;''' methods do not work, and will report values that should easily (if checked) be detected as incorrect. (Note that the Reference Guide does not mention the '''&amp;amp;lt;tt&amp;amp;gt;getMax&amp;amp;lt;/tt&amp;amp;gt;''' method but it does exist.) Bug reported here 21 April 2005.&lt;br /&gt;
&lt;br /&gt;
Fixes:&lt;br /&gt;
&lt;br /&gt;
''Windows users'' can download new DLL files with this bug fixed. These are (thanks to Marcus Daniels):&lt;br /&gt;
&lt;br /&gt;
  http://www.santafe.edu/~mgd/javaswarm.dll&lt;br /&gt;
  http://www.santafe.edu/~mgd/cygswarm-0.dll&lt;br /&gt;
&lt;br /&gt;
These would overwrite the equivalent files in the Java/Swarm binary distribution.&lt;br /&gt;
The &amp;amp;lt;tt&amp;amp;gt;cygswarm-0.dll&amp;amp;lt;/tt&amp;amp;gt; goes in &amp;amp;lt;tt&amp;amp;gt;Cygwin/bin&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
''RPMs for Redhat Linux'' are available from Paul Johnson; see the link above on this page.&lt;br /&gt;
&lt;br /&gt;
''Builds from source code'' can check out the most recent source code at Swarm's Savannah site (see [[Swarm:_development_snapshot#CVS|CVS]]),  or simply fix the offending line of code:&lt;br /&gt;
&lt;br /&gt;
In &amp;amp;lt;tt&amp;amp;gt;Averager.m&amp;amp;lt;/tt&amp;amp;gt;, change line 106 from &lt;br /&gt;
  '''if (totalCount == 0)''' &lt;br /&gt;
to &lt;br /&gt;
 '''if (totalCount == 0 || count == 0)'''&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm:Platforms&amp;diff=17</id>
		<title>Swarm:Platforms</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm:Platforms&amp;diff=17"/>
				<updated>2015-03-07T05:47:54Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;This page has archived information on running Swarm on more exotic platforms.  '''For information on running Swarm on Linux, Windows, and Macintosh:&amp;amp;lt;/br&amp;amp;gt; go to the Swa...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page has archived information on running Swarm on more exotic platforms.&lt;br /&gt;
&lt;br /&gt;
'''For information on running Swarm on Linux, Windows, and Macintosh:&amp;amp;lt;/br&amp;amp;gt; go to the [[Swarm:_stable_release|stable release page]].'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==HP/UX==&lt;br /&gt;
&lt;br /&gt;
Swarm 2.0 is known to run on HPUX 9, 10, and 11. Java users of Kaffe&lt;br /&gt;
will need this [27]libltdl patch. Also, to avoid a linker bug, build&lt;br /&gt;
gcc-2.95 with this [28]compiler patch to gcc/objc/objc-act.c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IRIX==&lt;br /&gt;
&lt;br /&gt;
We have reports from some successful users of Swarm on SGIs in the following&lt;br /&gt;
configurations:&lt;br /&gt;
&lt;br /&gt;
* SGI Origin 200, IRIX 6.4, GCC 2.7.2.2 w/old_ld configured for IRIX 5.3&lt;br /&gt;
* IRIX 5.3, GCC 2.7.2.1&lt;br /&gt;
* IRIX 6.4 GCC 2.8&lt;br /&gt;
* IRIX 6.5 GCC 2.95.1&lt;br /&gt;
&lt;br /&gt;
Note that IRIX users need to install libffi, and configure Swarm with the  --with-ffidir option.&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm:Software_main_page&amp;diff=16</id>
		<title>Swarm:Software main page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm:Software_main_page&amp;diff=16"/>
				<updated>2015-03-07T05:45:53Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;This page provides links for downloading and installing Swarm software.   Swarm is a library of object-oriented classes that implements the Swarm conceptual framework for agen...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page provides links for downloading and installing Swarm software. &lt;br /&gt;
&lt;br /&gt;
Swarm is a library of object-oriented classes that implements the Swarm conceptual framework for agent-based models and provides many tools for implementing, observing, and conducting experiments on ABMs. Users write their own software but (a) follow Swarm's conceptual framework and conventions to design the software, and (b) use the Swarm libraries to do much of the work. The library is written in Objective-C, an object-oriented extension of the C programming language. &lt;br /&gt;
&lt;br /&gt;
==Languages and platforms==&lt;br /&gt;
Originally, Swarm was available only by writing Objective-C code in a Unix-based operating system. Now, Java Swarm makes Swarm's Objective-C libraries available to Java code, so users can write their part of a Swarm model in Java. Swarm is now easily installed and used in Windows operating systems via Cygwin, a package that provides a Unix-like environment in Windows.&lt;br /&gt;
&lt;br /&gt;
To use Swarm on Linux, Windows, or Macintosh, see the [[Swarm:_stable_release|stable release page]]. Experience with other Unix-based systems is archived at [[Swarm:_platforms]]. Information on additional languages and platforms is in the [[SwarmFAQ|FAQ]].&lt;br /&gt;
&lt;br /&gt;
==Swarm 2.2: Our current stable release==&lt;br /&gt;
Most users will want to install Swarm 2.2, our current release. Information and downloads are on the [[Swarm:_stable_release|stable release page]].&lt;br /&gt;
&lt;br /&gt;
==Downloading and installing test applications==&lt;br /&gt;
There is information at [[Swarm:_applications|the Swarm applications page]] on how to download and install example Swarm codes.&lt;br /&gt;
&lt;br /&gt;
==Development snapshots==&lt;br /&gt;
Periodically, intermediate pre-release versions of Swarm are made available, for example to fix bugs or make improvements available. See [[Swarm:_development_snapshot|the development snapshot page]] for information.&lt;br /&gt;
&lt;br /&gt;
==Software license==&lt;br /&gt;
See [[Swarm:_license|the license page]] for information on how Swarm software is licensed and copyrighted. &lt;br /&gt;
&lt;br /&gt;
==Where Swarm development happens: GNU Savannah site==&lt;br /&gt;
&lt;br /&gt;
The CVS, bug tracking, and development for Swarm are hosted on GNU Savannah, a site run by the Free Software Foundation for hosting free software projects.&lt;br /&gt;
&lt;br /&gt;
*'''http://savannah.gnu.org/projects/swarm/'''&lt;br /&gt;
&lt;br /&gt;
The latest source tarballs for Swarm and swarmapps will be made available there, so it acts as a partial mirror if you can't access ftp.swarm.org or one of the other mirrors. In the future, we plan to use some of Savannah's features for co-ordinating projects and/or allow users to co-ordinate their own Swarm-related projects.&lt;br /&gt;
&lt;br /&gt;
Several users also use SourceForge for co-ordinating their projects, these are independent from the SDG:&lt;br /&gt;
&lt;br /&gt;
* Artificial Stock Market: http://sourceforge.net/projects/artstkmkt/&lt;br /&gt;
* Evo: http://sourceforge.net/projects/evo/&lt;br /&gt;
&lt;br /&gt;
==New development ideas==&lt;br /&gt;
[[Swarm:_IdeasList|This page contains a list of development ideas for people willing to contribute to the Swarm project]].&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm_main_page&amp;diff=15</id>
		<title>Swarm main page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_main_page&amp;diff=15"/>
				<updated>2015-03-07T05:44:06Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;Swarm is a platform for agent-based models (ABMs) that includes:  * A conceptual framework for designing, describing, and conducting experiments on ABMs; * Software implementi...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Swarm is a platform for agent-based models (ABMs) that includes: &lt;br /&gt;
* A conceptual framework for designing, describing, and conducting experiments on ABMs;&lt;br /&gt;
* Software implementing that framework and providing many handy tools; and&lt;br /&gt;
* A community of users and developers that share ideas, software, and experience. &lt;br /&gt;
&lt;br /&gt;
Swarm materials are organized in three categories, each with its own main page on this wiki: [[Swarm:_software_main_page|Software]], [[Swarm:_documentation_main_page|Documentation and learning materials]], and [[Swarm:_applications_and_user_contributions_main_page|example applications and contributed code]]. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting started if you are new to Swarm==&lt;br /&gt;
First, see this [[Introduction_to_Swarm|short introduction]].&lt;br /&gt;
&lt;br /&gt;
Next, it is important to develop an understanding of Swarm's conceptual framework: how you organize and describe a model using concepts such as swarms, collections, actions, schedules, observers, etc. The original Santa Fe Institute [[Image:MinarEtAl96.pdf|working paper describing Swarm]] is a good way to learn Swarm's basic structure and motivation. The [[Swarm:_documentation_main_page|Documentation and learning materials]] page provides additional reading that is essential before trying to start using the software (even---especially---if you are an experienced programmer). &lt;br /&gt;
&lt;br /&gt;
Finally, you will want to install Swarm software and use its documentation and examples to learn how to implement your models. (You might first want to visit the  wiki's [[Main_Page#Agent-_and_Individual-based_Modeling_Resources|ABM resources section]] to see if there are other software platforms to consider.) To get started with the software (including deciding whether to use Swarm with Java or Objective-C), go to the [[Swarm:_software_main_page|main page for Swarm software]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Swarm software and documentation==&lt;br /&gt;
See the [[Swarm:_software_main_page|software page]] for information on Swarm software. To download the current version, go to the [[Swarm: stable release|stable release page]]. &lt;br /&gt;
&lt;br /&gt;
See the [[Swarm:_documentation_main_page|documentation page]] for the Swarm reference manual, users guide, and other materials.&lt;br /&gt;
&lt;br /&gt;
Our download site for Swarm software (source, example applications, documentation, packages) is http://ftp.swarm.org/pub/swarm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Finding example Swarm applications==&lt;br /&gt;
Hundreds of models have been built with Swarm. To see, download, and try some examples (along with additions to Swarm contributed by users), see the [[Swarm:_applications_and_user_contributions_main_page|example applications and contributed code]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting modeling and Swarm software user support==&lt;br /&gt;
User support is obtained by joining the [[Swarm:_Mailing_lists|Swarm email lists]]. The swarm modelling list is for discussion and questions about agent-based modeling in general. The swarm support list is where your questions about Swarm software are likely to be answered by one of your many generous fellow users. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Numbering convention==&lt;br /&gt;
Swarm is divided into three main pieces: source, documentation, and applications. They are each bestowed version numbers that are independently increased except for major releases of the source. The version map right now is:&lt;br /&gt;
&lt;br /&gt;
 source: 2.2 &lt;br /&gt;
 docs: 2.2&lt;br /&gt;
 apps: 2.1.1 (being updated)&lt;br /&gt;
        heatbugs: 2.1.1&lt;br /&gt;
        template: 2.1.1&lt;br /&gt;
          market: 2.1.1&lt;br /&gt;
       mousetrap: 2.1.1&lt;br /&gt;
        tutorial: 2.1.1&lt;br /&gt;
     hello-world: 2.1.1&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;!--==Snapshots vs CVS==&lt;br /&gt;
COMMENTED OUT BECAUSE I THINK IT'S OUT OF DATE. --[[User:SFRailsback|SFRailsback]] 16:47, 27 Jan 2006 (EST)&lt;br /&gt;
Only snapshots of the source section are available. The docs and apps are only available from the CVS.&lt;br /&gt;
&lt;br /&gt;
The CVS code for apps should build and run without problems and is the best way to get example applications.&lt;br /&gt;
&lt;br /&gt;
The code for the docs is mainly a document generating system, which produces documentation from comments in the source code.  It is only usable by those with a good understanding of SGML/XML in general and DocBook in particular.  If that is not you leave it alone.--&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=14</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=14"/>
				<updated>2015-03-07T05:38:14Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_and_MinGW]]&lt;br /&gt;
&lt;br /&gt;
[[ABMResourceNavigation]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_Apps]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_FAQ]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
&lt;br /&gt;
==News==&lt;br /&gt;
&lt;br /&gt;
===Announcement for Swarmfest 2012===&lt;br /&gt;
&lt;br /&gt;
Email Inquiries to: swarmfest2012@gmail.com&lt;br /&gt;
&lt;br /&gt;
[[Test]] will take place in Downtown Charlotte, N.C. July 29-31, 2012, hosted by the Complex Systems&lt;br /&gt;
Institute at the University of North Carolina, Charlotte (http://complexity.uncc.edu/). The conference venue is the UNCC Center City Building http://centercity.uncc.edu/.&lt;br /&gt;
Local Map http://centercity.uncc.edu/map-and-directions and Parking http://centercity.uncc.edu/parking&lt;br /&gt;
&lt;br /&gt;
'''Registration can be accomplished at http://www.cvent.com/d/tcqqgn'''&lt;br /&gt;
 &lt;br /&gt;
Swamfest is the annual meeting of the Swarm Development Group (SDG), and one of the oldest communities involved in the development and propagation of agent-based modeling.  Swarmfest has traditionally involved a mix of both tool-users and tool-developers, drawn from many domains of expertise. These have included, in the past, computer scientists, software engineers, biomedical researchers, ecologists, economists, political scientists, social scientists, resource management specialists and evolutionary biologists.  Swarmfest represents a low-key environment for researchers to explore new ideas and approaches, and benefit from a multi-disciplinary environment.&lt;br /&gt;
&lt;br /&gt;
This year we will continue to examine the range of systems being modeled with ABM, with the possibility of providing some guidance as to the suitability of the various types of agent-based models for particular types of modeling goals. We also encourage the sharing of our experiences with attempting to gain acceptance of ABM within our own research communities, and discuss strategies where cross-domain examples/analogies can aid in that process. We will also try to identify future avenues for ABM research, including the &amp;amp;quot;next&amp;amp;quot; generation of ABM tools, platforms and application.&lt;br /&gt;
&lt;br /&gt;
Watch this page for upcoming news on program and logistics.&lt;br /&gt;
&lt;br /&gt;
Hope to see you in Charlotte!&lt;br /&gt;
{{posted|--[[User:Gary An|Gary An]] 16 March 2012}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===New version of Objective-C Swarm for Windows===&lt;br /&gt;
There is a new binary (and source) release of Swarm that works with MinGW, a compiler that produces Windows executables. Advantages of this new way to use Swarm in Windows:&lt;br /&gt;
* Windows executables can be launched directly from Windows, without needing to launch from inside a Unix-like environment.&lt;br /&gt;
* Swarm models can be distributed for use on any Windows computer, without requiring Swarm or MinGW to be installed.&lt;br /&gt;
* Faster execution than Cygwin Swarm.&lt;br /&gt;
See the yellow &amp;amp;quot;Swarm Software&amp;amp;quot; box on this page.&lt;br /&gt;
{{posted|--[[User:SFRailsback|SFRailsback]] 15 Aug 2011}}&lt;br /&gt;
&lt;br /&gt;
===Be a Swarm Development Group Member!===&lt;br /&gt;
Membership in SDG is a way to support our efforts to maintain and improve Swarm, and to support agent-based modeling. [[SDG_membership|We just updated our membership page]] with new membership categories and procedures. Take a look to see what you can do. {{posted|--[[User:SFRailsback|SFRailsback]] 17:34, 10 Nov 2006 (EST)}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;div style=&amp;amp;quot;float:right;&amp;amp;quot;&amp;amp;gt;'''[[News|News archive]]&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
[[SwarmWiki:FAQ#Q._How_do_I_add_a_news_item_to_the_wiki.27s_main_page.3F|How to submit a news item]]'''&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| width=&amp;amp;quot;45%&amp;amp;quot; style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #ffebcd&amp;amp;quot; |&lt;br /&gt;
==Agent- and Individual-based Modeling Resources==&lt;br /&gt;
&lt;br /&gt;
*'''[[ABM_Resources|Resources for agent-based modeling]]'''. This area of the wiki is for information on agent-based modeling in general. There are sub-areas for:&lt;br /&gt;
**Agent-based modeling community resources, including [[Swarm:_SwarmFest|SwarmFest]], our annual modeling conference&lt;br /&gt;
**Software (information on alternative platforms; learning materials; template models; integrated development environments)&lt;br /&gt;
**&amp;amp;quot;How and why to do agent-based modeling&amp;amp;quot;: techniques and theory&lt;br /&gt;
**Resources specific to different scientific domains&lt;br /&gt;
&lt;br /&gt;
*'''modelling@swarm.org: The email community of agent-based modelers.''' This email list discusses topics of general interest to agent-based modelers. [[Swarm:_Mailing_lists|More information and signup here.]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #FFFFCC&amp;amp;quot; |&lt;br /&gt;
&lt;br /&gt;
[[Image:Small-swarm-logo.jpeg]]&lt;br /&gt;
&lt;br /&gt;
==Swarm Software for Agent-based Modeling==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm_main_page|The main Swarm page]]''' for Swarm software, documentation, and applications&lt;br /&gt;
&lt;br /&gt;
*''New release of Objective-C for Windows'' produces Windows-native executables! See [[Swarm_and_MinGW|Using Swarm on Windows with MinGW]]&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm: applications|Thanks to Paul Johnson, a new package of applications for Swarm-2.2]]'', particularly for Objective C&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm:_Mailing_lists|Email lists for support and modeling]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #DAFDDA&amp;amp;quot; |&lt;br /&gt;
==Swarm Development Group==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm Development Group]] (SDG)'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG contact|Contact information]]'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG_membership|Information on SDG membership]]'''&lt;br /&gt;
&lt;br /&gt;
*[https://www.ku.edu/~pauljohn/sdg/member_pages/ SDG Members]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 style=&amp;amp;quot;border: 1px solid #c6c9ff; color: #000; padding: .4em .9em .9em; background-color: #d3d3d3&amp;amp;quot; |&lt;br /&gt;
==Help==&lt;br /&gt;
* Who can contribute to this wiki? How do you use it? How can you register to edit or add pages? See the [[SwarmWiki:FAQ|FAQ about this wiki]]&lt;br /&gt;
* [[SwarmWiki:Objectives_and_organization|Objectives and organization of this wiki]]: what can you find on this wiki, and what is appropriate to add to it, where?&lt;br /&gt;
* For general wiki help, see: http://www.wikipedia.org/wiki/Wikipedia:Help&lt;br /&gt;
* For help editing the wiki, start with: http://www.wikipedia.org/wiki/Help:Editing&lt;br /&gt;
* To ''experiment with editing'' the wiki without worrying about messing up articles, try the [[Wiki sandbox]]&lt;br /&gt;
* [[SwarmWiki:Help]] Help page for wiki administrators.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=13</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=13"/>
				<updated>2015-03-07T05:31:50Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_and_MinGW]]&lt;br /&gt;
&lt;br /&gt;
[[ABMResourceNavigation]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_Apps]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_FAQ]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;h1&amp;amp;gt;'''Welcome to the Swarm Development Group Wiki!'''&amp;amp;lt;/h1&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;div style=&amp;amp;quot;font-size:120%;&amp;amp;quot; align=&amp;amp;quot;center&amp;amp;quot;&amp;amp;gt;''A resource for agent- and individual-based modelers and the home of'' '''Swarm'''&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;div style=&amp;amp;quot;font-size:90%;&amp;amp;quot; align=&amp;amp;quot;center&amp;amp;quot;&amp;amp;gt;The SwarmWiki is hosted by the [http://www.cscs.umich.edu Center for the Study of Complex Systems] at the University of Michigan.&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;div align=&amp;amp;quot;center&amp;amp;quot;&amp;amp;gt;[[#News|News]] | [[#Agent-_and_Individual-based_Modeling_Resources|Agent-based Modeling Resources]]  | [[#Swarm|Swarm]] | [[#Swarm_Development_Group|Swarm Development Group]] | [[#Help|Help]]  &amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
{| &lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;45%&amp;amp;quot; rowspan=3 valign=&amp;amp;quot;top&amp;amp;quot; style=&amp;amp;quot;border: 1px solid grey; padding: .4em .9em .9em; background-color: #ccffff&amp;amp;quot; |&lt;br /&gt;
&lt;br /&gt;
==News==&lt;br /&gt;
&lt;br /&gt;
===New version of Objective-C Swarm for Windows===&lt;br /&gt;
There is a new binary (and source) release of Swarm that works with MinGW, a compiler that produces Windows executables. Advantages of this new way to use Swarm in Windows:&lt;br /&gt;
* Windows executables can be launched directly from Windows, without needing to launch from inside a Unix-like environment.&lt;br /&gt;
* Swarm models can be distributed for use on any Windows computer, without requiring Swarm or MinGW to be installed.&lt;br /&gt;
* Faster execution than Cygwin Swarm.&lt;br /&gt;
See the yellow &amp;amp;quot;Swarm Software&amp;amp;quot; box on this page.&lt;br /&gt;
{{posted|--[[User:SFRailsback|SFRailsback]] 15 Aug 2011}}&lt;br /&gt;
&lt;br /&gt;
===Thank you to all the Participants for successful Swarmfest 2011!===&lt;br /&gt;
&lt;br /&gt;
We returned to the Santa Fe Complex (Website http://sfcomplex.org/ ) on June 26 and 27, 2011 for a spirited and successful Swarmfest 2011.  Topics covered included: applications of agent-based modeling to education, biomedical research, economics and social science, discussions concerning the use of the terms &amp;amp;quot;emergence&amp;amp;quot; and &amp;amp;quot;complexity,&amp;amp;quot; and an update on current and future work on SLAPP (Swarm-like Agent Protocols in Python); a toolkit derived from the original Swarm package with ongoing and active development. We also had the opportunity to hear from 3 of the teams that participated in the 2010-11 New Mexico Supercomputing Challenge (see  http://challenge.nm.org ). Visit the [[Swarmfest 2011 Page]] speakers, titles and abstracts. We hope to be posting presentations in the near future as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Our old friend, Board member and unofficial photo-archivist, Pietro Terna, has posted photos from Swarmfest 2011 at https://picasaweb.google.com/pietro.terna/SantaFe252962011?feat=directlink .&lt;br /&gt;
&lt;br /&gt;
-Posted by [[User:Gary An|Gary An]]&lt;br /&gt;
&lt;br /&gt;
===Call for Mentors for the 2010-2011 New Mexico Supercomputing Challenge===&lt;br /&gt;
For the past two years Swarmfest has served as a venue for participants of the New Mexico Supercomputing Challenge (SCC) to present their work, receive feedback and interact with active researchers using agent based modeling. The SCC is a program committed to teaching teams of middle and high schools students how to use powerful computers to analyze, model and solve world problems.  For more information please see http://challenge.nm.org . Agent based modeling has increasingly been used in SCC projects, with two of the top projects from the last two years utilizing agent based modeling. For details of these projects check out &amp;amp;quot;To Kill a Flocking Bird &amp;amp;quot; -  http://challenge.nm.org/archive/09-10/finalreports/70.pdf and &amp;amp;quot;Control and Spread of Wildfires&amp;amp;quot; -  http://challenge.nm.org/archive/09-10/finalreports/99.pdf . Mentoring can be accomplished online; those interested in more information should go to &amp;amp;quot;The Role of a Challenge Mentor&amp;amp;quot; http://challenge.nm.org/resources/role.shtml and &amp;amp;quot;Questions to discuss with a team&amp;amp;quot;  http://challenge.nm.org/resources/tpd.html , or contact '''consult@challenge.nm.org'''  for more information. We believe that this is an excellent opportunity to &amp;amp;quot;get them while they are young&amp;amp;quot; and provide an introduction into an exciting and growing area of computational research.&lt;br /&gt;
&lt;br /&gt;
-Posted by [[User:Gary An|Gary An]]&lt;br /&gt;
&lt;br /&gt;
===Be a Swarm Development Group Member!===&lt;br /&gt;
Membership in SDG is a way to support our efforts to maintain and improve Swarm, and to support agent-based modeling. [[SDG_membership|We just updated our membership page]] with new membership categories and procedures. Take a look to see what you can do. {{posted|--[[User:SFRailsback|SFRailsback]] 17:34, 10 Nov 2006 (EST)}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;div style=&amp;amp;quot;float:right;&amp;amp;quot;&amp;amp;gt;'''[[News|News archive]]&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
[[SwarmWiki:FAQ#Q._How_do_I_add_a_news_item_to_the_wiki.27s_main_page.3F|How to submit a news item]]'''&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| width=&amp;amp;quot;45%&amp;amp;quot; style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #ffebcd&amp;amp;quot; |&lt;br /&gt;
==Agent- and Individual-based Modeling Resources==&lt;br /&gt;
&lt;br /&gt;
*'''[[ABM_Resources|Resources for agent-based modeling]]'''. This area of the wiki is for information on agent-based modeling in general. There are sub-areas for:&lt;br /&gt;
**Agent-based modeling community resources, including [[Swarm:_SwarmFest|SwarmFest]], our annual modeling conference&lt;br /&gt;
**Software (information on alternative platforms; learning materials; template models; integrated development environments)&lt;br /&gt;
**&amp;amp;quot;How and why to do agent-based modeling&amp;amp;quot;: techniques and theory&lt;br /&gt;
**Resources specific to different scientific domains&lt;br /&gt;
&lt;br /&gt;
*'''modelling@swarm.org: The email community of agent-based modelers.''' This email list discusses topics of general interest to agent-based modelers. [[Swarm:_Mailing_lists|More information and signup here.]]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #FFFFCC&amp;amp;quot; |&lt;br /&gt;
&lt;br /&gt;
[[Image:Small-swarm-logo.jpeg]]&lt;br /&gt;
&lt;br /&gt;
==Swarm Software for Agent-based Modeling==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm_main_page|The main Swarm page]]''' for Swarm software, documentation, and applications&lt;br /&gt;
&lt;br /&gt;
*''New release of Objective-C for Windows'' produces Windows-native executables! See [[Swarm_and_MinGW|Using Swarm on Windows with MinGW]]&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm: applications|Thanks to Paul Johnson, a new package of applications for Swarm-2.2]]'', particularly for Objective C&lt;br /&gt;
&lt;br /&gt;
*''[[Swarm:_Mailing_lists|Email lists for support and modeling]]''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;amp;quot;border: 1px solid grey; color: #000; padding: .4em .9em .9em; background-color: #DAFDDA&amp;amp;quot; |&lt;br /&gt;
==Swarm Development Group==&lt;br /&gt;
&lt;br /&gt;
*'''[[Swarm Development Group]] (SDG)'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG contact|Contact information]]'''&lt;br /&gt;
&lt;br /&gt;
*'''[[SDG_membership|Information on SDG membership]]'''&lt;br /&gt;
&lt;br /&gt;
*[https://www.ku.edu/~pauljohn/sdg/member_pages/ SDG Members]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| colspan=2 style=&amp;amp;quot;border: 1px solid #c6c9ff; color: #000; padding: .4em .9em .9em; background-color: #d3d3d3&amp;amp;quot; |&lt;br /&gt;
==Help==&lt;br /&gt;
* Who can contribute to this wiki? How do you use it? How can you register to edit or add pages? See the [[SwarmWiki:FAQ|FAQ about this wiki]]&lt;br /&gt;
* [[SwarmWiki:Objectives_and_organization|Objectives and organization of this wiki]]: what can you find on this wiki, and what is appropriate to add to it, where?&lt;br /&gt;
* For general wiki help, see: http://www.wikipedia.org/wiki/Wikipedia:Help&lt;br /&gt;
* For help editing the wiki, start with: http://www.wikipedia.org/wiki/Help:Editing&lt;br /&gt;
* To ''experiment with editing'' the wiki without worrying about messing up articles, try the [[Wiki sandbox]]&lt;br /&gt;
* [[SwarmWiki:Help]] Help page for wiki administrators.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
__NOTOC__ __NOEDITSECTION__&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm_Apps&amp;diff=12</id>
		<title>Swarm Apps</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_Apps&amp;diff=12"/>
				<updated>2015-03-07T05:25:56Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot; We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ide...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
We make a wide variety of Swarm models available. These illustrate the many different kinds of research questions  addressed using agent-based models, and provide example ideas and software for other modelers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Demo page==&lt;br /&gt;
For newcomers, [[Examples_of_Swarm_applications|here is a peek at a couple of classic Swarm applications]].&lt;br /&gt;
&lt;br /&gt;
==How to choose and run example applications==&lt;br /&gt;
(For a discussion of Java vs. Objective-C, see the FAQ: [[Swarm_FAQ]])&lt;br /&gt;
&lt;br /&gt;
===Objective-C applications===&lt;br /&gt;
&lt;br /&gt;
Listed below are sites where you can download Objective-C Swarm models. To run them:&lt;br /&gt;
&lt;br /&gt;
*Download and un-zip the archive. The archives are usually in TAR GZIP format (e.g., HeatBugs.tar.gz), which you can unzip (in a Linux terminal window or, if using Windows, in Cygwin) by typing &amp;amp;quot;tar xzvf HeatBugs.tar.gz&amp;amp;quot;.&lt;br /&gt;
*Change directories into the newly unzipped directory of source code (in a Linux terminal window or, if using Windows, in Cygwin). &lt;br /&gt;
*If your Swarm installation is set up correctly, you can then compile the application by simply typing &amp;amp;quot;make&amp;amp;quot;. (If you get a message something like &amp;amp;quot;Makefile: ... /Makefile.appl: No such file or directory...&amp;amp;quot; then you do not have the environment variable SWARMHOME set correctly. Keep reading...)&lt;br /&gt;
*If compilation is successful, you will have a new executable file (e.g., &amp;amp;quot;heatbugs.exe&amp;amp;quot; in Windows; &amp;amp;quot;heatbugs&amp;amp;quot; in Linux). Then you can start the model by typing &amp;amp;quot;./heatbugs.exe&amp;amp;quot; (or, in Linux, &amp;amp;quot;./heatbugs&amp;amp;quot;).&lt;br /&gt;
*A common problem is not having your system's SWARMHOME environment variable correctly pointed to the location of your Swarm installation. SWARMHOME should typically be /usr/local/ or /usr/ if you've installed it from a binary package on a GNU/Linux system. For Windows, see [[Windows_binary_notes]]&lt;br /&gt;
&lt;br /&gt;
===Java applications===&lt;br /&gt;
&lt;br /&gt;
We provide step-by-step [[instructions]] for compiling and running the Java program Jheatbugs-3.0 on Windows XP using Swarm 2.2. Our demo covers interactive (visual) mode as well as batch mode (multiple runs with output to files). &lt;br /&gt;
&lt;br /&gt;
Other Java Swarm models are listed below.&lt;br /&gt;
&lt;br /&gt;
==Official applications archive==&lt;br /&gt;
Our official archive of Swarm applications is at http://ftp.swarm.org/pub/swarm/apps/. Even though these models are generally old, many of them still work in Swarm 2.2. There are far more Objective-C than Java applications in the archive.&lt;br /&gt;
&lt;br /&gt;
The archive includes Java versions of the Swarm classics heatbugs and mousetrap.  The versions that worked with Swarm-2.1.1 and Swarm-2.2 are currently available in the testing subdirectory of the ftp archive. Look for [http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jheatbugs-2001-03-28.tar.gz jheatbugs-2001-03-28.tar.gz] and [http://ftp.swarm.org/pub/swarm/apps/java/sdg/testing/jmousetrap-2001-09-13.tar.gz jmousetrap-2001-09-13.tar.gz].&lt;br /&gt;
&lt;br /&gt;
We strongly encourage people to contribute new applications! The site includes a form for describing contributions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Paul Johnson's package of Objective-C applications==&lt;br /&gt;
[[User:Pauljohn|Paul Johnson]] has generously assembled a new package of applications for Swarm-2.2.  This is a revised version, correcting a couple of glitches in saving of screen snapshots. It is available from Paul's web site: http://www.ku.edu/~pauljohn/Swarm/swarmapps-objc-2.2-2.tar.gz and also at the Swarm download site: http://ftp.swarm.org/pub/swarm/apps/objc/sdg/swarmapps-objc-2.2-2.tar.gz. Please keep testing and let Paul know how it works.&lt;br /&gt;
&lt;br /&gt;
The package contains classic example Swarm applications, including:&lt;br /&gt;
*The Swarm tutorial (discussed in [[Swarm:_documentation_main_page#Swarm_User_Guide|the Swarm User Guide]])&lt;br /&gt;
*Heatbugs&lt;br /&gt;
*Mousetrap&lt;br /&gt;
*ArborgamesII (a simulation of forests used in publications by M. Savage et al.)&lt;br /&gt;
*SchellingII (Schelling's neighborhood segregation model)&lt;br /&gt;
*Conway (the Game of Life)&lt;br /&gt;
*sss (Swarm Sugar Scape).  &lt;br /&gt;
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 [[User:Pauljohn|PJ]].&lt;br /&gt;
&lt;br /&gt;
==Additional links==&lt;br /&gt;
*The world-famous Artificial Stock Market has its own homepage at http://artstkmkt.sourceforge.net (Objective-C)&lt;br /&gt;
*Paul Johnson keeps many examples of Swarm-related code, his own models, and other people's models, at: http://www.ku.edu/~pauljohn/Swarm/&lt;br /&gt;
*Keep your eye on the [[ABM_Resources|Agent-based modeling community pages]] for projects using Swarm.&lt;br /&gt;
*See the [[ABM_Resources#Software_Resources|software resources at the ABM Resources area of the wiki]] for a series of template models in Java and Objective-C Swarm, and for guidance on using Swarm with integrated development environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=11</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=11"/>
				<updated>2015-03-07T05:25:40Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_and_MinGW]]&lt;br /&gt;
&lt;br /&gt;
[[ABMResourceNavigation]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_Apps]]&lt;br /&gt;
&lt;br /&gt;
[[Swarm_FAQ]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm_FAQ&amp;diff=10</id>
		<title>Swarm FAQ</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_FAQ&amp;diff=10"/>
				<updated>2015-03-07T05:23:14Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;===How do I use the gcc profiler?=== A &amp;amp;quot;profiler&amp;amp;quot; is a system to tell you how much execution time your processor spends in each part of your code (and in which parts...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===How do I use the gcc profiler?===&lt;br /&gt;
A &amp;amp;quot;profiler&amp;amp;quot; is a system to tell you how much execution time your processor spends in each part of your code (and in which parts of the Swarm libraries and the run-time system). The gcc compiler used for Objective-C Swarm models includes a profiling option that is easy and often very helpful to use when you are trying to make a model run faster, or trying to figure out exactly what it is doing.&lt;br /&gt;
&lt;br /&gt;
Using the gcc profiler requires (a) compiling the code with a special option, (b) running the model, and (c) using a special program that reports profiling results.&lt;br /&gt;
&lt;br /&gt;
*You need to compile and link all parts of model using the gcc compiler option &amp;amp;quot;-pg&amp;amp;quot;. (Do not also use the &amp;amp;quot;-g&amp;amp;quot; option; the profiler output will not be produced.) You can do this by inserting a couple lines into your makefile--the last two lines in the following example:&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
 APPLICATION=template&lt;br /&gt;
 OBJECTS=main.o Counter.o TemplateModelSwarm.o TemplateObserverSwarm.o EcoAverager.o Critter.o&lt;br /&gt;
 APPLIBS= include $(SWARMHOME)/etc/swarm/Makefile.appl&lt;br /&gt;
 CFLAGS+=-pg&lt;br /&gt;
 EXTRACPPFLAGS+=-pg&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
*Then use &amp;amp;quot;make clean&amp;amp;quot; and &amp;amp;quot;make&amp;amp;quot; to completely recompile your code. This makes what is called an ''instrumented'' executable, which includes the extra code to report profiling information. &lt;br /&gt;
&lt;br /&gt;
*Next, run the instrumented executable just as you would normally run your model. The profiler writes a file &amp;amp;quot;gmon.out&amp;amp;quot; into your directory.&lt;br /&gt;
&lt;br /&gt;
*Finally, use the built-in program &amp;amp;quot;gprof&amp;amp;quot; to interpret gmon.out and produce the profiling report. Just use the command:&lt;br /&gt;
&lt;br /&gt;
 gprof mycode.exe&lt;br /&gt;
&lt;br /&gt;
where &amp;amp;quot;mycode.exe&amp;amp;quot; is the name of your executable. gprof writes a table of profiling results; it's best to pipe its output to a file:&lt;br /&gt;
&lt;br /&gt;
 gprof mycode.exe &amp;amp;gt; profileoutput.txt&lt;br /&gt;
&lt;br /&gt;
The following example output is from a Swarm implementation of the famous &amp;amp;quot;Boids&amp;amp;quot; model:&lt;br /&gt;
&lt;br /&gt;
 Flat profile:&lt;br /&gt;
 &lt;br /&gt;
 Each sample counts as 0.01 seconds.&lt;br /&gt;
  %   cumulative   self              self     total           &lt;br /&gt;
 time   seconds   seconds    calls  us/call  us/call  name    &lt;br /&gt;
 24.03      0.62     0.62 21624597     0.03     0.03  _i_Vector__getLength&lt;br /&gt;
 23.84      1.24     0.61                             _fu40__Member&lt;br /&gt;
  9.30      1.48     0.24 13726341     0.02     0.02  _i_Vector__sub_&lt;br /&gt;
  6.20      1.64     0.16  3867902     0.04     0.12  _i_Vector__angle_&lt;br /&gt;
  5.43      1.77     0.14 35699811     0.00     0.00  _i_Vector__getY&lt;br /&gt;
  5.43      1.92     0.14 13782653     0.01     0.02  _i_Vector__init_&lt;br /&gt;
  4.84      2.04     0.12                             _fu37___obj_scratchZone&lt;br /&gt;
  4.65      2.16     0.12 35744897     0.00     0.00  _i_Vector__getX&lt;br /&gt;
  4.26      2.27     0.11                             objc_msg_lookup&lt;br /&gt;
  3.10      2.35     0.08 15654110     0.01     0.01  _i_SimObject__getPosition&lt;br /&gt;
  2.71      2.42     0.07  4139991     0.02     0.02  _i_Vector__add_&lt;br /&gt;
  2.71      2.49     0.07  3867902     0.02     0.03  _i_Vector__dot_&lt;br /&gt;
  1.16      2.52     0.03  1972908     0.02     0.02  _i_SimObject__getObjectType&lt;br /&gt;
&lt;br /&gt;
You can see that the method using up the most time is &amp;amp;quot;getLength&amp;amp;quot; in the model's class &amp;amp;quot;Vector&amp;amp;quot;. This is not surprising because this method uses the function &amp;amp;quot;sqrt&amp;amp;quot; which is computationally demanding (because it uses a Taylor Series expansion to estimate the square root). If you wanted to speed the model up, you could replace &amp;amp;quot;sqrt&amp;amp;quot; with your own code to provide a rougher, faster estimate of the square root.&lt;br /&gt;
&lt;br /&gt;
(Almost as much time is used up in class &amp;amp;quot;fu40&amp;amp;quot; which must be a run-time system function that you can't do anything about.)&lt;br /&gt;
&lt;br /&gt;
--[[User:SFRailsback|SFRailsback]] 20:34, 23 Feb 2007 (EST); Thanks to Steve Jackson.&amp;lt;/field&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=9</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=9"/>
				<updated>2015-03-07T05:22:58Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_and_MinGW]]&lt;br /&gt;
&lt;br /&gt;
[[ABMResourceNavigation]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_FAQ]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Swarm_and_MinGW&amp;diff=8</id>
		<title>Swarm and MinGW</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Swarm_and_MinGW&amp;diff=8"/>
				<updated>2015-03-07T05:21:13Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;= Overview =  This documentation provides information on how to use Swarm on Windows with [http://www.mingw.org MinGW] compilers. The following topics will be covered:  * How...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
&lt;br /&gt;
This documentation provides information on how to use Swarm on Windows with [http://www.mingw.org MinGW] compilers. The following topics will be covered:&lt;br /&gt;
&lt;br /&gt;
* How to run a Swam model compiled with MinGW on Windows: Once you produce a Swarm model using MinGW (or someone gives one to you), how do you run it on other machines without installing Swarm there?&lt;br /&gt;
* How to use MinGW to compile your own Swarm models, either during model development or so you can distribute working models to others. This requires installing MinGW and our binary Swarm libraries.&lt;br /&gt;
* How to package a model compiled with MinGW so it can be installed and run by itself on Windows machines.&lt;br /&gt;
* How to use MinGW to compile the Swarm libraries, in case you want to build your own Swarm binaries.&lt;br /&gt;
&lt;br /&gt;
Each topic is more difficult than the one before it. However the topics are independent in that it is not necessary to know how to compile the Swarm library in order to run a pre-compiled Swarm model or compile your own model against a pre-compiled version of Swarm.&lt;br /&gt;
&lt;br /&gt;
= Using Swarm Models Compiled with MinGW =&lt;br /&gt;
&lt;br /&gt;
A model that has been compiled using MinGW can be installed and run from a Windows computer without installing MinGW or Swarm. An example code is this build of Heatbugs:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/src/testing/heatbugs-MinGW-win32.exe http://ftp.swarm.org/pub/swarm/src/testing/heatbugs-MinGW-win32.exe]&lt;br /&gt;
&lt;br /&gt;
However, running a Swarm model requires some support programs and libraries. These are available as&lt;br /&gt;
&amp;amp;lt;tt&amp;amp;gt;swarm-2.4.1-win32.zip&amp;amp;lt;/tt&amp;amp;gt;, available here:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/binaries/w32/MinGW/Swarm-2.4.1-win32.zip http://ftp.swarm.org/pub/swarm/binaries/w32/MinGW/Swarm-2.4.1-win32.zip]&lt;br /&gt;
&lt;br /&gt;
Unzipping that file will create a folder called &amp;amp;lt;tt&amp;amp;gt;swarm&amp;amp;lt;/tt&amp;amp;gt; which should be moved somewhere that is easy to remember. The rest of this tutorial will assume this Swarm folder has been placed at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Before a Swarm model can be run, the &amp;amp;lt;tt&amp;amp;gt;swarm\bin&amp;amp;lt;/tt&amp;amp;gt; folder must be added to the Windows &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; so that Heatbugs can find necessary libraries when it runs. The &amp;amp;lt;tt&amp;amp;gt;swarm\bin&amp;amp;lt;/tt&amp;amp;gt; folder can be ''temporarily'' added to the path by executing the following in the Windows command line (the command line is accessed using the program &amp;amp;lt;tt&amp;amp;gt;cmd.exe&amp;amp;lt;/tt&amp;amp;gt;):&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;path=%PATH%;C:\swarm\bin&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is possible to have conflicts if other versions of libraries used by Swarm, such as HDF5, are already installed and in your path. And some Swarm programs require that the environment variable SWARMHOME be defined, which will typically not be true. These problems can be avoided by using the following statements instead of the above path command:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;SWARMHOME=C:\swarm&lt;br /&gt;
path=%SWARMHOME%\bin;%PATH%&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
You can alternatively add the Swarm folder to your &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; permanently by editing the Windows PATH environment variable. A tool like [[#RapidEE|RapidEE]] makes doing so easy, or you can use use Windows control panel &amp;amp;gt; System &amp;amp;gt; Advanced &amp;amp;gt; Environment Variables to add &amp;amp;lt;tt&amp;amp;gt;swarm\bin&amp;amp;lt;/tt&amp;amp;gt; to the PATH system variable.&lt;br /&gt;
&lt;br /&gt;
Once the path has been set to include the &amp;amp;lt;tt&amp;amp;gt;swarm\bin&amp;amp;lt;/tt&amp;amp;gt; folder, Swarm models can be started through the Windows command line, or by double-clicking on them from the Windows Explorer.  &lt;br /&gt;
&lt;br /&gt;
The Heatbugs model can now be run by changing the directory of the command line to the folder holding &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; and then executing the program. For example, if &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; is located in &amp;amp;lt;tt&amp;amp;gt;C:\Users\example_user\Downloads&amp;amp;lt;/tt&amp;amp;gt;, then the model may be run as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd C:\Users\example_user\Downloads&lt;br /&gt;
heatbugs.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
(or you can just double-click on &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; from Windows Explorer, which temporarily opens a Windows command terminal while the model runs.)&lt;br /&gt;
&lt;br /&gt;
[[Image:Running_Heatbugs.png|frame|none|alt=Running the Heatbugs model]]&lt;br /&gt;
&lt;br /&gt;
You can also create a simple Windows batch file that sets SWARMHOME and the path and then executes the model. Create a file called, for example &amp;amp;lt;tt&amp;amp;gt;heatbugs.bat&amp;amp;lt;/tt&amp;amp;gt; in the same directory where &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; is, containing these lines: &lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;SWARMHOME=C:\swarm&lt;br /&gt;
path=%SWARMHOME%\bin;%PATH%&lt;br /&gt;
heatbugs.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, just double-clicking on &amp;amp;lt;tt&amp;amp;gt;heatbugs.bat&amp;amp;lt;/tt&amp;amp;gt; will start the model.&lt;br /&gt;
&lt;br /&gt;
If you try this and get an error that some .dll file is not found, then the problem is likely that the path is not set correctly to include the swarm\bin folder. If instead the program crashes without an error statement, then the problem is more likely that SWARMHOME needs to be set.&lt;br /&gt;
&lt;br /&gt;
= Installing Swarm and MinGW to compile models =&lt;br /&gt;
&lt;br /&gt;
To compile Swarm models from source using MinGW, the following simple steps need to be taken to set up the build environment:&lt;br /&gt;
&lt;br /&gt;
* [[#MinGW|Install MinGW using instructions here]]. Currently only 32-bit MinGW can be used with Swarm. Install all components of MinGW.&lt;br /&gt;
* Download compiled Swarm binaries, archived as [http://ftp.swarm.org/pub/swarm/binaries/w32/MinGW/Swarm-2.4.1-win32.zip swarm-2.4.1-win32.zip]. Unzip the archive and place the extracted folder at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''&lt;br /&gt;
&lt;br /&gt;
The archived Swarm binaries '''MUST''' be placed at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt; to successfully compile Swarm models. This is because some paths had to be hard-coded by &amp;amp;lt;tt&amp;amp;gt;libtool&amp;amp;lt;/tt&amp;amp;gt; during the creation of the binaries.&lt;br /&gt;
&lt;br /&gt;
The final step before you can compile a Swarm model is to set the &amp;amp;lt;tt&amp;amp;gt;SWARMHOME&amp;amp;lt;/tt&amp;amp;gt; environment variable so that the &amp;amp;quot;make&amp;amp;quot; program knows where to find the Swarm libraries when compiling your code. There are several ways to do this.&lt;br /&gt;
*You can temporarily set SWARMHOME by entering this command in the MinGW shell: &amp;amp;lt;pre&amp;amp;gt;export SWARMHOME=/c/swarm&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
*You can edit your Makefile so it starts with: &amp;amp;lt;pre&amp;amp;gt;SWARMHOME=/c/swarm&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
*Set SWARMHOME permanently as a Windows environment variable, either by using [[#RapidEE|RapidEE]] or Windows control panel &amp;amp;gt; System &amp;amp;gt; Advanced &amp;amp;gt; Environment Variables to add a new (User or System) variable called SWARMHOME with the value &amp;amp;lt;tt&amp;amp;gt;/c/swarm&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
After MinGW has been installed and the Swarm binaries have been downloaded, Swarm models may be compiled using the MinGW shell. Start up the program MinGW Shell, cd to the directory containing your code and Makefile, and enter the command &amp;amp;quot;Make&amp;amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An archive of official Swarm example programs can be downloaded from:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz]&lt;br /&gt;
&lt;br /&gt;
We will use the &amp;amp;amp;quot;Heatbugs&amp;amp;amp;quot; model as an example of how to compile a Swarm application:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf /path/to/downloaded/swarmapps-2.3.0.tar.gz&lt;br /&gt;
cd swarmapps-2.3.0/objc/heatbugs&lt;br /&gt;
&lt;br /&gt;
make&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
'''VERY IMPORTANT NOTE: MinGW produces two executables called &amp;amp;lt;tt&amp;amp;gt;heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt;---one in the &amp;amp;lt;tt&amp;amp;gt;heatbugs&amp;amp;lt;/tt&amp;amp;gt; folder and another in the &amp;amp;lt;tt&amp;amp;gt;heatbugs/.libs&amp;amp;lt;/tt&amp;amp;gt; folder. You should ignore the executable in the top-level folder, &amp;amp;lt;tt&amp;amp;gt;heatbugs/heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt;, as it is merely a compiled wrapper script that executes &amp;amp;lt;tt&amp;amp;gt;heatbugs/.libs/heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt;. When distributing compiled models, only use binaries from the &amp;amp;lt;tt&amp;amp;gt;.libs&amp;amp;lt;/tt&amp;amp;gt; folder.'''&lt;br /&gt;
&lt;br /&gt;
The resulting executable, &amp;amp;lt;tt&amp;amp;gt;.libs/heatbugs.exe&amp;amp;lt;/tt&amp;amp;gt; may be executing by following the steps described above at ''Using Swarm Models Compiled with MinGW''. These steps must include setting the Windows Path to include &amp;amp;lt;tt&amp;amp;gt;C:\swarm\bin&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Distributing a Swarm Model for Windows Users =&lt;br /&gt;
&lt;br /&gt;
A major benefit of the MinGW version of Swarm is that models can be distributed for people to use without installing Swarm. A simple way to do this, after the model has been compiled and tested using methods in the previous section, is to create a ZIP archive that contains all the files to run the model.&lt;br /&gt;
&lt;br /&gt;
* Create a directory tree that includes the Swarm binary files. For example, create C:\MySwarmModel and add the Swarm binaries (as described [[Swarm_and_MinGW#Using_Swarm_Models_Compiled_with_MinGW|above]]) to it as a subdirectory tree.&lt;br /&gt;
* Create another subdirectory that includes just the compiled model.&lt;br /&gt;
* Create a third subdirectory that includes any input files that the model needs and a batch file that sets the path and executes the model. &lt;br /&gt;
* Zip the whole tree up for distribution.&lt;br /&gt;
&lt;br /&gt;
The directory tree in the zip file looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;&lt;br /&gt;
C:\MySwarmModel\swarm&lt;br /&gt;
                      \bin&lt;br /&gt;
                      \etc&lt;br /&gt;
                      \include&lt;br /&gt;
                      \lib&lt;br /&gt;
                      \man&lt;br /&gt;
                      \share&lt;br /&gt;
               \executable\MySwarmModel.exe&lt;br /&gt;
               \Runfiles\MySwarmModel.bat (and any input files)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the file &amp;amp;lt;tt&amp;amp;gt;MySwarmModel.bat&amp;amp;lt;/tt&amp;amp;gt; contains:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;&lt;br /&gt;
set SWARMHOME=C:\MySwarmModel\swarm&lt;br /&gt;
path=%SWARMHOME%\bin;%PATH%&lt;br /&gt;
C:\MySwarmModel\executable\MySwarmModel.exe&lt;br /&gt;
&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then users can run the model just by double-clicking on &amp;amp;lt;tt&amp;amp;gt;MySwarmModel.bat&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Building Swarm Using MinGW =&lt;br /&gt;
&lt;br /&gt;
This tutorial provides directions and code for compiling your own Swarm libraries for Windows. It is a bit advanced---some familiarity with compiling software from source in a Linux environment and knowledge of the UNIX command line is assumed.&lt;br /&gt;
&lt;br /&gt;
== Install Required Tools ==&lt;br /&gt;
&lt;br /&gt;
The first step is to download and install tools required for compiling Swarm. These links provide directions:&lt;br /&gt;
&lt;br /&gt;
* [[#MinGW|MinGW]]&lt;br /&gt;
* [[#Emacs|Emacs]]&lt;br /&gt;
* [[#GPerf|GPerf]]&lt;br /&gt;
&lt;br /&gt;
== Build Support Libraries ==&lt;br /&gt;
&lt;br /&gt;
The next steps are to build and install the libraries that Swarm depends on. A ZIP archive containing all the source code required can be found at:&lt;br /&gt;
&lt;br /&gt;
[http://ftp.swarm.org/pub/swarm/src/swarm/Swarm-2.4.1-MinGW-sources.zip http://ftp.swarm.org/pub/swarm/src/swarm/Swarm-2.4.1-MinGW-sources.zip]&lt;br /&gt;
&lt;br /&gt;
This archive contains two subdirectories:&lt;br /&gt;
&lt;br /&gt;
* sources: This folder contains the source code for each component.&lt;br /&gt;
* patches: This folder contains patchfiles that modfy source code so that MinGW can compile it.&lt;br /&gt;
&lt;br /&gt;
After downloading and extracting the source code archive, open up a MinGW shell and run the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd /path/to/where/swarm/source/was/extracted&lt;br /&gt;
mkdir build&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
The following steps will all assume your MinGW shell is operating out of the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory. All compiled software will be installed to &amp;amp;lt;tt&amp;amp;gt;/c/swarm&amp;amp;lt;/tt&amp;amp;gt; (The Windows Explorer will see the folder appear at &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== ZLib ===&lt;br /&gt;
&lt;br /&gt;
ZLib will be the first library to be built as it is a common dependency for many of the other software components. From the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, execute the following to build Zlib:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/zlib-1.2.5.tar.gz&lt;br /&gt;
cd zlib-1.2.5&lt;br /&gt;
make -f win32/Makefile.gcc&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
And then the following commands to install ZLib to &amp;amp;lt;tt&amp;amp;gt;/c/swarm&amp;amp;lt;/tt&amp;amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mkdir -p /c/swarm/bin&lt;br /&gt;
mkdir -p /c/swarm/include&lt;br /&gt;
mkdir -p /c/swarm/lib&lt;br /&gt;
&lt;br /&gt;
cp zlib1.dll /c/swarm/bin/&lt;br /&gt;
cp zconf.h zlib.h /c/swarm/include/&lt;br /&gt;
mv libzdll.a libz.dll.a&lt;br /&gt;
cp *.a /c/swarm/lib&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== LibPNG ===&lt;br /&gt;
&lt;br /&gt;
LibPNG will be built next as its only dependency is ZLib. From the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, execute the following steps to build and install LibPNG:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xjf ../sources/libpng-1.5.4.tar.bz2&lt;br /&gt;
cd libpng-1.5.4&lt;br /&gt;
&lt;br /&gt;
export CPPFLAGS='-I/c/swarm/include'&lt;br /&gt;
export LDFLAGS='-L/c/swarm/lib'&lt;br /&gt;
./configure --prefix=/c/swarm --with-zlib-prefix=/c/swarm&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== XPM ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, the XPM library can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xjf ../sources/xpm-nox-4.2.0.tar.bz2&lt;br /&gt;
cd xpm-nox-4.2.0&lt;br /&gt;
patch -p1 &amp;amp;amp;lt; ../../patches/xpm-nox-4.2.0-mingw-tcl.patch&lt;br /&gt;
&lt;br /&gt;
make CC=gcc&lt;br /&gt;
make install prefix=/c/swarm&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
'''Summary of patchfile changes:'''&lt;br /&gt;
&lt;br /&gt;
The patchfile is inherited from the SUSE builds of XPM for MinGW and adds Makefiles and other critical components.&lt;br /&gt;
&lt;br /&gt;
One major modification has been made to the SUSE patchfile---&amp;amp;lt;tt&amp;amp;gt;tcl.h&amp;amp;lt;/tt&amp;amp;gt; is included in &amp;amp;lt;tt&amp;amp;gt;xpm.h&amp;amp;lt;/tt&amp;amp;gt;. This is required in order to use XPM while Tk is installed. Conversely, this means that this build of XPM cannot be used without having Tk installed.&lt;br /&gt;
&lt;br /&gt;
=== LibFFI ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, LibFFI can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/libffi-3.0.9.tar.gz&lt;br /&gt;
cd libffi-3.0.9&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
The LibFFI headers get installed in a weird place.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mv /c/swarm/lib/libffi-3.0.9/include/*.h /c/swarm/include&lt;br /&gt;
rm -rf /c/swarm/lib/libffi-3.0.9&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Tcl ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, Tcl can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/tcl8.4.19-src.tar.gz&lt;br /&gt;
cd tcl8.4.19&lt;br /&gt;
patch -p1 &amp;amp;amp;lt; ../../patches/tcl-8.4.19-fix-lvalues.patch&lt;br /&gt;
cd win&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
'''Summary of patchfile changes:'''&lt;br /&gt;
&lt;br /&gt;
At two places in the TCL source code, an assignment is made while simultaneously performing a typecast. The typecast and the assignment had to be split into separate operations in order to be acceptable to the MinGW compilers.&lt;br /&gt;
&lt;br /&gt;
=== Tk ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, Tk can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/tk8.4.19-src.tar.gz&lt;br /&gt;
cd tk8.4.19/win&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== BLT ===&lt;br /&gt;
&lt;br /&gt;
Starting from the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, BLT can be built and installed as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/BLT2.4z.tar.gz&lt;br /&gt;
cd blt2.4z&lt;br /&gt;
&lt;br /&gt;
./configure --prefix=/c/swarm --without-x&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== HDF5 (Optional) ===&lt;br /&gt;
&lt;br /&gt;
Getting HDF5 to work with MinGW is a little tricky. It is an optional dependency, so if support for reading and writing &amp;amp;lt;tt&amp;amp;gt;.hdf&amp;amp;lt;/tt&amp;amp;gt; files is not needed this section can be skipped.&lt;br /&gt;
&lt;br /&gt;
As of version 1.8.7, HDF5 currently does not compile under MinGW. So, we must wrap pre-compiled binaries for use with MinGW. In order to wrap the binaries, we will need an additional tool called &amp;amp;lt;tt&amp;amp;gt;pexports&amp;amp;lt;/tt&amp;amp;gt;. This can be installed using &amp;amp;lt;tt&amp;amp;gt;mingw-get&amp;amp;lt;/tt&amp;amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mingw-get install mingw-utils&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Download 32-bit Windows binaries from the HDF website compiled for use with the Visual Studio compilers (these files have &amp;amp;amp;quot;VS&amp;amp;amp;quot; listed under the ''Compilers'' section). After extracting the archive, the HDF5 libraries can be wrapped for use with MinGW by executing the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd path/to/where/HDF5/was/extracted&lt;br /&gt;
&lt;br /&gt;
for dll in `ls dll/*dll`; do&lt;br /&gt;
  def_file=`basename $dll .dll`.def&lt;br /&gt;
  lib_file=lib`basename $dll dll.dll`.a&lt;br /&gt;
  pexports $dll &amp;amp;amp;gt; $def_file&lt;br /&gt;
  dlltool -d $def_file -l lib/$lib_file&lt;br /&gt;
done&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Next, move the libraries and header files needed to use HDF5 from C into &amp;amp;lt;tt&amp;amp;gt;C:\swarm&amp;amp;lt;/tt&amp;amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cp dll/hdf5dll.dll dll/szip.dll /c/swarm/bin&lt;br /&gt;
cp include/* /c/swarm/include&lt;br /&gt;
cp lib/libhdf5.a /c/swarm/lib&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Finally, a patch must be applied to the HDF header file &amp;amp;lt;tt&amp;amp;gt;H5public.h&amp;amp;lt;/tt&amp;amp;gt; so that it doesn't define &amp;amp;lt;tt&amp;amp;gt;ssize_t&amp;amp;lt;/tt&amp;amp;gt;---a constant already defined by MinGW. The required patch is contained in the Swarm MinGW source archive:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;cd /path/to/where/swarm/source/was/extracted&lt;br /&gt;
patch -p1 -d /c/swarm &amp;amp;amp;lt; patches/hdf5-1.8.7-mingw.patch&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Build Swarm ==&lt;br /&gt;
&lt;br /&gt;
Finally, the Swarm libraries themselves can be built. From the &amp;amp;lt;tt&amp;amp;gt;build&amp;amp;lt;/tt&amp;amp;gt; directory, execute the following&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar xzf ../sources/swarm-2.4.1.tar.gz&lt;br /&gt;
cd swarm-2.4.1&lt;br /&gt;
patch -p1 ../../patches/swarm-2.4.1-mingw.patch&lt;br /&gt;
&lt;br /&gt;
export CPPFLAGS='-I/c/swarm/include'&lt;br /&gt;
export LDFLAGS='-L/c/swarm/lib'&lt;br /&gt;
./configure --prefix=/c/swarm \&lt;br /&gt;
  --with-zlibdir=/c/swarm \&lt;br /&gt;
  --with-pngdir=/c/swarm \&lt;br /&gt;
  --with-xpmdir=/c/swarm \&lt;br /&gt;
  --with-ffidir=/c/swarm \&lt;br /&gt;
  --with-tcl=/c/swarm/lib \&lt;br /&gt;
  --with-tk=/c/swarm/lib \&lt;br /&gt;
  --with-bltdir=/c/swarm&lt;br /&gt;
&lt;br /&gt;
cd avcall&lt;br /&gt;
gcc -S avcall-i386.c&lt;br /&gt;
cd ..&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
make install&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
If you wrapped HDF5 up for use with MinGW, add &amp;amp;lt;tt&amp;amp;gt;--with-hdf5dir=/c/swarm&amp;amp;lt;/tt&amp;amp;gt; to the list of arguments passed to &amp;amp;lt;tt&amp;amp;gt;configure&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Summary of patchfile changes:'''&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;tt&amp;amp;gt;swarm-2.4.1-mingw.patch&amp;amp;lt;/tt&amp;amp;gt; modifies the Swarm source code in the following ways:&lt;br /&gt;
&lt;br /&gt;
* &amp;amp;lt;tt&amp;amp;gt;gettimeofday&amp;amp;lt;/tt&amp;amp;gt; is no longer defined in the Swarm sources as MinGW includes this function in its standard library.&lt;br /&gt;
* Swarm GUI functions are updated to be compatible with LibPNG 1.5.&lt;br /&gt;
* The Swarm &amp;amp;lt;tt&amp;amp;gt;configure&amp;amp;lt;/tt&amp;amp;gt; script defines &amp;amp;lt;tt&amp;amp;gt;DATADIR&amp;amp;lt;/tt&amp;amp;gt; as a preprocessor macro---this conflicts with variables in the GCC Objective-C library. &amp;amp;lt;tt&amp;amp;gt;DATDIR&amp;amp;lt;/tt&amp;amp;gt; is &amp;amp;lt;tt&amp;amp;gt;undef&amp;amp;lt;/tt&amp;amp;gt;ed in critical parts of the source code.&lt;br /&gt;
* The &amp;amp;lt;tt&amp;amp;gt;sleep&amp;amp;lt;/tt&amp;amp;gt; function is aliased to &amp;amp;lt;tt&amp;amp;gt;usleep&amp;amp;lt;/tt&amp;amp;gt;---which is the name of the MinGW implementation.&lt;br /&gt;
* The way in which Makefiles invoke &amp;amp;lt;tt&amp;amp;gt;gperf&amp;amp;lt;/tt&amp;amp;gt; is amended so that it actually produces output.&lt;br /&gt;
* NULL checks are added to `zstrdup` in src/defobj/internal.m. Some functions in the Swarm library may attempt to call `zstrdup` on a NULL pointer. (This happens if the SWARMHOME environment variable is not set.) Failing to check for this condition can lead to segfaults. `zstrdup` now returns NULL if passed a NULL string or if `alloc` fails to allocate memory for a duplicate.&lt;br /&gt;
&lt;br /&gt;
Full details are contained in the patchfile.&lt;br /&gt;
&lt;br /&gt;
= Tools =&lt;br /&gt;
&lt;br /&gt;
== MinGW ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.mingw.org&lt;br /&gt;
&lt;br /&gt;
'''Download Area:''' http://sourceforge.net/projects/mingw/files&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 20110530&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
&lt;br /&gt;
[http://www.mingw.org MinGW] is a set of software that aims to provide an environment where software developed on UNIX-like systems can be easily compiled for Windows. Since Swarm is primarily developed on Linux (a UNIX clone), MinGW can ease the task of creating Swarm models that run on Windows.&lt;br /&gt;
&lt;br /&gt;
MinGW is similar to the [http://www.cygwin.org Cygwin] project. The major difference is that MinGW produces executables that depend only on native Windows libraries while Cygwin executables require special compatibility libraries that are part of the Cygwin distribution.&lt;br /&gt;
&lt;br /&gt;
=== Installing MinGW ===&lt;br /&gt;
&lt;br /&gt;
MinGW can be installed by downloading the &amp;amp;amp;quot;Automated MinGW Installer&amp;amp;amp;quot;, which usually has a name like &amp;amp;lt;tt&amp;amp;gt;mingw-get-inst-&amp;amp;amp;lt;date&amp;amp;amp;gt;.exe&amp;amp;lt;/tt&amp;amp;gt; where &amp;amp;lt;tt&amp;amp;gt;&amp;amp;amp;lt;date&amp;amp;amp;gt;&amp;amp;lt;/tt&amp;amp;gt; is the datestamp for when the installer was packaged. Running this executable will start the installation process. The installer lets you select which optional components to install; make sure all boxes are checked so you '''install all components'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:MinGW_Setup.png|frame|none|alt=Install all available MinGW components]]&lt;br /&gt;
&lt;br /&gt;
The installer downloads all components from the internet. This will take a while, so have a cup of coffee or walk the dog.&lt;br /&gt;
&lt;br /&gt;
See the following section about also installing an optional, more-functional shell window for MinGW.&lt;br /&gt;
&lt;br /&gt;
=== Using MinGW ===&lt;br /&gt;
&lt;br /&gt;
The MinGW compilers are accessible through the &amp;amp;amp;quot;MinGW Shell&amp;amp;amp;quot; which should be located under the MinGW folder in the Start Menu:&lt;br /&gt;
&lt;br /&gt;
[[Image:MinGW_Shell.png|frame|none|alt=Location of MinGW Shell]]&lt;br /&gt;
&lt;br /&gt;
or by running &amp;amp;lt;tt&amp;amp;gt;C:\MinGW\msys\1.0\msys.bat&amp;amp;lt;/tt&amp;amp;gt; (if MinGW was installed to its default location).&lt;br /&gt;
&lt;br /&gt;
By default the MinGW shell executes inside of a Windows &amp;amp;lt;tt&amp;amp;gt;cmd.exe&amp;amp;lt;/tt&amp;amp;gt; terminal. There are a couple major drawbacks to this:&lt;br /&gt;
&lt;br /&gt;
* You cannot resize the window to full-screen.&lt;br /&gt;
* The shell provides limited history scrollback.&lt;br /&gt;
&lt;br /&gt;
MinGW provides a couple of alternative terminals for the MinGW shell which do not have these drawbacks; one of which is called MinTTY. To install MinTTY execute the following in a MinGW shell:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;mingw-get install mintty&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
Then the &amp;amp;lt;tt&amp;amp;gt;mintty&amp;amp;lt;/tt&amp;amp;gt; command can be used to launch a MinTTY terminal. The MinGW Shell can also be set to launch MinTTY by default by editing the file &amp;amp;lt;tt&amp;amp;gt;C:\MinGW\msys\1.0\msys.bat&amp;amp;lt;/tt&amp;amp;gt; and changing the following line (approximately line 58):&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;if &amp;amp;amp;quot;x%MSYSCON%&amp;amp;amp;quot; == &amp;amp;amp;quot;xunknown&amp;amp;amp;quot; set MSYSCON=sh.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;if &amp;amp;amp;quot;x%MSYSCON%&amp;amp;amp;quot; == &amp;amp;amp;quot;xunknown&amp;amp;amp;quot; set MSYSCON=mintty.exe&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== A Note About Paths ===&lt;br /&gt;
&lt;br /&gt;
The MinGW Shell emulates a UNIX &amp;amp;lt;tt&amp;amp;gt;bash&amp;amp;lt;/tt&amp;amp;gt; shell and thus uses UNIX-style paths, &amp;amp;lt;tt&amp;amp;gt;/path/to/file&amp;amp;lt;/tt&amp;amp;gt;, instead of Windows-style paths, &amp;amp;lt;tt&amp;amp;gt;C:\path\to\file&amp;amp;lt;/tt&amp;amp;gt;. One peculiarity of this process is that the shell must deal with the fact that Windows filesystems have multiple roots (&amp;amp;lt;tt&amp;amp;gt;C:&amp;amp;lt;/tt&amp;amp;gt;, &amp;amp;lt;tt&amp;amp;gt;D:&amp;amp;lt;/tt&amp;amp;gt;, etc.) while a UNIX filesystem only has one root called &amp;amp;lt;tt&amp;amp;gt;/&amp;amp;lt;/tt&amp;amp;gt;. The way this is reconciled by the &amp;amp;lt;tt&amp;amp;gt;bash&amp;amp;lt;/tt&amp;amp;gt; shell provided with MinGW is that &amp;amp;lt;tt&amp;amp;gt;/c&amp;amp;lt;/tt&amp;amp;gt; refers to the root of the &amp;amp;lt;tt&amp;amp;gt;C:&amp;amp;lt;/tt&amp;amp;gt; drive, &amp;amp;lt;tt&amp;amp;gt;/d&amp;amp;lt;/tt&amp;amp;gt; refers to the root of the &amp;amp;lt;tt&amp;amp;gt;D:&amp;amp;lt;/tt&amp;amp;gt; drive and so on and so forth.&lt;br /&gt;
&lt;br /&gt;
The root of the filesystem itself, &amp;amp;lt;tt&amp;amp;gt;/&amp;amp;lt;/tt&amp;amp;gt;, also has some caveats. &amp;amp;lt;tt&amp;amp;gt;/&amp;amp;lt;/tt&amp;amp;gt; refers to the &amp;amp;lt;tt&amp;amp;gt;mysy&amp;amp;lt;/tt&amp;amp;gt; folder, &amp;amp;lt;tt&amp;amp;gt;C:/MinGW/mysys/1.0&amp;amp;lt;/tt&amp;amp;gt; in a default installation. &amp;amp;lt;tt&amp;amp;gt;/usr&amp;amp;lt;/tt&amp;amp;gt; also refers to the same location. Thus, &amp;amp;lt;tt&amp;amp;gt;/usr/local&amp;amp;lt;/tt&amp;amp;gt; and &amp;amp;lt;tt&amp;amp;gt;/local&amp;amp;lt;/tt&amp;amp;gt; both refer to &amp;amp;lt;tt&amp;amp;gt;C:/MinGW/mysys/1.0/local&amp;amp;lt;/tt&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== A Note About MinGW-64 ===&lt;br /&gt;
&lt;br /&gt;
Currently Swarm has been developed and tested against the 32-bit version of MinGW. Hence Swarm models produced this way should run in any version of Windows.&lt;br /&gt;
&lt;br /&gt;
The [MinGW-w64][mingw_65] project produces 64-bit MinGW compilers that can produce 64-bit executables that will only run on 64-bit versions of Windows. These executables benefit from:&lt;br /&gt;
&lt;br /&gt;
* Access to more memory. A 32-bit executable will only be able to allocate ~3 GB of RAM---even if the system has more RAM available.&lt;br /&gt;
* Possibly quicker execution speeds due to matching the native architecture of the operating system---however this depends on the types of tasks that the program executes. It has been reported that 64 bit Swarm executables run quicker than 32 bit Swarm executables on Linux.&lt;br /&gt;
&lt;br /&gt;
Currently, no attempt has been made to compile Swarm 2.4.1 with the 64 bit MinGW compilers. If a successful attempt is made, please report it on the [http://www.swarm.org/mailman/listinfo/support Swarm mailing list].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Emacs ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.gnu.org/software/emacs&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 23.3&lt;br /&gt;
&lt;br /&gt;
'''Download Area:''' http://ftp.gnu.org/gnu/emacs/windows&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
&lt;br /&gt;
GNU Emacs is a text editor that is used by many programmers to edit code. However, Emacs can also be scripted to perform a variety of complicated transformations on text files. The scripts that build the Swarm libraries use Emacs to automate the process of generating some source files. Thus Emacs has to be installed in order to build Swarm from source.&lt;br /&gt;
&lt;br /&gt;
=== Installing Emacs ===&lt;br /&gt;
&lt;br /&gt;
Install Emacs by downloading one of the &amp;amp;lt;tt&amp;amp;gt;emacs-&amp;amp;amp;lt;version&lt;br /&gt;
number&amp;amp;amp;gt;-bin-i386.zip&amp;amp;lt;/tt&amp;amp;gt; files from the download area. Don't use any of the&lt;br /&gt;
files containing &amp;amp;lt;tt&amp;amp;gt;barebin&amp;amp;lt;/tt&amp;amp;gt;. After extracting the ZIP archive there will&lt;br /&gt;
be an Emacs folder containing a subfolder called &amp;amp;lt;tt&amp;amp;gt;bin&amp;amp;lt;/tt&amp;amp;gt;. Add this folder&lt;br /&gt;
to your Windows &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt;. [[#RapidEE|RapidEE]] can help edit the&lt;br /&gt;
&amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== GPerf ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.gnu.org/software/gperf/&lt;br /&gt;
&lt;br /&gt;
'''Download Area:''' http://sourceforge.net/projects/gnuwin32/files/gperf&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 3.0.1&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
&lt;br /&gt;
GPerf is a program that produces C code containing hash functions. The scripts&lt;br /&gt;
that build the Swarm libraries use GPerf to generate some source code files.&lt;br /&gt;
Download &amp;amp;lt;tt&amp;amp;gt;gperf.exe&amp;amp;lt;/tt&amp;amp;gt; from the GnuWin32 site on Sourceforge and place it&lt;br /&gt;
somewhere on your Windows &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt;. Again, [[#RapidEE|RapidEE]] can help set the &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt; variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== RapidEE ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.rapidee.com&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 5.0&lt;br /&gt;
&lt;br /&gt;
'''License:''' [http://www.rapidee.com/en/license Freeware]&lt;br /&gt;
&lt;br /&gt;
The Rapid Environment Editor (RapidEE) is a spiffy tool that makes it easy to inspect and alter the value of Windows environment variables, such as the &amp;amp;lt;tt&amp;amp;gt;PATH&amp;amp;lt;/tt&amp;amp;gt;. RapidEE may be used to edit &amp;amp;amp;quot;System Variables&amp;amp;amp;quot; which will affect all user accounts or &amp;amp;amp;quot;User Variables&amp;amp;amp;quot; which will affect just the current account. Administrative privileges may be required to edit the System Variables.&lt;br /&gt;
&lt;br /&gt;
[[Image:RapidEE_1.png|frame|none|alt=The different variables RapidEE can edit]]&lt;br /&gt;
&lt;br /&gt;
Right-clicking on the &amp;amp;lt;tt&amp;amp;gt;Path&amp;amp;lt;/tt&amp;amp;gt; variable in the System Variables or User Variables will bring up a menu that presents the option to &amp;amp;amp;quot;Add value&amp;amp;amp;quot;:&lt;br /&gt;
&lt;br /&gt;
[[Image:RapidEE_2.png|frame|none|alt=Adding a new value to the PATH]]&lt;br /&gt;
&lt;br /&gt;
Once the new entry has been added, RapidEE must be told to save the changes. Command line shells, such as &amp;amp;lt;tt&amp;amp;gt;cmd.exe&amp;amp;lt;/tt&amp;amp;gt;, must be restarted in order for them to notice the changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:RapidEE_3.png|frame|none|alt=Adding and saving a value]]&lt;br /&gt;
&lt;br /&gt;
== Depends ==&lt;br /&gt;
&lt;br /&gt;
'''Homepage:''' http://www.dependencywalker.com/&lt;br /&gt;
&lt;br /&gt;
'''Version Used:''' 2.2&lt;br /&gt;
&lt;br /&gt;
'''License:''' Freeware&lt;br /&gt;
&lt;br /&gt;
Depends is a usefull utility that scans Windows executables and reports information concerning the Dynamic-link Libraries (DLLs) that those executables require in order to run.&lt;br /&gt;
&lt;br /&gt;
= Software Used to Compile Swarm 2.4.1 =&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
!  Name&lt;br /&gt;
!  Verson Used&lt;br /&gt;
!  License&lt;br /&gt;
!  Homepage&lt;br /&gt;
!  Download Area&lt;br /&gt;
|-&lt;br /&gt;
|  ZLib&lt;br /&gt;
|  1.2.5&lt;br /&gt;
|  [http://www.opensource.org/licenses/Zlib ZLib/PNG License]&lt;br /&gt;
|  [http://www.zlib.net http://www.zlib.net]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  LibFFI&lt;br /&gt;
|  3.0.9&lt;br /&gt;
|  [http://www.opensource.org/licenses/MIT MIT]&lt;br /&gt;
|  [http://sourceware.org/libffi http://sourceware.org/libffi]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  LibPNG&lt;br /&gt;
|  1.5.4&lt;br /&gt;
|  [http://www.opensource.org/licenses/Zlib ZLib/PNG]&lt;br /&gt;
|  [http://www.libpng.org/pub/png/libpng.html http://www.libpng.org/pub/png/libpng.html]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  XPM-NoX&lt;br /&gt;
|  4.2.0&lt;br /&gt;
|  [http://www.opensource.org/licenses/MIT MIT]&lt;br /&gt;
|  unknown&lt;br /&gt;
|  [http://build.opensuse.org/package/files?package=mingw32-xpm-nox&amp;amp;amp;project=windows%3Amingw%3Awin32 http://build.opensuse.org/package/files?package=mingw32-xpm-nox&amp;amp;amp;project=windows%3Amingw%3Awin32]&lt;br /&gt;
|-&lt;br /&gt;
|  Tcl&lt;br /&gt;
|  8.4.19&lt;br /&gt;
|  [http://www.tcl.tk/software/tcltk/license.html Tcl]&lt;br /&gt;
|  [http://www.tcl.tk http://www.tcl.tk]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  Tk&lt;br /&gt;
|  8.4.19&lt;br /&gt;
|  [http://www.tcl.tk/software/tcltk/license.html Tcl]&lt;br /&gt;
|  [http://www.tcl.tk http://www.tcl.tk]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  BLT&lt;br /&gt;
|  2.4z&lt;br /&gt;
|  [http://www.opensource.org/licenses/BSD-3-Clause BSD]&lt;br /&gt;
|  [http://blt.sourceforge.net http://blt.sourceforge.net]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  HDF5&lt;br /&gt;
|  1.8.7&lt;br /&gt;
|  [http://www.opensource.org/licenses/BSD-3-Clause BSD]&lt;br /&gt;
|  [http://www.hdfgroup.org/HDF5 http://www.hdfgroup.org/HDF5]&lt;br /&gt;
|  --&lt;br /&gt;
|-&lt;br /&gt;
|  Swarm&lt;br /&gt;
|  2.4.1&lt;br /&gt;
|  [http://www.opensource.org/licenses/GPL-3.0 GPL]&lt;br /&gt;
|  [http://www.swarm.org http://www.swarm.org]&lt;br /&gt;
|  [http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz http://ftp.swarm.org/pub/swarm/src/swarm/swarmapps-2.3.0.tar.gz]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=7</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=7"/>
				<updated>2015-03-07T05:19:59Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Swarm_and_MinGW]]&lt;br /&gt;
[[ABMResourceNavigation]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=ABMResourceNavigation&amp;diff=6</id>
		<title>ABMResourceNavigation</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=ABMResourceNavigation&amp;diff=6"/>
				<updated>2015-03-07T05:16:34Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: Created page with &amp;quot;  ==Complete kits and platforms==  ===Open source=== (must be freely distributable under an open source license, i.e. &amp;amp;quot;free as in speech&amp;amp;quot; as defined by the superset...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Complete kits and platforms==&lt;br /&gt;
&lt;br /&gt;
===Open source===&lt;br /&gt;
(must be freely distributable under an open source license, i.e. &amp;amp;quot;free as in speech&amp;amp;quot; as defined by the superset of the [http://opensource.org/docs/definition.php Open Source Definition from the Open Source Initiative] and the [http://www.gnu.org/licenses/license-list.html Free Software Foundation])&lt;br /&gt;
*'''[http://agents.felk.cvut.cz/aglobe A-globe]'''&lt;br /&gt;
*'''[http://www.alphaworks.ibm.com/tech/able ABLE]'''&lt;br /&gt;
*'''[http://ascape.sourceforge.net Ascape]'''&lt;br /&gt;
*'''[http://www.spiderland.org/breve/ Breve]'''&lt;br /&gt;
*'''[http://cormas.cirad.fr/en/outil/outil.htm Cormas]''' &amp;amp;quot;Cormas is a programming environment dedicated to the creation of multi-agent systems, with a specificity in the domain of natural-resources management. It provides a framework for developing simulation models of coordination modes between individuals and groups that jointly exploit common resources.&amp;amp;quot;&lt;br /&gt;
*'''[http://www.cougaar.org/ Cougaar]'''&lt;br /&gt;
*'''[http://ecolab.sourceforge.net EcoLab]'''&lt;br /&gt;
*'''[http://omicrongroup.org/evo/ EVO]'''&lt;br /&gt;
*'''[http://sharon.cselt.it/projects/jade/ JADE]'''&lt;br /&gt;
*'''[http://jaslibrary.sourceforge.net JAS]'''&lt;br /&gt;
*'''[http://cs.gmu.edu/~eclab/projects/mason/ MASON]'''&lt;br /&gt;
*'''[http://www.metascapeabm.com/index.php?option=com_content&amp;amp;amp;task=view&amp;amp;amp;id=19&amp;amp;amp;Itemid=61 metaABM]''' (A meta-modeling environment supporting multiple ABM platforms)&lt;br /&gt;
*'''[http://www.avignon.inra.fr/internet/unites/biometrie/mobidyc_projet/english/version_index_html Mobidyc]''' &amp;amp;quot;The free software for building and running Individual Based Models with no computer skill. Mobidyc is a software project that aims to promote Individual-Based Modelling in the field of ecology, biology and environment.&amp;amp;quot;&lt;br /&gt;
*'''[http://ccl.northwestern.edu/netlogo/ NetLogo]'''&lt;br /&gt;
*'''[http://quicksilver.tigris.org/ Quicksilver]'''&lt;br /&gt;
*'''[http://repast.sourceforge.net Repast]'''&lt;br /&gt;
*'''[http://www.cs.bham.ac.uk/~axs/cog_affect/sim_agent.html SIM_AGENT]'''&lt;br /&gt;
*'''[http://www.simsesam.de SeSAm]'''&lt;br /&gt;
*'''[http://simpy.sourceforge.net/ SimPy]'''&lt;br /&gt;
*'''[http://www.swarm.org Swarm]'''&lt;br /&gt;
*'''[http://www.primordion.com/Xholon Xholon]'''&lt;br /&gt;
*'''[http://labs.bt.com/projects/agents/zeus/ Zeus]'''&lt;br /&gt;
&lt;br /&gt;
===Freeware===&lt;br /&gt;
(available for free &amp;amp;quot;as in beer&amp;amp;quot;, source may or may not necessarily be available, if source is available it is not under an open-source license)&lt;br /&gt;
*'''[http://dextk.org deX]'''&lt;br /&gt;
*'''[http://education.mit.edu/starlogo/ StarLogo]'''&lt;br /&gt;
*'''[http://ccl.northwestern.edu/cm/StarLogoT/ StarLogoT]'''&lt;br /&gt;
*'''[http://visualbots.com/ VisualBots]''' -- Easy to use multi-agent simulator for Microsoft Excel - Visual Basic syntax, rich object model, documentation, sample simulations&lt;br /&gt;
&lt;br /&gt;
===Proprietary===&lt;br /&gt;
*'''[http://agentsheets.com/ AgentSheets]'''&lt;br /&gt;
*'''[http://www.chiinc.com/products/products_igen.htm iGEN]'''&lt;br /&gt;
*'''[http://www.xjtek.com AnyLogic]'''&lt;br /&gt;
*'''[http://mass.aitia.ai MASS]'''&lt;br /&gt;
&lt;br /&gt;
==Swarm add-ons and extensions==&lt;br /&gt;
*'''[[COSMIC]]''' --  General simulation utility classes, provided by the Complex Systems Modelling Group at Imperial College&lt;br /&gt;
*'''[http://www.humboldt.edu/~ecomodel/ EcoSwarm@HSU]''' --  Modeling tools for use with the Swarm simulation system&lt;br /&gt;
*'''[http://me.in-berlin.de/~rws/logzone_toc.html LogZone]''' -- Zone exploration tool.&lt;br /&gt;
&lt;br /&gt;
==Related tools and technologies==&lt;br /&gt;
*'''[http://www.me.mtu.edu/%7Ermdsouza/ABM_GPU.html Agent-based simulation on Graphics Processing Units]'''. Roshan D'Souza at [http://www.me.mtu.edu/ Michigan Tech's Mechanical Engineering department] has been working on ultra-high-speed agent-based modeling using direct programming of Graphics Processing Units (gaming chips). He has, for example, run Sugarscape with 2 million agents updating over 50 times per second with graphical output. [[Image:SugarScape_GPU.pdf|Here is a paper on this work.]] &lt;br /&gt;
*'''[http://www.fipa.org/ FIPA]'''. &amp;amp;quot;FIPA is an IEEE Computer Society standards organization that promotes agent-based technology and the interoperability of its standards with other technologies.&amp;amp;quot;&lt;br /&gt;
*'''[[Objective-C]]'''&lt;br /&gt;
&lt;br /&gt;
==General==&lt;br /&gt;
*Leigh Tesfatsion's '''[http://www.econ.iastate.edu/tesfatsi/acecode.htm Resource Site for Agent-Based Software and Toolkits]'''&lt;br /&gt;
&lt;br /&gt;
*Steve Railsback, Steve Lytinen, and Steve Jackson's '''[http://condor.depaul.edu/~slytinen/abm/StupidModel ABM template model site]'''&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=5</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=5"/>
				<updated>2015-03-07T05:15:22Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[ABMResourceNavigation]]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=4</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=4"/>
				<updated>2015-03-07T05:10:46Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[ABMResourceNavigation]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=3</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=3"/>
				<updated>2015-03-07T05:10:07Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[ABMResourceNavigation:ABM Resource Navigation]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	<entry>
		<id>http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=2</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://www.swarm.org/w/index.php?title=Main_Page&amp;diff=2"/>
				<updated>2015-03-07T05:09:10Z</updated>
		
		<summary type="html">&lt;p&gt;Pauljohn32: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[ABMResourceNavigation| ABM Resource Navigation]&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Pauljohn32</name></author>	</entry>

	</feed>