Thank you Andreas. I tried python with just an input at the end and it did
still just crash, so it is not an ipython specific thing. Also putting the
GPU in persistent mode didn't stop it either (it did take longer to crash
though). Maybe I'll right a CUDA only program with an infinite loop at the
end and see if that will crash it as well. As you said, since it causes a
hard crash it is most likely a driver or hardware issue.
Thanks!
Craig

On Wed Dec 10 2014 at 3:05:03 PM Andreas Kloeckner <[email protected]>
wrote:

> Hi Craig,
>
> Craig Stringham <[email protected]> writes:
> > I keep crashing a server (kernel panic) when using pycuda within ipython.
> > It doesn't seem to matter what kernel I run and it only crashes several
> > minutes after I have run a kernel but have kept the ipython shell open. I
> > am using the latest git version of pycuda with the latest release of CUDA
> > (6.5) on a K40m. Below is the last portion of the crash dmesg.
> > Have any of you had a similar issue? I will try putting the GPU in
> > persistent mode since it appears it is falling off the bus... maybe that
> > will fix it.
>
> I've never seen such a thing, and I'm not even sure what PyCUDA could do
> to cause a hard crash a machine like that. It sounds like either a
> driver or hardware bug to me. If there's something that PyCUDA can
> do to avoid the hard crash, I'd be more than happy to do that--but I'm
> not even sure what that would be...
>
> One possible issue is threads. PyCUDA (CUDA generally, really) isn't
> very good around them--but that should only be an issue if multiple
> threads touch the GPU.
>
> As a simple test, can you may write a script that does some PyCUDA
> computations and then sits in a raw_input()? That's somehow the closest
> analog to IPython I can think of.
>
> Anyhow, these are just some suggestions. Hope some of this is helpful.
>
> Andreas
>
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to