Rank modification
Compare changes
- paun51 authored
due to the new JSON format. MPI now gets a list of modified ranks it applies at once instead of doing it process by process. Also update rank-swapper-agent/locserv.c accordingly for testing purposes (since it has been replaced by the new node agent).
+ 40
− 18
@@ -95,8 +95,11 @@ static void errorExit(char* msg) {
@@ -154,15 +157,39 @@ static int getProcessAgentRank(uint32_t jobid, uint32_t vpid, size_t size) {
@@ -171,6 +198,7 @@ static int getProcessAgentRank(uint32_t jobid, uint32_t vpid, size_t size) {
@@ -196,19 +224,11 @@ int ompi_comm_init(void)
@@ -219,6 +239,8 @@ int ompi_comm_init(void)