Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Anvi-cluster-contigs with concoct hangs due to OpenBLAS warning #2080

Closed
cedwardson4 opened this issue May 18, 2023 · 1 comment
Closed

Comments

@cedwardson4
Copy link

Short description of the problem

Running anvi-cluster-contigs with --driver CONCOCT and multiple threads (-T 6) causes anvi to hang

anvi'o version

Anvi'o .......................................: hope (v7.1)

Profile database .............................: 38
Contigs database .............................: 20
Pan database .................................: 15
Genome data storage ..........................: 7
Auxiliary data storage .......................: 2
Structure database ...........................: 2
Metabolic modules database ...................: 2
tRNA-seq database ............................: 2

System info

Ubuntu 20.04 LTS
Conda env installation

Detailed description of the issue

Running anvi-cluster-contigs with --driver CONCOCT and multiple threads (-T 6) causes anvi to hang. Inspected the logs in the temp file:
log.txt:
2023-05-17 16:56:22,259:INFO:root:Results created at /tmp/tmppb7mfijw
2023-05-17 16:59:46,422:INFO:root:Successfully loaded composition data.
2023-05-17 16:59:46,898:INFO:root:Successfully loaded coverage data.
2023-05-17 16:59:50,235:INFO:root:Performed PCA, resulted in 58 dimensions
2023-05-17 17:00:41,951:INFO:root:Wrote original filtered data file.
2023-05-17 17:01:03,328:INFO:root:Wrote PCA transformed file.
2023-05-17 17:01:03,332:INFO:root:Wrote PCA components file.
2023-05-17 17:01:03,332:INFO:root:PCA transformed data.
2023-05-17 17:01:03,332:INFO:root:Will call vbgmm with parameters: /tmp/tmppb7mfijw/, 400, 1000, 6, 500

head logs.txt:

DATE: 17 May 23 16:56:21

CMD LINE: concoct --coverage_file /tmp/tmppb7mfijw/contig_coverages.txt --composition_file /tmp/tmppb7mfijw/sequence_contigs.fa --basename /tmp/tmppb7mfijw --threads 6

Setting 6 OMP threads
Generate input data
OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option.
...
final line just keeps getting written to logs.txt and nothing is happening after this.

@meren
Copy link
Member

meren commented May 18, 2023

Dear @cedwardson4, this is pretty annoying, but there is nothing we can do for it from the anvi'o side :/ It seems you (or the sys admin) need to recompile OpenBLAST with OpenMP support. Anvi'o only uses the existing CONCOCT in the system.

@meren meren closed this as completed May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants