1
1

fixing MPI_ERR_LASTCODE in C and fortran

fixing the result of the Comm/group compare operations, 
since the enum in C starts with 0 and not with 1 :-)

This commit was SVN r2803.
Этот коммит содержится в:
Edgar Gabriel 2004-09-22 16:59:10 +00:00
родитель 546f6cd7bd
Коммит eae5533433
2 изменённых файлов: 6 добавлений и 6 удалений

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

@ -241,9 +241,9 @@ enum {
#define MPI_ERR_UNSUPPORTED_DATAREP 51
#define MPI_ERR_UNSUPPORTED_OPERATION 52
#define MPI_ERR_WIN 53
#define MPI_ERR_LASTCODE 54
#define MPI_ERR_SYSRESOURCE -2
#define MPI_ERR_LASTCODE -1
/*

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

@ -260,17 +260,17 @@
parameter( MPI_ERR_WIN = 53)
parameter( MPI_ERR_SYSRESOURCE = -2)
parameter( MPI_ERR_LASTCODE = -1)
parameter( MPI_ERR_LASTCODE = 54)
!
! comparison results
!
integer MPI_IDENT, MPI_CONGRUENT, MPI_SIMILAR, MPI_UNEQUAL
parameter (MPI_IDENT=1)
parameter (MPI_CONGRUENT=2)
parameter (MPI_SIMILAR=3)
parameter (MPI_UNEQUAL=4)
parameter (MPI_IDENT=0)
parameter (MPI_CONGRUENT=1)
parameter (MPI_SIMILAR=2)
parameter (MPI_UNEQUAL=3)
!
! lookup table indices
!