Compiling and Installing LDBlockShow
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install the base dependency:
yum install zlib perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
- Run the following commands to configure the compilers:
export CC=`which gcc` export CXX=`which g++` export FC=`which gfortran`
- Run the following commands to install SVG:
tar -xzf SVG-2.85.tar.gz cd SVG-2.85 perl Makefile.PL make make install
- Run the following commands to install LDBlockShow:
tar -zxvf v1.36.tar.gz cd LDBlockShow-1.36 chmod +x configure ./configure make cp LDBlockShow ./bin/ cp: overwrite './bin/LDBlockShow'? y
- Run the following commands to install PLINK:
yum install blas-devel lapack-devel atlas-devel perl-Digest-SHA -y ln -s /usr/lib64/atlas/libtatlas.so.3.10 /usr/lib64/atlas/libatlas.so ln -s /usr/lib64/atlas/libsatlas.so.3.10 /usr/lib64/atlas/libcblas.so tar -zxf master.tar.gz mv zlib-1.2.11.tar.gz plink-ng-master cd plink-ng-master/1.9 && sed -i '0,/curl/s/curl/# curl/g' plink_first_compile ./plink_first_compile cp plink /path/to/LDBLOCKSHOW/LDBlockShow-1.36/bin/ cp: overwrite '/path/to/LDBLOCKSHOW/LDBlockShow-1.36/bin/plink'? y
Parent topic: LDBlockshow 1.36 Porting Guide (CentOS 7.6)