It is probably not compiled with pthreads support - but that is hard to tell without further investigation. However, consider using Uclust or CD-HIT instead.
Yes. blastall -a 7 -p blastp -i ~/myseq.fasta -d ./uniprot/2011_04/all.fasta got only up to 130% CPU on the first run. And 700% on the second identical run.
From a little experimentation I can tell you that 'blastclust' is multi-threaded, but only when it come to the cluster generation part. The initial preparation, i.e. before the "Start clustering of NNNN queries" message is single threaded.
You can check that the process is using threads by using 'ps', from the man page:
To get info about threads:
ps -eLf
ps axms
Which for a sample case, clustering PDB proteins using four threads, shows the expected number of threads:
This is on Ubuntu 10.04 LTS, which uses the Debian supplied NCBI BLAST 2.2.21 which you mention. So I'm guessing that you were unlucky enough to be looking at the wrong moment, when it appears to be single threaded.
ADD COMMENT
• link
updated 5.0 years ago by
Ram
44k
•
written 12.8 years ago by
Hamish
★
3.3k
It is probably not compiled with pthreads support - but that is hard to tell without further investigation. However, consider using Uclust or CD-HIT instead.
Do the -a switch work for regular blast?
Yes.
blastall -a 7 -p blastp -i ~/myseq.fasta -d ./uniprot/2011_04/all.fasta
got only up to 130% CPU on the first run. And 700% on the second identical run.Did you manage to resolve this problem?
No. Looks like not a lot of people liked this question. An nobody even tried a simple repro.