we should pass c_command to MPI_Comm_spawn, and not the fortran version
of the string. Since it is relevant fix, however not affecting any other part of the source code, should probably still go onto the 1.0 branch. This commit was SVN r9214.
Этот коммит содержится в:
родитель
67caebbfab
Коммит
be9ea4d1b0
@ -95,7 +95,7 @@ void mpi_comm_spawn_f(char *command, char *argv, MPI_Fint *maxprocs,
|
|||||||
ompi_fortran_argv_f2c(argv, argv_len, &c_argv);
|
ompi_fortran_argv_f2c(argv, argv_len, &c_argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
*ierr = OMPI_INT_2_FINT(MPI_Comm_spawn(command, c_argv,
|
*ierr = OMPI_INT_2_FINT(MPI_Comm_spawn(c_command, c_argv,
|
||||||
OMPI_FINT_2_INT(*maxprocs),
|
OMPI_FINT_2_INT(*maxprocs),
|
||||||
c_info,
|
c_info,
|
||||||
OMPI_FINT_2_INT(*root),
|
OMPI_FINT_2_INT(*root),
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user