本地 git init 後怎麼clone_進化樹構建太慢,怎麼辦
阿新 • • 發佈:2020-12-17
技術標籤:本地 git init 後怎麼clone
如何安裝PhyML
並行版
1. 安裝MPICH
1.1 下載原始碼
點我下載
1.2 編譯安裝
tar -zxf mpich.tar.gzcd mpich-3.3./configure --disable-fortran # 不需要編譯fortran程式makemake install #(需要root許可權)
1.3 mpirun
一般編譯完成之後,系統內已經存在mpirun
這個命令了。執行的方法是:
mpirun -np
+ 程序數目
+ 支援mpich的程式
例如:
mpirun -np 4
代表以4個程序執行某程式。
2. 安裝 PhyML
並行版
2.1 下載原始碼
git clone https://github.com/stephaneguindon/phyml.git
沒有安裝git
的話,可以去PhyML
的github地址
下載。
2.2 編譯安裝
# 解壓下載下來的檔案,並進入解壓後的資料夾autoreconf -i #(如果執行失敗,請以管理員使用者安裝autoconf:yum install autoconf)./configure --enable-mpi --enable-phymlmakemake install # 需要root許可權
2.3 phyml-mpi
編譯完成之後,系統內即有phyml-mpi
這個命令了。執行這個命令的方法請看phyml
phyml-mpi
這個命令與phyml
的不同是:
phyml-mpi
支援使用mpich
並行執行。
3. 並行執行phyml-mpi
3.1 公式
mpirun -np 4 phyml-mpi -i spl.phyi -b 100
3.2 說明
mpirun -np 4
後面跟的是原始的PhyML
命令,例如:
phyml-mpi -i spl.phyi -b 100
歡迎關注生信人