Micro and Nano Mechanics Group
Revision as of 09:41, 30 August 2011 by Caiwei (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In this document, we describe how to compile pimc++ program on su-ahpcrc.stanford.edu (Linux parallel cluster) and other systems.

The style of this wiki follows that of How to compile Qbox, so that you could in principle copy and paste the code part in your terminal. Custom files are linked from this wiki and can be downloaded from the command line with 'wget'.

General Remarks

Based on the pimc++ installation page we will give some additional details. Before installing pimc++, we need to first build and install the dependence libraries. In particular

  1. blitz++: http://www.oonumerics.org/blitz/download/
  2. sprng-2.0: http://esler.physics.uiuc.edu/downloads/sprng-2.0.tar.gz
  3. hdf5: http://hdf.ncsa.uiuc.edu/HDF5/release/obtain5.html
  4. fftw3: http://www.fftw.org/download.html
  5. gsl: http://directory.fsf.org/GNUsl.html

these libraries will have to be installed in your user space directory. To achieve this I use to create a directory called ~/usr where libraries and header files will stay:

 mkdir -p $HOME/usr

I also use to download software packages to ~/soft. All these are consistent with the wiki page How to compile Qbox.

 mkdir $HOME/soft

This document does not cover the usage of pimc++ but just the compilation, a manual of pimc++ is provided in the pimc++ main page.