Multi-threading fluid sim?

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Ultralord
Posts: 4
Joined: Thu Oct 14, 2010 12:36 am

Multi-threading fluid sim?

Postby Ultralord » Tue Feb 01, 2011 3:21 am

Please move this if it's in the wrong spot. I was wondering if the fluid/smoke simulators are ever going to have support fo multi-threading? I've heard the code is already quite parallel, and it shouldn't be too hard, but I have no python experience so I can't do it. Again, I'm just wondering, not demanding :)

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Tue Feb 01, 2011 5:45 am

it shouldn't be too hard,


Heh, famous last words in the software world! I honestly don't know how parallel the existing code is or how hard it would be to thread. I do know it will not be done via python since the Global Interpreter Lock (GIL) effectively forces python to execute a single thread at a time. This is why the multiprocessing module is recommend for applications that need to do actual simultaneous computing.

finder18
Posts: 1
Joined: Thu Jun 14, 2012 6:38 pm
Location: assallay

Re: Multi-threading fluid sim?

Postby finder18 » Thu Jun 14, 2012 7:09 pm

[quote="Ultralord"]Please move this if it's in the wrong spot. I was wondering if the fluid/smoke simulators are ever going to have support fo multi-threading? I've heard the code is already quite parallel, and it shouldn't be too hard, but I have no python experience so I can't do it. Again, I'm just wondering, not demanding :)[/quote]


me too Can somebody tell us Is there a support for fluid sim for multi-threading ,if so when its gonna be in the official release.

best regards for devs
_____
BMR
_____


Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 0 guests