IMP  2.4.0
The Integrative Modeling Platform
Installation

Table of Contents

Building and installing basics

IMP is available in a variety of different ways. If you are just planning on using existing IMP code and run on a standard platform, you may be able to install a pre-built binary. See the download page.

If you are planning on contributing to IMP, you should download and build the source. See the next section for more information.

Building IMP from source is straightforward if the prerequisites are already installed.

git clone git://github.com/salilab/imp.git
cd imp
./setup_git.py
mkdir ../imp_release
cd ../imp_release
cmake ../imp -DCMAKE_BUILD_TYPE=Release
make -j 8

See Building IMP with CMake for more information.

Prerequisites

In order to obtain and compile IMP, you will need:

Getting prerequisites on a Mac

Mac users must first install Xcode (previously known as Developer Tools) which is not installed by default with OS X, but is available from the App store (or from the Mac OS install DVD for old versions of Mac OS). They will also need the Xcode command line tools (install by going to Xcode Preferences, then Downloads, then Components, and select "Command Line Tools").

Then Mac users should use one of the available collections of Unix tools, either

Mac OS X 10.5 and 10.6

These versions of Mac OS X include a 'swig' binary, but it is too old to use with IMP. You need to make sure that the newer version of swig is found first in your PATH.

Getting prerequisites on Windows

We recommend Linux or Mac for developing with IMP, as obtaining the prerequisites on Windows is much more involved. However, we do test IMP on Windows, built with the Microsoft Visual Studio compilers (we use Visual Studio Express 2010 SP1 for 32-bit Windows, and VS Express 2012 for 64-bit). One complication is that different packages are compiled with different versions of Visual Studio, and mixing the different runtimes (msvc*.dll) can cause odd behavior; therefore, we recommend building most of the dependencies from source code using the same version of Visual Studio that you're going to use to build IMP. The basic procedure is as follows:

Getting prerequisites on Linux

All of the prerequisites should be available as pre-built packages for your Linux distribution of choice.

Optional prerequisites

IMP can make use of a variety of external tools to provide more or better functionality.

Where to go next

You are now ready to use IMP within Python and C++.

Everyone should read the introduction and developers should then move on to the Developer Guide.