Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. Feasibility of Sim4Life GPU Acceleration and Multithreaded Script Execution

Feasibility of Sim4Life GPU Acceleration and Multithreaded Script Execution

Scheduled Pinned Locked Moved Python API
3 Posts 2 Posters 29 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lucky_lin
    wrote last edited by
    #1

    Hello everyone! I'm currently running simulations with Sim4Life and would like to know if it's possible to improve efficiency through GPU acceleration or by running multiple scripts in parallel using multithreading. Could anyone share some experience or provide simple example code? Thanks a lot!

    1 Reply Last reply
    0
    • brynB Offline
      brynB Offline
      bryn
      ZMT
      wrote last edited by
      #2
      • in theory, you can do anything you could do in a "normal" Python installation, in the Sim4Life Python. You might just have to install the package (go to the Python folder in C:\Program Files\Sim4Life_<installed version>\Python and run python.exe -m pip install <some package>.

      • the analysis pipeline can run independent jobs in parallel when you run it from the GUI. In Python, the "Update" is probably blocking. @Sylvain might know?

      L 1 Reply Last reply
      0
      • brynB bryn
        • in theory, you can do anything you could do in a "normal" Python installation, in the Sim4Life Python. You might just have to install the package (go to the Python folder in C:\Program Files\Sim4Life_<installed version>\Python and run python.exe -m pip install <some package>.

        • the analysis pipeline can run independent jobs in parallel when you run it from the GUI. In Python, the "Update" is probably blocking. @Sylvain might know?

        L Offline
        L Offline
        lucky_lin
        wrote last edited by
        #3

        @bryn Is it correct that the EM LF Electro series of solvers do not support GPU acceleration?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Search