Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Multi-threading with macros

Hi,
Is thee a way to run several macros with different threads ?
I have large GDS file and would like to run time consuming macro on different layers.
Then, I would like to run 1 macro per layer in parallel in order to use multi-threading.
Is there a way to run klayout macros in this way ?
Thanks,
Laurent

Comments

  • Hi Laurent,

    no there isn't. Both Ruby and Python aren't thread-safe, so that's not feasible. You can run parallel instances of KLayout and finally merge the layouts.

    Matthias

  • hi Laurent,

    If you want to use threading I think you should build your function from source code of Klayout after that re-build Klayout.

    daipv

Sign In or Register to comment.