gregsexton/ob-ipython

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

Opened this issue · 1 comments

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

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)