7/05/2017

Running Python Process in Parallel

I have been trying to run multi-processes using python subprocess module. I'm using Python 2.7 and Yes, it is helpful and saves a lot of time indeed, but, I need to run about 10 thousand daylight simulations simultaneously, it is impossible to do this serially, thus I have to think about parallel computing. Ok, I know that the best solution lies in GPGPU but I would like to start applying CPU parallelism at first. I have stumbled across threading and multiporcessing modules which are thread-based parallelism and processing-based parallelism respectively. I'll spend sometimes trying these two modules and I will write about them soon as possible, If I find something better I'll blog about it as well.

ليست هناك تعليقات :

إرسال تعليق