Skip to content

Conversation

@raffino
Copy link

@raffino raffino commented Oct 22, 2025

Doreisa fails if the MPI processes start calling the head actor before the analytics starts it. Solution was so far to put some sleep, but this always fails at some point. This PR proposes a code change to avoid this issue. The head actor is created either by the simulation processes or the analytics, whoever starts first and then the mpi processes way for the proper initialization of the head actor by the simulation.
Tested on a single node config only.
Little uncertainty if the head actor is created on the expected head node. That should be the case as stated by the Ray doc (https://docs.ray.io/en/latest/ray-core/api/doc/ray.runtime_context.get_runtime_context.html). But would need proper testing to be sure that when created by a MPI process the head actor does not run on this process node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants