安装treemix报错configure: error: could not find GSL BLAS怎么办?

报错:

在安装treemix的时候,报错了

configure: error: could not find GSL BLAS

解决方案

install GSL

wget http://mirrors.ustc.edu.cn/gnu/gsl/gsl-2.6.tar.gz
tar -zxvf gsl-2.6.tar.gz
cd gsl-2.6
mkdir -p /mnt/Data_disk/biosoft/gsl_2.6/
./configure --prefix=/mnt/Data_disk/biosoft/gsl_2.6
make
make check
make install
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/mnt/Data_disk/biosoft/gsl_2.6/include
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/mnt/Data_disk/biosoft/gsl_2.6/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH::/mnt/Data_disk/biosoft/gsl_2.6/lib
export LIBRARY_PATH=$LIBRARY_PATH::/mnt/Data_disk/biosoft/gsl_2.6/lib
cd /mnt/Data_disk/biosoft/gsl_2.6/
vim env.sh #paste env commands

install boost

sudo yum install boost
sudo yum install boost-devel
sudo yum install boost-doc

install treemix

wget https://bitbucket.org/nygcresearch/treemix/downloads/treemix-1.13.tar.gz
tar -zxvf treemix-1.13.tar.gz
cd treemix_1.13/
mkdir -p /mnt/Data_disk/biosoft/treemix_1.13
./configure --prefix=/mnt/Data_disk/biosoft/treemix_1.13
make
make install

ChangeLog:

  • 作者:石博士
  • 日期:20200917
  • 参考:
    • csdn
    • csdn boost

你可能感兴趣的:(安装treemix报错configure: error: could not find GSL BLAS怎么办?)