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

Why is concoct using all available threads instead of the mentioned number? #330

Open
anw-sh opened this issue Oct 5, 2023 · 0 comments

Comments

@anw-sh
Copy link

anw-sh commented Oct 5, 2023

Hi all,

I installed concoct with conda and faced the OpenBLAS problem.
Reinstalled it using these instructions.
Then there was TypeError: Feature names are... error.
Rectified it by installing scikit-learn 1.1.0 as per this post.
It worked. I am able to use multiple threads. However, even though I gave -t 24 it started using all the available threads. Where am I doing wrong...?

Command used...

concoct --composition_file MN108/contigs_10K.fa --coverage_file MN108/coverage_table.tsv -b MN108/sub_contigs/ -t 24

Initial output in the terminal...

Up and running. Check /data/cmi_admin/anwesh/SG_Meta/CInd_Gut/concoct_out/MN108/sub_contigs/log.txt for progress
/apps/codes/mambaforge/envs/concoct/lib/python3.8/site-packages/sklearn/utils/validation.py:1854: FutureWarning: Feature names only support names that are all strings. Got feature names with dtypes: ['int', 'str']. An error will be raised in 1.2.
  warnings.warn(
/apps/codes/mambaforge/envs/concoct/lib/python3.8/site-packages/sklearn/utils/validation.py:1854: FutureWarning: Feature names only support names that are all strings. Got feature names with dtypes: ['int', 'str']. An error will be raised in 1.2.
  warnings.warn(
83062 2596 24
Setting 24 OMP threads
Generate input data
0,-3355428.135938,64970.038361

Actual CPU usage...
Screenshot from 2023-10-05 18-22-27

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

1 participant