<div dir="ltr"><div>What you are seeing is that piston has evolved since the we wrote the vtk module that interfaces to it. I think the same is true of thrust evolving since piston 0.4. So, in order to make it work without modifying the code, you will need to use older versions.</div><div><br></div><div>Instead of doing that, I recommend you look into vtk-m project instead. This is the successor to the since deprecated PISTON and DAX projects.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Fri, Dec 18, 2015 at 5:54 AM, Baker D.J. <span dir="ltr"><<a href="mailto:D.J.Baker@soton.ac.uk" target="_blank">D.J.Baker@soton.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am trying to integrate GPGPU support in paraview v4.4.0. With that in mind I have enabled “PARAVIEW_USE_PISTON” in the cmake configurator, and downloaded the Piston source code. The software that I’m using is…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Paraview 4.4.0<u></u><u></u></p>
<p class="MsoNormal">Piston 0.4<u></u><u></u></p>
<p class="MsoNormal">Cuda toolkit 7.5.18<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The make fails when compiling vtkPistonConverters.cu, and I cannot make any progress to resolve my issues. In addition to a load of warnings I see the following types of errors:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">piston/choose_container.h(42): error: namespace "thrust::detail" has no member "default_device_space_tag"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">VTK/Accelerators/Piston/vtkPistonConverters.cu(93): error: expected a type specifier (a couple)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">VTK/Accelerators/Piston/vtkPistonConverters.cu(36): error: too few arguments for class template "piston::vtk_image3d" (several times)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m not a C/C++ programmer and so this is a show stopper for me. I’ve tried downloading the current VTK source, however that does not help. Could anyone please advise on the source of these errors or alternatively advise which combination
 of paraview/piston/cuda give a working solution.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Best regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">David.<u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>