From be9ea4d1b0d1290c76bf99fb9039e35832273aa8 Mon Sep 17 00:00:00 2001 From: Edgar Gabriel Date: Tue, 7 Mar 2006 23:13:42 +0000 Subject: [PATCH] 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. --- ompi/mpi/f77/comm_spawn_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mpi/f77/comm_spawn_f.c b/ompi/mpi/f77/comm_spawn_f.c index d4b41e294f..ec5d0b96e6 100644 --- a/ompi/mpi/f77/comm_spawn_f.c +++ b/ompi/mpi/f77/comm_spawn_f.c @@ -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); } - *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), c_info, OMPI_FINT_2_INT(*root),