Multipole Logo Multipole Sprite
Unix
Mac OS X
Windows
Unix
Windows

Computation Simulation of Multi-Body Interactions Source Install

It's possible the Multipole Toolkit is already installed on your computer. Type

  Multipole-config --version

If the Multipole-config script executes and returns a version number, you may not need to install the Multipole Toolkit from source unless you want to upgrade to a newer version. You also have the option of installing a pre-compiled binary release. However, if you still want to install from source, choose a platform, Unix or Windows. Before installing from source, you may want to review recent changes to the the Multipole Toolkit distribution.

Install from Unix Source

The Multipole Toolkit builds on a variety of Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Unix systems have one. Download Multipole.tar.gz from ftp.multipole.org or a mirror and verify its message digest.

Unpack the distribution with this command:

  tar xvfz Multipole.tar.gz

Next configure and compile the Multipole Toolkit:

  cd Multipole-1.?.?
  ./configure
  make

If the Multipole Toolkit configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type

  make install

Finally, verify the the Multipole Toolkit install worked properly, type

  Multipole-config --version

Congratulations, you have a working Multipole Toolkit distribution and you are ready to use the Multipole Toolkit to use the Application Program Interfaces for C.

Install from Windows Source

Building the Multipole Toolkit source for Windows requires a modern version of Microsoft Visual Studio IDE. Users have reported success with the Borland C++ compiler as well. If you don't have a compiler you can still install a self-installing binary release.

Download Multipole.zip from ftp.multipole.org or a mirror and verify its message digest. You can unpack the distribution with WinZip or type the following from any MS-DOS Command Prompt window:

  unzip Multipole.zip

The Multipole Toolkit requires BZip2 for Windows and ZLib for Windows. Be sure to install the development headers along with the DLL's. Edit zconf.h and exclude the unistd.h include statement since this file is not available under Windows.

Next, launch your Visual Studio IDE and choose Open->Project. Select the workspace from the Multipole-1.?.?/windows folder and press Open. Choose Build->Build Solution to compile the program and on completion run the program.

Congratulations, you have a working Multipole Toolkit distribution under Windows and you are ready to use the Multipole Toolkit Application Program Interfaces for C.