@@ -61,28 +61,18 @@ AC_DEFUN([OMPI_CHECK_UCX],[
61
61
62
62
AS_IF([test " $ompi_check_ucx_happy " = yes],
63
63
[# Turn off UCX version v1.8 due to issue #8321
64
- AC_CACHE_CHECK([UCX version 1.8 .x],
65
- [ompi_check_ucx_cv_have_version_1_8 ],
64
+ AC_CACHE_CHECK([UCX version > 1.9 .x],
65
+ [ompi_check_ucx_cv_have_version_gt_1_9 ],
66
66
[AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
67
67
# include <ucp/api/ucp_version.h>
68
68
]], [[
69
- # if (UCP_API_MAJOR == 1) && (UCP_API_MINOR == 8)
70
- # error "Invalid version"
71
- # endif
72
- ]])],
73
- [ompi_check_ucx_cv_have_version_1_8= no],
74
- [ompi_check_ucx_cv_have_version_1_8= yes])])
75
- AS_IF([test " ${ompi_check_ucx_cv_have_version_1_8} " = " yes" ],
76
- [AC_MSG_WARN([UCX support skipped because version 1.8.x was found, which has a known catastrophic issue.])
77
- ompi_check_ucx_happy= no])])
78
- AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
79
- # include <ucp/api/ucp_version.h>
80
- ]], [[
81
69
# if (UCP_API_MAJOR < 1) || ((UCP_API_MAJOR == 1) && (UCP_API_MINOR < 9))
82
70
# error "Version too low"
83
71
# endif
84
- ]])],
85
- [], [AC_MSG_WARN([UCX version is too old, please upgrade to 1.9 or higher.])])
72
+ ]])],
73
+ [ompi_check_ucx_cv_have_version_gt_1_9= yes],
74
+ [ompi_check_ucx_cv_have_version_gt_1_9= no
75
+ ompi_check_ucx_happy= no])])])
86
76
87
77
AS_IF([test " $ompi_check_ucx_happy " = yes],
88
78
[AC_CHECK_DECLS([ucp_tag_send_nbr],
0 commit comments