Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing XHMM

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress the installation package:
    unzip statgen-xhmm-*.zip
  3. Run the following command to switch to the directory generated after decompression:
    cd statgen-xhmm-*
  4. Run the following command to edit the Makefile file:
    1. Open Makefile.
      vi Makefile
    2. Press i to enter the insert mode and modify line 89:
      Before the modification:
      LAPACK_LIBS=lapack
      After the modification:
      LAPACK_LIBS=openblas lapack
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Run the following commands to perform the compilation and installation:
    make -j 96
    mkdir /path/to/XHMM
    cp build/execs/xhmm params.txt /path/to/XHMM
  6. Run the following command to add the XHMM installation path to the PATH environment variable:
    export PATH=/path/to/XHMM:$PATH