-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT-#308: Add monitor to each host in the cluster #309
Conversation
hosts = MpiHosts.get() | ||
info = MPI.Info.Create() | ||
if hosts: | ||
host_list = hosts.split(",") if hosts is not None else ["localhost"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
host_list = hosts.split(",") if hosts is not None else ["localhost"] | |
hosts = hosts.split(",") if hosts is not None else ["localhost"] |
Also, users should already pass hosts like a.b.c.d,a1.b1.c1.d1[,...]
. Why do we need to call split here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"hosts" is another variable on the 160 row
"host_list" is required below to configure the special "--host" option for OpenMPI
@@ -78,6 +78,22 @@ def log_operation(op_type, status): | |||
) | |||
|
|||
|
|||
def is_internal_host_communication_supported(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def is_internal_host_communication_supported(): | |
def is_shared_memory_supported(): |
@@ -78,6 +78,22 @@ def log_operation(op_type, status): | |||
) | |||
|
|||
|
|||
def is_internal_host_communication_supported(): | |||
""" | |||
Check if the Unidist on MPI support internal host communication |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check if the Unidist on MPI support internal host communication | |
Check if MPI supports shared memory. |
self.__host_rank_by_rank = defaultdict(None) | ||
self.__host_by_rank = defaultdict(None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.__host_rank_by_rank = defaultdict(None) | |
self.__host_by_rank = defaultdict(None) | |
self._host_rank_by_rank = defaultdict(None) | |
self._host_by_rank = defaultdict(None) |
Add inline comments what is this for.
Signed-off-by: Kirill Suvorov <[email protected]>
Co-authored-by: Iaroslav Igoshev <[email protected]>
What do these changes do?
flake8 .
black .
git commit -s
docs/developer/architecture.rst
is up-to-date