<div dir="ltr">Hi Sumin,<div><br></div><div>What exact version of ParaView are you building? I have been unable to reproduce this issue with git master.</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 3, 2018 at 10:41 AM Robert Maynard <<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The "caught ErrorBadDevice: Device with id 2 is either not in the list<br>
or is invalid."  is thrown from VTK-m when somebody has asked to<br>
execute on the CUDA device adapter ( with id == 2 ) and components of<br>
VTK-m have been built without CUDA enabled. The device id has nothing<br>
to do with which specific GPU VTK-m will use.<br>
<br>
As for where this mismatch in compiling with CUDA support is<br>
occurring, somebody from the VTK-m team will look into it.<br>
On Tue, Jul 3, 2018 at 7:12 AM Sumin Hong <<a href="mailto:sumin246@gmail.com" target="_blank">sumin246@gmail.com</a>> wrote:<br>
><br>
> Dears users,<br>
><br>
><br>
> I would like to use the CUDA accelerated vtkm filter in ParaView. However, according to the release notes, binary versions do not seem to support CUDA acceleration properly. (<a href="https://www.paraview.org/Wiki/ParaView_Release_Notes" rel="noreferrer" target="_blank">https://www.paraview.org/Wiki/ParaView_Release_Notes</a>).<br>
><br>
><br>
>  So I compiled  ParaView-v5.5.2 code on Ubuntu with VTKm_ENABLE_CUDA option.  There was no problem in the build, but when I actually execute vtkm filter (contour filter) on paraview, I got this error message  "caught ErrorBadDevice: Device with id 2 is either not in the list or is invalid."<br>
><br>
><br>
> This seems like the vtkm filter does not set up the proper GPU device.<br>
> The used system has installed only one GPU device (TITAN X Pascal)  with CUDA 8.0.<br>
><br>
> So I think the device ID should be 0.<br>
> Also, there is no problem when using a default contour filter without vtkm.<br>
><br>
><br>
><br>
> Any help on how to solve this will be appreciated.<br>
><br>
><br>
> Best regards,<br>
><br>
> Sumin.<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> ParaView discussion is moving! Please visit <a href="https://discourse.paraview.org/" rel="noreferrer" target="_blank">https://discourse.paraview.org/</a> for future posts.<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="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div>