Go to file
Jaron Krogel 5d80632aa3 nexus: fix obsolete call to add_attributes
git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@6621 e5b18d87-469d-4833-9cc0-8cdfa06e9491
2015-11-23 22:11:00 +00:00
CMake fixed CMake/IntelCompilers.cmake for setting proper macros based on CPU flags. 2015-10-04 22:37:56 +00:00
config correct the toolchain file. 2015-10-18 18:17:53 +00:00
docs Note on Yosemite and Accelerate framework instead of Veclib 2014-11-06 12:55:23 +00:00
examples Partial move of tests: 2015-08-17 19:51:53 +00:00
external_codes/quantum_espresso Autodownload and patch script for QE 5.2.1 and pw2qmcpack. Minor update due to changed calls to ESM code in read_file_lite (unused but needed to link). 2015-10-12 21:16:10 +00:00
manual git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@6617 e5b18d87-469d-4833-9cc0-8cdfa06e9491 2015-11-11 19:44:21 +00:00
nexus nexus: fix obsolete call to add_attributes 2015-11-23 22:11:00 +00:00
schema XML renderin of ESHDF format. 2011-05-02 21:14:36 +00:00
src significantly reduced the memory usage of 3B-Jastrow by replacing two mapping tables with function calls. 2015-11-14 06:16:19 +00:00
tests Partial testing update. Adds bccH, diamondC 2 & 4, hcp Be, monoclinic O VMC total energy checks with jastrows. 2015-09-08 22:23:58 +00:00
utils added TotalSamples to check_scalars 2015-09-15 16:11:53 +00:00
CMakeLists.txt fixed CMake/IntelCompilers.cmake for setting proper macros based on CPU flags. 2015-10-04 22:37:56 +00:00
LICENSE Change qmcplusplus to qmcpack. 2006-11-23 23:27:22 +00:00
README URL fixes 2014-10-28 22:05:22 +00:00
build.sh bash script to build. 2007-05-15 19:47:43 +00:00
configure URL fix 2014-10-28 22:02:09 +00:00
qmcpack.settings Create bin/qmcpack.settings to record the build settings, e.g., compiler flags, system info etc. 2013-12-17 20:00:01 +00:00

README

h1. Getting and building QMCPACK
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.

See http://docs.qmcpack.org for build examples on Linux, Mac OS X etc.

* 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 pages at http://www.qmcpack.org and http://docs.qmcpack.org