Take into account constants that in the cray headers are defined different than in the portals spec.
This commit was SVN r13311.
Этот коммит содержится в:
родитель
580a7a108c
Коммит
1c20feb52b
@ -107,9 +107,11 @@ ompi_common_portals_error_ptl_to_ompi(int ptl_error)
|
|||||||
case PTL_SR_INDEX_INVALID:
|
case PTL_SR_INDEX_INVALID:
|
||||||
ret = OMPI_ERR_BAD_PARAM;
|
ret = OMPI_ERR_BAD_PARAM;
|
||||||
break;
|
break;
|
||||||
|
#if !OMPI_PORTALS_CRAYXT3
|
||||||
case PTL_UNKNOWN_ERROR:
|
case PTL_UNKNOWN_ERROR:
|
||||||
ret = OMPI_ERROR;
|
ret = OMPI_ERROR;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
ret = OMPI_ERROR;
|
ret = OMPI_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
|
|
||||||
#include <portals/portals3.h>
|
#include <portals/portals3.h>
|
||||||
#define PTL_EQ_HANDLER_NONE NULL
|
#define PTL_EQ_HANDLER_NONE NULL
|
||||||
|
/* Cray's definition, differs from the spec */
|
||||||
|
#define PTL_NO_ACK_REQ PTL_NOACK_REQ
|
||||||
|
|
||||||
#define OMPI_BTL_PORTALS_SEND_TABLE_ID 30
|
#define OMPI_BTL_PORTALS_SEND_TABLE_ID 30
|
||||||
#define OMPI_BTL_PORTALS_RDMA_TABLE_ID 31
|
#define OMPI_BTL_PORTALS_RDMA_TABLE_ID 31
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user