OpenMPI
0.1.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
btl_udapl_mca.h
1
/*
2
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
3
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
4
* $COPYRIGHT$
5
*
6
* Additional copyrights may follow
7
*
8
* $HEADER$
9
*/
10
11
#ifndef MCA_BTL_UDAPL_MCA_H
12
#define MCA_BTL_UDAPL_MCA_H
13
14
BEGIN_C_DECLS
15
16
/* Define Integer Boundaries */
17
#define REGINT_NEG_ONE_OK 0x01
/* value = -1 is valid */
18
#define REGINT_GE_ZERO 0x02
/* value >= 0 is valid */
19
#define REGINT_GE_ONE 0x04
/* value > 1 is valid */
20
#define REGINT_NONZERO 0x08
/* value != 0 is valid */
21
22
/* Define String Boundaries */
23
#define REGSTR_EMPTY_OK 0x01
/* empty string is valid */
24
#define REGSTR_EMPTY_NOT_OK 0x02
/* empty string is not valid */
25
26
/* Define default parameter values that need to be known beyond the
27
* initial setting; for example, if a parameter is tuned dynamically
28
* by the BTL it would not be advisable to do so if the user has
29
* modified the default.
30
*/
31
#define MCA_BTL_UDAPL_ASYNC_EVD_QLEN_DEFAULT 256
32
#define MCA_BTL_UDAPL_CONN_EVD_QLEN_DEFAULT 256
33
#define MCA_BTL_UDAPL_DTO_EVD_QLEN_DEFAULT 256
34
#define MCA_BTL_UDAPL_CONN_TIMEOUT_DEFAULT 10000000
35
#define MCA_BTL_UDAPL_CONN_TIMEOUT_INC 200000
/* connection timeout
36
* is in microseconds;
37
* this incremental
38
* value is equivalent
39
* to .2 seconds
40
*/
41
#define MCA_BTL_UDAPL_CONN_TIMEOUT_MAX 2147483647
42
#define MCA_BTL_UDAPL_MAX_RECV_DTOS_DEFAULT 8
43
#define MCA_BTL_UDAPL_MAX_REQUEST_DTOS_DEFAULT 76
44
#define MCA_BTL_UDAPL_NUM_RECVS_DEFAULT 8
45
46
47
#define CHECK_PARAM_REGISTER_RETURN_VALUE(expr, tmp_rc, rc) \
48
{ \
49
tmp_rc = (expr); \
50
if (OMPI_SUCCESS != tmp_rc) { \
51
rc = tmp_rc; \
52
} \
53
}
54
55
/**
56
* Function to register MCA params and check for sane values
57
*/
58
59
int
mca_btl_udapl_register_mca_params(
void
);
60
61
62
END_C_DECLS
63
#endif
ompi
mca
btl
udapl
btl_udapl_mca.h
Generated on Wed Dec 24 2014 12:05:20 for OpenMPI by
1.8.8