<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[blast_gpu]]></title><description><![CDATA[<p dir="auto">依赖软件:  cuda7.4  gcc4.8.2 g++4.8.2, make, perl</p>
<h3>1. 编译blast</h3>
<pre><code>wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.2.28/ncbi-blast-2.2.28+-src.tar.gz
tar -xvzf ncbi-blast-2.2.28+-src.tar.gz
cd ncbi-blast-2.2.28+-src/c++
./configure --without-debug --with-mt --without-boost  --with-optimization
make
</code></pre>
<p dir="auto">注意：--without-debug 非debug模式 --with-mt 多线程</p>
<h3>2. 编译gpu_blast</h3>
<pre><code>wget http://thales.cheme.cmu.edu/gpublast/gpu-blast-1.1_ncbi-blast-2.2.28.tar.gz
tar -xzf gpu-blast-1.1_ncbi-blast-2.2.28.tar.gz
ls
gpu_blast  install  ncbi-blast-2.2.28+-src  README
sudo sh ./install
Do you want to install GPU-BLAST on an existing installation of "blastp" [yes/no]
yes: you will be asked for the installation directory of the "blastp" executable
no: will download and install "ncbi-blast-2.2.28+-src"
yes
Please input the installation directory of "blastp" of "ncbi-blast-2.2.28+-src"
/home/ploskas/blast/ncbi-blast-2.2.28+-src/c++/GCC482-Debug64/bin/
</code></pre>
<h3>3. 构建数据库</h3>
<pre><code>/cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-Debug64/bin/makeblastdb -in mitofish_v3.88.fa -dbtype nucl -out test
/cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-Debug64/bin/blastn -query t1.fa -db test -out my_results.out -outfmt 6 -num_threads 4
</code></pre>
<h3>4. 运行测试</h3>
<pre><code>time /cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-ReleaseMT64/bin/blastp -query /cephfs_data/app/blast_gpu/database/test.fa -db /cephfs_data/app/blast_gpu/database/nr -gpu t -num_threads 30
</code></pre>
]]></description><link>http://an.forum.genostack.com/topic/1092/blast_gpu</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 12:35:41 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/1092.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Sep 2024 03:40:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to blast_gpu on Fri, 27 Sep 2024 06:44:08 GMT]]></title><description><![CDATA[<p dir="auto">测试</p>
<h3>gpu</h3>
<pre><code>time /cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-ReleaseMT64/bin/blastp -query /cephfs_data/app/blast_gpu/database/test2.fa -db /cephfs_data/app/blast_gpu/database/nr -gpu t -num_threads 30

real	13m42.160s
user	38m52.082s
sys	0m13.170s
</code></pre>
<h3>cpu</h3>
<p dir="auto">time /cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-ReleaseMT64/bin/blastp -query /cephfs_data/app/blast_gpu/database/test2.fa -db /cephfs_data/app/blast_gpu/database/nr -gpu f -num_threads 30</p>
<p dir="auto">real	23m23.076s<br />
user	695m50.953s<br />
sys	1m35.377s</p>
]]></description><link>http://an.forum.genostack.com/post/2726</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2726</guid><dc:creator><![CDATA[zhanglu]]></dc:creator><pubDate>Fri, 27 Sep 2024 06:44:08 GMT</pubDate></item><item><title><![CDATA[Reply to blast_gpu on Fri, 27 Sep 2024 06:33:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://an.forum.genostack.com/uid/4">@zhanglu</a> 编译GPU_BLAST时，</p>
<p dir="auto">/cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-ReleaseMT64/build/Makefile.mk<br />
修改<br />
CONF_LIBS     = -lm  -lgpublast -lcudart<br />
添加  -pthread<br />
CONF_LIBS     = -lm  -lgpublast -lcudart -pthread</p>
]]></description><link>http://an.forum.genostack.com/post/2725</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2725</guid><dc:creator><![CDATA[zhanglu]]></dc:creator><pubDate>Fri, 27 Sep 2024 06:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to blast_gpu on Fri, 27 Sep 2024 06:16:23 GMT]]></title><description><![CDATA[<p dir="auto">测试记录</p>
<h3>gpu</h3>
<pre><code>time /cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-ReleaseMT64/bin/blastp -query /cephfs_data/app/blast_gpu/database/test.fa -db /cephfs_data/app/blast_gpu/database/nr -gpu t -num_threads 30
</code></pre>
<pre><code>real	24m43.524s
user	65m41.063s
sys	0m17.254s
</code></pre>
<h3>cpu</h3>
<pre><code>time /cephfs_data/app/blast_gpu/ncbi-blast-2.2.28+-src/c++/GCC480-ReleaseMT64/bin/blastp -query /cephfs_data/app/blast_gpu/database/test.fa -db /cephfs_data/app/blast_gpu/database/nr -gpu f -num_threads 30
</code></pre>
<pre><code>real	181m37.406s
user	5399m40.966s
sys	6m51.770s
</code></pre>
]]></description><link>http://an.forum.genostack.com/post/2724</link><guid isPermaLink="true">http://an.forum.genostack.com/post/2724</guid><dc:creator><![CDATA[zhanglu]]></dc:creator><pubDate>Fri, 27 Sep 2024 06:16:23 GMT</pubDate></item></channel></rss>