mpiBlast安装详解以及使用说明
2011-09-07 15:57
363 查看
Gettingmpiblast
现在下载包文件:
wget'target='_blank'>http://www.mpiblast.org/downloads/files/mpiBLAST-1.6.0-pio.tgz[/code] 解压包文件:tarxvzfmpiBLAST*.tgz然后下载ncbi:wget[code][mpiBLAST]'target='_blank'>ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/20061015/ncbi.tar.gz[/code]
解压包tarxvzfncbi.tar.gzBuildingmpiblast
将ncbi文件move:mvncbimpiblast/ncbi/make/前进至mpiblast目录:cdmpiblast./ncbi/make/makedis.csh(Note:IfyoureceiveanerroraboutCSH,youdon'thavetheCshellinstalled,butthat'seasytofixwithapt-getinstallcsh.)Theabovecommand(makedis.csh)needstoberunthreetimes.Thefirsttimeyourun,itwillfinishwithanerror:make:***Noruletomaketarget`ncbimain.o',neededby`libncbi.a'.Stop.FatalerrorbuildingNCBIcorelibraries.
PleasebesurethatyouhaveX11andMotiflibrariesinstalled.
TheNCBItoolkitFAQatftp://ftp.ncbi.nih.gov/toolbox/FAQ.htmlmaybehelpful.
Runthesamecommandagain,./ncbi/make/makedis.csh
eventhoughitfinishedwithanerror.Thistime,itwilltakequiteabitlonger,anditwillfinishwithadifferenterror:make:***Noruletomaketarget`ni_debug.o',neededby`libnetcli.a'.Stop.
FAILUREprimarymakestatus=0,demo=0,threaded_demo=0,net=2
#######
####################
#########
#############
##################
#########
#################
Run./ncbi/make/makedis.csh
onelasttime,anditshouldfinishsuccessfully:Putthedatestamptothefile../VERSION
*********************************************************
*Thenewbinariesarelocatedin./ncbi/build/directory*
*********************************************************
Thenit'ssafetocontinueontobuildingmpiblastitself.安装mpiblast(安装在/usr/bin):./configure--prefix=/usr/--with-ncbi=`pwd`/ncbi--host=x86_64makemakeinstall检查是否安装成功:whichmpiblast更新一下:updatedblocatempiblast|grep-vsrc[code]进入当前用户的home路径(如果是一root进入,则进入/root,否则进入home)编辑.ncbirc:
Shared=/usr/bin/mpiblast
Local=/usr/bin/mpiblast
GettingDatabases:
wget'target='_blank'>ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/drosoph.nt.gz[/code]Thenyou'llneedtountarorjustungzipthem.Iftheyendin .tg.gz,usetotartountarthefile:tarxvzfyourfile.tg.gz
Iftheyjustendin.gz,they'reonlygzipped,sounzipthemwithgunzipyourfile.gz
安装1)下载openmpi2)tar-xzvfopenmpi-1.4.3.tar.gz3)cdopenmpi-1.4.34)./configure--prefix=/usr/|tee../install.log5)makeall|tee../make.log6)makeinstall|tee../install2.log配置环境7)vi/etc/ld.so.conf最后增加一行/usr/bin保存退出8)/sbin/ldconfig回车等待。9)vi/etc/profile,最后增加一行:PATH=${PATH}:/usr//bin保存退出10)执行./etc/profile测试10)cdexamples11)make12)mpirun-np4./hello_f90可以得到类似ppt中的输出mpi多机时,需要有machines文件。文件内容如下:tp11/home/pact/mpich/examples/basic/cpitp21/home/pact/mpich/examples/basic/cpitp31/home/pact/mpich/examples/basic/cpi分别表示机器名/ip,进程个数,进程名(进程名可以没有);当使用机器名时,则需要架设DNS服务器。mpirun-machinefile./machine.linux-np4./hello_f90OK:使者运行一下:mpiformatdb-idrosoph.nt--nfrags=4-pF-ispecifiesmyinputfile,drosoph.nt--nfrags=4tellsittomakefourfragments-pspecifieswhetherthefileisaproteinfileornot.IputFforfalse,sincethisisanucleotidefile,notanaminoacidfile.Mpiblastwillberunjustusingmpirunormpiexec,butthereareafewimportantcommandlinearguments.Theseinclude-d-thedatabasetobequeriedagainst-i-theinputfile-p-thetypeofblastquerytorun,includingblastnfornucleotidesblastpforproteins-o-thenameofthefiletosavetheoutputinThecommandruninitscompletestateshouldlooksomethinglikethis:mpiexec-np4/shared/bin/mpiblast-ddrosoph.nt-itest.in-pblastn-oresults.txt
Ofcourse,ifyou'reusingthe
versionofmpiexecwithTorquefunctionality,you'llneedtowrapthisina
qsubscript.Whenit'sfinishedrunning,youshouldhaveanewresults.txtfilethatlookssomethinglikethis:
相关文章推荐
- MongoDB安装说明以及MongoVUE使用
- Hi3520D SDK 安装以及升级使用说明
- UMLet安装以及使用说明
- cocoapods安装以及使用(图文详解)
- statspack安装使用 和 report 分析以及参数说明
- Advanced REST client的使用说明以及安装
- JAVAWEB开发之数据库简介、MySQL的安装与卸载(处理中文乱码)、以及MySQL语言(DDL、DML、DCL、DQL)的详解和使用
- Linux中软件包的安装yum的使用,以及用find查找使用详解!
- mysql之编译安装mysql,以及mysql mysqladmin工具的使用说明。
- SVN软件安装以及使用说明
- Hadoop详解(七)——Hive的原理和安装配置和UDF,flume的安装和配置以及简单使用,flume+hive+Hadoop进行日志处理
- Hi3520D SDK 安装以及升级使用说明
- 3.3、Dcoker-1.12 Dockerfile,镜像制作详解以及使用说明
- charles抓包的安装,使用说明以及常见问题解决(windows)
- Memcached常用命令以及使用说明详解
- 关于pip的安装,更新,卸载模块以及使用方法(详解)
- php xdebug的编译安装详解以及配置说明
- Windows下VTK6.0.0安装详解(CMake使用说明)
- Kafka的安装和使用以及配置文件的说明