Are spiceInterface modules thread safe ? #203
bbercoviciUspace
started this conversation in
General
Replies: 3 comments
-
I just had spice crash on me with the following error : looks like a race condition with Qt (?!)
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Accessing spice in parallel led to the corruption of data kernels. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't think spice is thread-safe. I would use other tools to setup the planet motion in these cases. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I'm encountering an issue while running parallel simulations by spawning multiple instances of
SimulationBaseClass
in parallel usingmultiprocessing.imap
. I've since run into a number of cases where the parallel execution sometimes stalls, and I'm trying to narrow down on what could be the culprit.One I would like to rule out is Spice : I see that the example MC scenarii do make use of underlying spiceInterfaces inside the gravFactory class (the fact that the instantiation of these interfaces is hidden inside of the factory class was a surprise, since it feels natural to declare this interface at the same level as other simulation modules).
Anyhow, has this ever been identified as an issue before ?
Thanks,
Ben
Beta Was this translation helpful? Give feedback.
All reactions