gubbins icon indicating copy to clipboard operation
gubbins copied to clipboard

FastTree doesn't honour --num_threads due to OpenMP vars

Open tseemann opened this issue 8 years ago • 2 comments

FastTree uses OpenMP and respects the $OMP_NUM_THREADS variable.

Can you override that variable if the user specifies --num_threads ?

It should still respect the overall $OMP_THREAD_LIMIT variable.

tseemann avatar Sep 08 '15 04:09 tseemann

I would add that if the build command at http://www.microbesonline.org/fasttree/#Install is followed, the MP-enabled FastTree executable is FastTreeMP, and the non-MP executable is FastTree. Those are the names I have given the executables in our site module.

douglasgscofield avatar Nov 17 '15 20:11 douglasgscofield

To control this in Nullarbor I just run it as env OMP_NUM_THREADS=$threads FastTree ...

tseemann avatar Nov 20 '15 08:11 tseemann

Gubbins should now use the MP-enabled version by default in bf3bd21.

nickjcroucher avatar Nov 30 '23 13:11 nickjcroucher