美文网首页
treemix 安装

treemix 安装

作者: 一直想要成为大牛的科研狗 | 来源:发表于2020-08-17 09:27 被阅读0次

先安装两个依赖软件boost(v>1.42)和gsl

boost安装

1.下载

wget -c https://www.boost.org/users/download/#repository
#下载最新的:
#boost_1_74_01.tar.gz
  1. 解压
tar -xzvf boost_1_74_01.tar.gz
  1. 编译和安装
#step 1
cd boost_1_74
#step 2
../bootstrap.sh –with-libraries=all –with-toolset=gcc 
#step3
./b2 install --prefix=/public/home/shiyan/0-software/boost_1_74_0

gsl安装

1.下载

wget -c http://ftp.club.cc.cmu.edu/pub/gnu/gsl/gsl-2.6.tar.gz

2.解压

tar -zxf gsl-2.6.tar.gz

3.编译与安装

./configure --prefix=/public/home/*/0-software/gsl
make
make install

4.添加环境变量

vi ~/.bashrc
#GSL
export PATH=$PATH:/public/home/*/0-software/bin
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/public/home/*/0-software/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/public/home/*/0-software/lib
export GSL_LD=/public/home/*/0-software/lib

最后让我们来安装treemix

1.下载与解压

wget -c https://bitbucket.org/nygcresearch/treemix/downloads/treemix-1.13.tar.gz
tar -zxf treemix-1.13.tar.gz

2.编译与安装

cd treemix-1.13
./configure --prefix=/public/home/shiyan/0-software/treemix-1.13 --with-boost=/public/home/shiyan/0-software/boost_1_74_0
make
make install

相关文章

网友评论

      本文标题:treemix 安装

      本文链接:https://www.haomeiwen.com/subject/gbpxjktx.html