Skip to content

Add threads argument to the call of StreamingQueryDNADatabase.py.#42

Open
SamGallop-NBI wants to merge 1 commit intonlapier2:masterfrom
SamGallop-NBI:master
Open

Add threads argument to the call of StreamingQueryDNADatabase.py.#42
SamGallop-NBI wants to merge 1 commit intonlapier2:masterfrom
SamGallop-NBI:master

Conversation

@SamGallop-NBI
Copy link

Currently the call to StreamingQueryDNADatabase.py doesn't specify the threads argument. This results in CMash's StreamingQueryDNADatabase.py using the default of multiprocessing.cpu_count() which returns the number of CPUs in the system.

This can cause application performance and memory issues on batch systems (e.g. Slurm) which contain hosts with large core counts.

Add threads argument to the call of StreamingQueryDNADatabase.py.
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

Successfully merging this pull request may close these issues.

1 participant