-
Notifications
You must be signed in to change notification settings - Fork 55
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
Unable to Limit the Number of Cores When Using -- workers
with -m ANIb
#448
Comments
Can you check how many On my copy of $ blastn -help
...
DESCRIPTION
Nucleotide-Nucleotide BLAST 2.16.0+
...
*** Miscellaneous options
-parse_deflines
Should the query and subject defline(s) be parsed?
-num_threads <Integer, >=1>
Number of threads (CPUs) to use in the BLAST search
Default = `1'
* Incompatible with: remote
... |
When executing I am running the same version of
In the
It seems like the |
Here is where pyANI v0.2.13.1 builds the https://github.com/widdowquinn/pyani/blob/v0.2.13.1/pyani/anib.py#L465
There is no However, getting multiple |
Can you please try writing a log file and/or using the The ANIb code should be using the and ought to give a distinct log message depending on whether it receives a valid That will help us narrow down the issue. |
The |
I have attached a .log file I generated using the following command: I am unable to locate the distinct log message you mentioned in my file however, I notice |
I am encountering a problem similar to the one described here. Specifically, when running
-m ANIb
and specifying--workers
, the program still utilizes the maximum number of cores available. My goal is to limit the number of cores used byANIb
.System Information:
pyani
v0.2.13.1python
v3.8.20When executing the following command, all 40 cores on our cluster are utilized, even though I specify
--workers 1
.average_nucleotide_identity.py -i input_dir -o output_dir -m ANIb --workers 1
Despite setting
--workers 1
the program uses all 40 cores. This same behavior occurs when setting--workers
to any other numbers as well.The text was updated successfully, but these errors were encountered: