broadinstitute / tensorqtl

Ultrafast GPU-enabled QTL mapper
BSD 3-Clause "New" or "Revised" License
162 stars 52 forks source link

Limit the number of multi-threading #91

Closed anglixue closed 3 months ago

anglixue commented 1 year ago

Hi François,

I wonder if there is any flag to limit the number of multi-thread computing in the main script like cis.map_cis()?

It seems currently it has no cap on that and the software will use all the available subprocessors.

Thanks very much for your help!

Cheers, Angli

francois-a commented 1 year ago

Hi, at what point during execution do you see this, and how many cores are being used? The genotype loader will use up to 6 threads by default (currently hard-coded, but I can make this an option).