gregsexton / ob-ipython

org-babel integration with Jupyter for evaluation of (Python by default) code blocks
737 stars 111 forks source link

emacs: magick/cache.c:306: AddOpenCLEvent: Assertion `cache_info->opencl != (OpenCLCacheInfo *) NULL' failed. Fatal error 6: Aborted #196

Open notmike-5 opened 6 years ago

notmike-5 commented 6 years ago

When I try to run this program from foo.org it causes a core dump. Otherwise ob-python seems to be working ok.

#+begin_src ipython :session :exports both :results raw drawer
    %matplotlib inline
    import matplotlib.pyplot as plt
    import numpy as np

    plt.hist(np.random.random(20000), bins=200)
#+end_src
jazzpi commented 5 years ago

Quick google revealed this Reddit post. Seems like this is not an issue with ob-ipython.

(The workaround in the comments works for me too, set the env variable MAGICK_OCL_DEVICE=OFF)