Home » Software » AcCoRD (Actor-based Communication via Reaction-Diffusion) » Download AcCoRD

Download AcCoRD

This page will help you download AcCoRD, install it, and run the sample simulations. AcCoRD has a very simple installation procedure. A complete installation has the following:

  1. An AcCoRD executable file that is compiled for your flavor of operating system
  2. Directory of MATLAB utilities (optional but recommended for post-processing)
  3. One (or more) configuration files to define simulation parameters

The releases hosted on this page are provided as prepackaged archives using the recommended file structure in a single zip-file. Each one includes an “optimal” and a “debug” executable, a collection of sample simulations, and a script to run all of the sample simulations. When running AcCoRD, you should use the “optimal” executable. The “debug” executable is useful if you need to run AcCoRD with debugging software (such as gdb or valgrind).

Download AcCoRD – Latest Stable Release

The latest stable release of AcCoRD is v1.1.

Pre-compiled versions:

Source code:

Selected Previous Releases

Release v1.0R2:

You can also find the latest and older releases on the Github AcCoRD Releases page. However, the releases on the Github page keep the executables separate from the source code, so you will need to put the executables in the “bin” folder yourself.

Installation Instructions (Recommended)

You can install and test a pre-compiled version as follows:

  1. Download AcCoRD by selecting the release for your operating system (see above).
  2. Extract the zip-file contents to your preferred directory. This completes the installation.
  3. Test your installation:
    1. Open a command line terminal and navigate to the “bin” directory
      • on Windows, run “cmd.exe”
      • on Linux, open a terminal window
    2. Run the default simulation:
      • on Windows, enter “accord_win.exe”
      • on Debian/Ubuntu, enter “./accord_dub.out”
      • on RHEL/CentOS, enter “./accord_rc.out”
      • Note: in Linux you may need to give yourself execution permission. If the command does not work, then enter “chmod +x NAME_OF_OUT” and try again, where NAME_OF_OUT is accord_dub.out or accord_rc.out
    3. Run all sample simulations (this may take up to 10 minutes):
      • on Windows, enter “run_accord_win_samples.bat”
      • on Debian/Ubuntu, enter “./run_accord_dub_samples.sh”
      • on RHEL/CentOS, enter “./run_accord_rc_samples.sh”
    4. By default, simulation output is saved to “bin/results/”. If the directory does not exist, AcCoRD will check up one directory for the existence of a “results” directory, else it will create “bin/results/”.

Please refer to the How to Use AcCoRD page for more details on running or processing simulations.

Compiling From Source (Advanced)

If you want to run AcCoRD on a different operating system, or use different compilation parameters, then you can build it directly from the source code. The source code for the latest release is above in the Download list. The source code for the latest and all previous releases is also on the Github AcCoRD Releases page.

To build AcCoRD, you will need a C-compiler and standard C libraries. The following instructions assume that you have GCC (which is the standard compiler for Linux and can be obtained for Windows via minGW):

  1. Download AcCoRD’s source code directory (see above)
  2. Extract the zip-file source code contents to your preferred directory
  3. If you want to compile for an OS that is not Windows or Linux, then you should look at modifying source code in two locations. The files “file_io.c” and “file_io.h” in the “src” directory each have preprocessor directives that check the existence of “__linux__” in order to call the correct function to create a new directory within the current OS. The corresponding code would need to be modified to account for the OS that you want to use.
  4. Inspect the build script that you want to use in the “src” directory. The sample build scripts provided correspond to the default installations above (i.e., one “optimal” and one “debug” for each of Windows, Debian/Ubuntu Linux, and RHEL/CentOS Linux). All have filenames that start with “build_accord”. The Windows build scripts are .bat files and the Linux build scripts have no extension. Modify your chosen build script if necessary. Note that the Debian/Ubuntu scripts are actually identical to the RHEL/CentOS build scripts, except for the filenames of the output executable.
  5. Open a command line terminal and navigate to the “src” directory
  6. Run the desired build script. The binary will be placed in the “bin” directory (unless you changed the output in the script):
    • sample Windows call: build_accord_opt_win.bat
    • sample Linux call: ./build_accord_opt_dub
    • Note: in Linux you may need to give yourself execution permission. If the script does not run, then enter “chmod +x NAME_OF_SCRIPT” and try again, where NAME_OF_SCRIPT is the name of the script
  7. Follow the “Test your installation” steps in the Installation Instructions above.