[Radiance-general] parallel dctimestep

Sarith Subramaniam sarith at psu.edu
Fri Sep 22 08:53:15 PDT 2017


Hi Santiago,

I pretty much did the exact same thing that you mentioned to run 
multiple instances of dctimestep with Python. The syntax is something like:

/import multiprocessing as mp/

/import os//
/

/#Run dctimesteps, 16 at at time./

/#runCommand is just a call to os.system
/

/#commands is a list of dctimestep commands like ["dctimestep dc.mtx 
sky0001.smx > res0001.smx", ///"dctimestep dc.mtx sky0002.smx > 
res0002.smx" ...]
//

/pools = mp.Pool(processes=16)/

/pools.map(runCommand, commands)/


For the above, you'd have to do some additional scripting to run rmtxop 
and compile all the results into a single file. There is also a method 
that was discussed by Wangda Zuo and Andy Mcneil in this paper: 
http://www.ibpsa.org/proceedings/BS2011/P_1155.pdf

Sarith

//


On 9/22/2017 9:55 AM, Santiago Torres wrote:
> Dear all,
>
> This might be a silly question, but I couldn't find any reference. Is there a way to run dctimestep in parallel?
>
> Or, would it be possible to create a weather tape for each month, create a matrix from each, and run each month separately?
>
> Thanks,
> Santiago
>
> ____________________________________________________________
> Electronic mail messages entering and leaving Arup business
> systems are scanned for viruses and acceptability of content
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> https://www.radiance-online.org/mailman/listinfo/radiance-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20170922/a125262c/attachment.html>


More information about the Radiance-general mailing list