1
1
This commit was SVN r3422.
Этот коммит содержится в:
George Bosilca 2004-10-28 23:37:14 +00:00
родитель 3d43ee2594
Коммит e64562e958
2 изменённых файлов: 8 добавлений и 13 удалений

Просмотреть файл

@ -50,7 +50,6 @@ void mpi_attr_put_f(MPI_Fint *comm, MPI_Fint *keyval, MPI_Fint *attribute_val,
MPI_Fint *ierr) MPI_Fint *ierr)
{ {
MPI_Comm c_comm; MPI_Comm c_comm;
int *c_value;
c_comm = MPI_Comm_f2c(*comm); c_comm = MPI_Comm_f2c(*comm);
@ -62,11 +61,7 @@ void mpi_attr_put_f(MPI_Fint *comm, MPI_Fint *keyval, MPI_Fint *attribute_val,
possible that the C value is larger than the Fortran value. possible that the C value is larger than the Fortran value.
MPI says that we sign-extend in this case. */ MPI says that we sign-extend in this case. */
c_value = (int *) *attribute_val;
*ierr = OMPI_INT_2_FINT(MPI_Attr_put(c_comm, *ierr = OMPI_INT_2_FINT(MPI_Attr_put(c_comm,
OMPI_FINT_2_INT(*keyval), OMPI_FINT_2_INT(*keyval),
attribute_val)); attribute_val));
if (MPI_SUCCESS == *ierr) {
}
} }