Question about the options.num_threads

156 views
Skip to first unread message

Yan Cui

unread,
Jul 25, 2022, 6:40:58 PM7/25/22
to Ceres Solver
Hi Ceres Team,

I have done some developments based on a new Ceres version (2.0), however, when I switch to run on an old version of Ceres (1.14 I believe), I see this warning quite a lot

"Neither OpenMP nor TBB support is compiled into this binary; only options.num_threads = 1 is supported. Switching to single thread node"

which I did not see in the new version when I set options.num_threads = 4. The environments are pretty much the same, and I would like to learn is this expected? i.e., does the new version already include those support and able to compute in parallel by default? 

Thank you very much,
Yan

Sameer Agarwal

unread,
Jul 25, 2022, 8:47:32 PM7/25/22
to ceres-...@googlegroups.com
The new version has threading using c++11 threads which is not available in old versions of Ceres.
Sameer 

--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/7f411f83-0e73-49e1-bc04-fd5861b72cdcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages