Compiling and Installing XHMM
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to decompress the installation package:
unzip statgen-xhmm-*.zip
- Run the following command to switch to the directory generated after decompression:
cd statgen-xhmm-*
- Run the following command to edit the Makefile file:
- Open Makefile.
vi Makefile
- Press i to enter the insert mode and modify line 89:Before the modification:
LAPACK_LIBS=lapack
After the modification:LAPACK_LIBS=openblas lapack
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open Makefile.
- 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
- Run the following command to add the XHMM installation path to the PATH environment variable:
export PATH=/path/to/XHMM:$PATH
Parent topic: XHMM Porting Guide (CentOS 7.6)