Fix an issue with #2048 fix that did not goto the error case.
This commit was SVN r22076.
Этот коммит содержится в:
родитель
58c864699c
Коммит
0828945eea
@ -111,8 +111,8 @@ int MPI_Comm_spawn(char *command, char **argv, int maxprocs, MPI_Info info,
|
||||
}
|
||||
} else if (1 < ompi_comm_size(comm)) {
|
||||
/* we do not support non_mpi spawns on comms this size */
|
||||
return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_UNSUPPORTED_OPERATION,
|
||||
FUNC_NAME);
|
||||
rc = OMPI_ERR_NOT_SUPPORTED
|
||||
goto error;
|
||||
}
|
||||
if (OMPI_SUCCESS != (rc = ompi_dpm.spawn (1, &command, &argv, &maxprocs,
|
||||
&info, port_name))) {
|
||||
|
@ -151,8 +151,8 @@ int MPI_Comm_spawn_multiple(int count, char **array_of_commands, char ***array_o
|
||||
}
|
||||
} else if (1 < ompi_comm_size(comm)) {
|
||||
/* we do not support non_mpi spawns on comms this size */
|
||||
return OMPI_ERRHANDLER_INVOKE(comm, MPI_ERR_UNSUPPORTED_OPERATION,
|
||||
FUNC_NAME);
|
||||
rc = OMPI_ERR_NOT_SUPPORTED
|
||||
goto error;
|
||||
}
|
||||
if (OMPI_SUCCESS != (rc = ompi_dpm.spawn(count, array_of_commands,
|
||||
array_of_argv, array_of_maxprocs,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user