[vtkusers] how can I use vtkSMPTools

Sujin Philip sujin.philip at kitware.com
Tue Aug 15 09:52:19 EDT 2017


Hi Jie,

Can you tell me how you are verifying that only one thread is being used? I
would also recommend that you switch to the TBB backend for SMP
(VTK_SMP_IMPLEMENTATION_TYPE=tbb) as openmp support on the vc2015 compiler
is poor. You can download Intel TBB from:
https://www.threadingbuildingblocks.org/download#stable-releases.

Thanks
Sujin


On Mon, Aug 14, 2017 at 10:57 PM, yujie_job at 163.com <yujie_job at 163.com>
wrote:

> Dear all,
>
> I am trying to parallelize my code with vtkSMPTools. my vtk version is v8.0
> and compiled with vs 2015.
> I set VTK_SMP_IMPLEMENTATION_TYPE=openmp.
>
> but when i the the test code in testSMP.cxx, I am quite sure that only one
> thread used. my computer has 4 cores with 8 threads. I do not know what
> happends? should i install openmp to use vtkSMPTools? I wish someone will
> give me some help!
>
> best wishes,
>
> Jie
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/how-can-I-use-vtkSMPTools-tp5744404.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170815/518dda65/attachment.html>


More information about the vtkusers mailing list