Giter Club home page Giter Club logo

Comments (4)

DavisVaughan avatar DavisVaughan commented on July 28, 2024 1

I've added a new issue for a few documentation updates. Thanks!

from furrr.

DavisVaughan avatar DavisVaughan commented on July 28, 2024

My guess is that this is a multicore issue having to do with shared memory. multiprocess picks multicore on Linux and Mac. Try explicitly using multisession, which should not use shared memory. On a Windows computer I can run this in multisession mode with no issues.

from furrr.

DavisVaughan avatar DavisVaughan commented on July 28, 2024

A quick google search also brings up this thread, where Henrik (the future author this is built on) asks a question about this kind of thing and get's a response of, "Some back-ends (like X11) cannot be run in forked environment, so you can't use them."

So my advice would just be to stay away from forked + graphics and just use plan(multisession) here.

http://r.789695.n4.nabble.com/parallel-Race-condition-concern-regarding-graphics-devices-in-a-multi-thread-environment-td4663471.html

Let me know if that works for you

Edit) In fact, your exact error message listed in the Issue title is in that thread, so I'm pretty sure that's the problem. I don't think it's anything furrr or future should do to prevent against.

from furrr.

adrfantini avatar adrfantini commented on July 28, 2024

Thanks! Indeed it works for me, albeit with the drawbacks that multisession has over multicore. I think something about this issue could be mentioned in the manual (if it is not already and I missed it!).

from furrr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.