add comment for MPI Symetric role maker

revert-16555-model_data_cryption_link_all_lib
dongdaxiang 6 years ago
parent cf45c54340
commit ea5851fa69

@ -72,6 +72,12 @@ class MPIRoleMaker(RoleMakerBase):
class MPISymetricRoleMaker(MPIRoleMaker): class MPISymetricRoleMaker(MPIRoleMaker):
"""
MPISymetricRoleMaker is designed for worker and server assignment
under MPI. Typically, a worker and a server node will be appointed
on each physical node. This role maker can be only used under MPI.
"""
def __init__(self): def __init__(self):
super(MPISymetricRoleMaker, self).__init__() super(MPISymetricRoleMaker, self).__init__()
self.node_type_ = None self.node_type_ = None

Loading…
Cancel
Save