Go to file
Amy Young bcb68329cc Can Amy do this a fourth time?
git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@3984 e5b18d87-469d-4833-9cc0-8cdfa06e9491
2009-07-22 22:41:05 +00:00
.settings Update for cmake/eclipse integration. 2008-02-23 15:59:25 +00:00
CMake Import latex module for documentations. 2009-06-11 22:07:12 +00:00
boost Update boost build. 2009-05-21 19:10:19 +00:00
config Adding config for perovskite machine at CIW. 2009-04-28 19:00:09 +00:00
docs Testing for Amy 2009-07-22 22:35:55 +00:00
examples/solids/cBN Adding new examples directory. 2009-07-10 22:39:31 +00:00
m4 New timers appear to be working. 2008-04-11 03:04:10 +00:00
schema Documentation. 2007-06-06 16:51:20 +00:00
src grad_lapl works for eeI_JastrowOrbital. 2009-07-15 19:19:48 +00:00
utils Generalized Energy.py. 2009-04-24 05:44:44 +00:00
.cdtproject Eclipse environments. 2007-04-29 18:13:05 +00:00
.cproject A new file generated by eclipse. 2008-02-23 16:01:14 +00:00
.project Update for eclipse/cmake integration. 2008-02-23 16:00:36 +00:00
CMakeLists.txt Hello. 2009-07-22 21:41:30 +00:00
LICENSE Change qmcplusplus to qmcpack. 2006-11-23 23:27:22 +00:00
Makefile.am automake/autoconf updates. 2005-11-17 19:04:01 +00:00
Makefile.in Update autoconf/automake stuff. 2005-11-17 21:12:54 +00:00
README Can Amy do this a fourth time? 2009-07-22 22:41:05 +00:00
aclocal.m4 New timers appear to be working. 2008-04-11 03:04:10 +00:00
bootstrap automake/autoconf updates. 2005-11-17 19:04:01 +00:00
build.sh bash script to build. 2007-05-15 19:47:43 +00:00
configure New timers appear to be working. 2008-04-11 03:04:10 +00:00
configure.ac Adding new configure.ac file. 2008-04-23 20:56:06 +00:00
configure.in Change due to moving config to m4. 2007-01-04 21:36:46 +00:00

README

h1. Getting and building QMCPACK
[testing]

h2. Prerequisite 

* C/C++ compilers
* cmake, build utility, http://www.cmake.org
* blas/lapack, numerical library, use platform-optimized libraries
* libxml2, XML parser, http://xmlsoft.org/ 
* hdf5, portable I/O library, http://www.hdfgroup.org/HDF5/
* boost, peer-reviewed portable C++ source libraries, http://www.boost.org
* einspline, 3D bspline library, http://einspline.sourceforge.net/
* fftw, FFT library, http://www.fftw.org/

h2. Building with environment variables

This method works with GNU, Intel, and IBM XLC compilers. When the libraries
are installed in standard locations, e.g., /usr, /usr/local, there is no need
to set the XYZ_HOME for XYZ package.

* Set the environments (the examples below assume bash, Intel compilers and MKL library)

  export CXX=icpc
  export CC=icc
  export MKL_HOME=/usr/local/intel/mkl/10.0.3.020
  export LIBXML2_HOME=/usr/local
  export HDF5_HOME=/usr/local
  export BOOST_HOME=/usr/local/boost
  export EINSPLINE_HOME=/usr/local/einspline
  export FFTW_HOME=/usr/local/fftw

* Move to build directory, run cmake and make

  cd build
  cmake ..
  make

h2. Building with a toolchain file

Several toolchain files used by the developers are available in config
directory.  They are used on large-scale parallel machines where setting up all
the neccesary packages can be tricky. 

* AbeMvapich2.cmake for Abe cluster at NCSA
* JaguarGNU.cmake for CrayXT systems at ORNL
* KrakenGNU.cmake for CrayXT5 system at NICS

Once a sutiable toolchain file is found, follow these step (example on abe.ncsa.uiuc.edu):
* cd build
* cmake -DCMAKE_TOOLCHAIN_FILE=../config/AbeMvapich2.cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
* cmake -DCMAKE_TOOLCHAIN_FILE=../config/AbeMvapich2.cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
* make

For more informaton, consult QMCPACK wiki at http://www.mcc.uiuc.edu/qmcpack