Getting and building QMCPACKSubversion checkout with command will create a directory qmcpack (topdir) which contains
Prerequisites
Optional but required to perform electronic structure calculations
Compilers (recommended by the developers)
Build with cmakeOnce the code is downloaded to qmcpack directory, cd qmcpack/buildcmake ..makeIf everything goes well, then you should see Theoretically speaking, QMCPACK can be used on any UNIX/LINUX machine with recent GNU C/C++ compilers. But, new users are likely to encounter many problems. Follow the instuctions in CMakeExplained. External librariesIn order to install QMCPACK, users have to install several required packages. These packages are included in standard Linux/cygwin distributions or can be downloaded by following the links. If these libraries are installed in standard directories, /usr /usr/local and /sw (Mac), no action is necessary. Alternatively, environment variables XYZ_HOME should be set. Here, XYZ stands for the name of package; the build utility can locate the libraries and use them. With few exceptions, the build utility cmake will look for XYZ_HOME/include for the header files and XYZ_HOME/lib for the library files. When multiple environment variables apply to a library, e.g., blas/lapack, the library is searched according to the listed order.
On many HPC centers, these packages are managed by utilities like module and softenv. Consult the documentations on each site. UtilitiesThese features are distributed with the source code but not enabled by default. Modify src/CMakeList.txt to build them.
SUBDIRS(SQD) SET(BUILD_QMCTOOLS 1 CACHE BOOL "Build tools for QMCPACK") |