Closed bananabenana closed 1 year ago
I am facing the same problem. Only thread 0 printed in log file.
I am facing the same problem. Only thread 0 printed in log file.
Hi, Please don't judge the parallel processing from output log. If you see the code, I am only printing the messages from thread 0 to track progress. The reason was that the output log would become difficult to understand if each thread is allowed to print concurrently.
To check if parallel processing is happening, you can do so by checking CPU usage while running FastANI. Commands like top
and htop
can help you monitor CPU % being used by each task.
Okay makes sense. Thanks!
Hi,
First off, FastANI is amazing and a significant contribution. I am having an issue with FastANI when supplied with say, 12 threads not utilising them?
thread 0
is the printed log at every line, does this mean only a single thread is being used?For background, I am analysing a split reference of 5 genomes (total 6.6k) and a query of 6.6k genomes. My computational nodes have 48 threads so I know parallel processing is possible on my end as I use this for other tasks.
Command:
Log:
Thanks