Multiprocessing #1707
Replies: 2 comments
-
Hi @didieransys , |
Beta Was this translation helpful? Give feedback.
-
Hi @rlagha, I've found that while spawning parallel workers they need a server to be built in each task independently and build a "model" from a RST for each one of them. But unfortunately at the expense of an Ansys license. Otherwise, if I try to build one server in the beginning and pass it to the tasks as arguments, I get errors that some object cannot be pickled. Is there a way to reuse the same server and yet launch several parallel tasks that need a model from a RST file independently? Thanks |
Beta Was this translation helpful? Give feedback.
-
We have an application that needs to extract data using DPF in a loop. We want to take advantage of parallelism and we need to have some insight about that is recommended or even working to parallelize DPF operations.
Should we launch multiple DPF servers in order to distribute the workload? Does one DPF server handle concurrent operations? Would multiple DPF server share a common backend? Would that even work? Is the DPF API thread safe?
I have not been able to locate information about all that, but I might have missed it. Any hint will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions