[petsc-users] error occurs when running ex19 in src/snes/examples/tutorials

Xiangze Zeng zengshixiangze at 163.com
Mon Mar 5 08:35:01 CST 2012


Hi,
I want to run the code on the GPU, and I have installed the CUDA, Cusp, Thrust as the instruction. Now I can use nvcc successfully. But when I run the ex19. It terminate with the following message:


"terminate called after throwing an instance of 'thrust::system::system_error'
what():  invalid device function
Aborted."


I have tried closed all the X systems,but the same error still occurs.


What's the problem?
Thank you.


Zeng 




 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120305/477e58eb/attachment.htm>


More information about the petsc-users mailing list