Skip to content

Instantly share code, notes, and snippets.

@bensutherland
Created May 29, 2019 21:02
Show Gist options
  • Save bensutherland/3f733f43819204b5c8dbea2ce0ebc467 to your computer and use it in GitHub Desktop.
Save bensutherland/3f733f43819204b5c8dbea2ce0ebc467 to your computer and use it in GitHub Desktop.
Install colony on linux allowing for parallel computation

Install colony on Linux

The following are instructions for installation of colony on linux, specifically for the user, with no guarantees of usefulness or correctness.

This allowed the current version of colony (downloaded 2019-05-21) to be installed with mpi for parallelization on Linux.

Installation instructions

  1. Download colony from https://www.zsl.org/science/software/colony

  2. Download mpich 3.2.1 source code here: https://www.mpich.org/downloads/

  3. Move the downloaded mpich source code compressed folder to your programs folder.

  4. Decompress, configure, and make the program:

tar -zxvf mpich-3.2.1.tar.gz
cd mpich-3.2.1
# make a directory within this folder for installation
mkdir mpi-install
./configure --prefix=/home/ben/Programs/mpich-3.2.1/mpi-install/ 
# Change the path to where you have saved your mpich folder
# If there is no prefix used, this will install into /usr/local/include

sudo make all install
  1. Update your bashrc Export LD library path by adding the following to your ~/.bashrc:
# Add the following to your $PATH variable in the ~/.bashrc
/home/ben/Programs/mpich-3.2.1/mpi-install/bin

# Add the following line to the bottom of your bashrc to give access to the libraries
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ben/Programs/mpich-3.2.1/mpi-install/lib
  1. Testing Test it out from the COLONY directory, with the test dataset: mpirun -np 8 ./colony2p.ifort.impi2015.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment