我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the main program installation directory.
    cd /path/to/qmcpack
  3. Decompress the installation package.
    tar xvf v3.14.0.tar.gz
  4. Go to the directory generated after the decompression.
    cd qmcpack-3.14.0
  5. Create a build directory and go to the directory.
    mkdir build
    cd build
  6. Perform the compilation and installation.
    cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/qmcpack -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx
    make -j
    make install