[petsc-users] The memory of GPU isn't enough for the matrix, can the matrix divide into several parts automatically?

Matthew Knepley knepley at gmail.com
Sat Aug 4 08:36:51 CDT 2012


On Sat, Aug 4, 2012 at 12:24 AM, Xiangze Zeng <zengshixiangze at 163.com>wrote:

> Dear all,
>
> When I use GPU to solve the equations, it appears the error:
>
> terminate called after throwing an instance of
> 'thrust::system::detail::bad_alloc'
>   what():  std::bad_alloc: out of memory
>
> When the system is smaller, it doesn't appear this error. And I'm sure the
> memory is enough for the larger system, is it the memory of the GPU that
> leads to this error? The GPU I use is Nvidia Quadro 4000. The larger system
> is 3847957x3847957, with 109189295 non-0 elements.
>
> And what can we do if the memory of the GPU isn't enough?
>

Run in parallel on more than 1 GPU.

   Matt


> Thank you!
> Sincerely,
> Zeng Xiangze
> --
> Mailbox 379, School of Physics
> Shandong University
> 27 South Shanda Road, Jinan, Shandong, P.R.China, 250100
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120804/5b4c5ec2/attachment.html>


More information about the petsc-users mailing list