25
25
# /* ULFM Specific sections */
26
26
# #if OPAL_ENABLE_FT_MPI == 0 /* FT ULFM Disabled */
27
27
# #if OPAL_ENABLE_FT_MPI == 1 /* FT ULFM Enabled */
28
- # /* CR Specific sections */
29
- # #if OPAL_ENABLE_FT_CR == 0 /* FT Ckpt/Restart Disabled */
30
- # #if OPAL_ENABLE_FT_CR == 1 /* FT Ckpt/Restart Enabled */
31
28
#
32
29
33
30
# This macro is necessary to get the title to be displayed first. :-)
@@ -40,30 +37,9 @@ AC_DEFUN([OPAL_SETUP_FT_OPTIONS],[
40
37
opal_setup_ft_options="yes"
41
38
AC_ARG_WITH ( ft ,
42
39
[ AC_HELP_STRING ([ --with-ft=TYPE] ,
43
- [ Specify the type of fault tolerance to enable. Options: mpi (ULFM), LAM (LAM/MPI-like), cr (Checkpoint/Restart) (default: mpi)] )] ,
40
+ [ Specify the type of fault tolerance to enable. Options: mpi (ULFM), (default: mpi)] )] ,
44
41
[ ] ,
45
42
[ with_ft=auto] ) # If not specified act as if --with-ft=mpi, but make external prte support failure only if hard requested
46
-
47
- #
48
- # Checkpoint/restart enabled debugging
49
- #
50
- AC_ARG_ENABLE ( [ crdebug] ,
51
- [ AC_HELP_STRING ([ --enable-crdebug] ,
52
- [ enable checkpoint/restart debugging functionality (default: disabled)] )] )
53
-
54
- #
55
- # Fault Tolerance Thread
56
- #
57
- # --enable-ft-thread
58
- # #if OPAL_ENABLE_FT_THREAD == 0 /* Disabled */
59
- # #if OPAL_ENABLE_FT_THREAD == 1 /* Enabled */
60
- #
61
- AC_ARG_ENABLE ( [ ft_thread] ,
62
- [ AC_HELP_STRING ([ --disable-ft-thread] ,
63
- [ Disable fault tolerance thread running inside all processes. Requires OPAL thread support (default: enabled)] )] ,
64
- [ enable_ft_thread="$enableval"] ,
65
- [ enable_ft_thread="undef"] )
66
-
67
43
] )
68
44
69
45
AC_DEFUN ( [ OPAL_SETUP_FT] ,[
@@ -74,7 +50,6 @@ AC_DEFUN([OPAL_SETUP_FT],[
74
50
75
51
if test x"$with_ft" != "xno"; then
76
52
opal_want_ft=1
77
- opal_want_ft_cr=0
78
53
opal_want_ft_mpi=0
79
54
opal_want_ft_type=none
80
55
@@ -83,6 +58,9 @@ AC_DEFUN([OPAL_SETUP_FT],[
83
58
for opt in $with_ft; do
84
59
IFS=$as_save_IFS
85
60
61
+ if test "$opt" = "LAM" || test "$opt" = "lam" || test "$opt" = "CR" || test "$opt" = "cr"; then
62
+ AC_MSG_RESULT ( [ Support for C/R FT has been removed in OMPI 5.0] )
63
+ fi
86
64
# Default value
87
65
if test "$opt" = "auto"; then
88
66
opal_want_ft_mpi=1
@@ -96,23 +74,13 @@ AC_DEFUN([OPAL_SETUP_FT],[
96
74
opal_want_ft_mpi=1
97
75
elif test "$opt" = "mpi"; then
98
76
opal_want_ft_mpi=1
99
- elif test "$opt" = "LAM"; then
100
- opal_want_ft_cr=1
101
- elif test "$opt" = "lam"; then
102
- opal_want_ft_cr=1
103
- elif test "$opt" = "CR"; then
104
- opal_want_ft_cr=1
105
- elif test "$opt" = "cr"; then
106
- opal_want_ft_cr=1
107
77
else
108
78
AC_MSG_RESULT ( [ Unrecognized FT TYPE: $opt] )
109
79
AC_MSG_ERROR ( [ Cannot continue] )
110
80
fi
111
81
done
112
82
if test "$opal_want_ft_mpi" = 1; then
113
83
opal_want_ft_type="mpi"
114
- elif test "$opal_want_ft_cr" = 1; then
115
- opal_want_ft_type="cr"
116
84
fi
117
85
118
86
# If we use external PRTE, does it support FT?
@@ -130,7 +98,6 @@ AC_DEFUN([OPAL_SETUP_FT],[
130
98
AC_MSG_WARN ( [ *** DISABLING FAULT TOLERANCE SUPPORT. *] )
131
99
AC_MSG_WARN ( [ **************************************************] )
132
100
opal_want_ft_mpi=0
133
- opal_want_ft_cr=0
134
101
opal_want_ft_type="none"
135
102
] )
136
103
] )
@@ -147,7 +114,6 @@ AC_DEFUN([OPAL_SETUP_FT],[
147
114
else
148
115
opal_want_ft=0
149
116
opal_want_ft_mpi=0
150
- opal_want_ft_cr=0
151
117
if test "$opal_setup_ft_options" = "yes"; then
152
118
AC_MSG_RESULT ( [ Disabled fault tolerance] )
153
119
fi
@@ -156,73 +122,21 @@ AC_DEFUN([OPAL_SETUP_FT],[
156
122
[ Enable fault tolerance general components and logic] )
157
123
AC_DEFINE_UNQUOTED ( [ OPAL_ENABLE_FT_MPI] , [ $opal_want_ft_mpi] ,
158
124
[ Enable fault tolerance MPI ULFM components and logic] )
159
- AC_DEFINE_UNQUOTED ( [ OPAL_ENABLE_FT_CR] , [ $opal_want_ft_cr] ,
160
- [ Enable fault tolerance checkpoint/restart components and logic] )
161
125
AM_CONDITIONAL(WANT_FT, test "$opal_want_ft" = "1")
162
126
AM_CONDITIONAL(WANT_FT_MPI, test "$opal_want_ft_mpi" = "1")
163
- AM_CONDITIONAL(WANT_FT_CR, test "$opal_want_ft_cr" = "1")
164
127
165
128
if test "$opal_setup_ft_options" = "yes"; then
166
129
AC_MSG_CHECKING ( [ if want checkpoint/restart enabled debugging option] )
167
130
fi
168
131
if test "$opal_want_ft" = "0"; then
169
- opal_want_prd=0
170
132
if test "$opal_setup_ft_options" = "yes"; then
171
133
AC_MSG_RESULT ( [ Disabled (fault tolerance disabled --without-ft)] )
172
134
fi
173
- elif test "$enable_crdebug" = "yes"; then
174
- opal_want_prd=1
175
- AC_MSG_RESULT ( [ Enabled] )
176
135
else
177
- opal_want_prd=0
178
136
if test "$opal_setup_ft_options" = "yes"; then
179
137
AC_MSG_RESULT ( [ Disabled] )
180
138
fi
181
139
fi
182
- AC_DEFINE_UNQUOTED ( [ OPAL_ENABLE_CRDEBUG] , [ $opal_want_prd] ,
183
- [ Whether we want checkpoint/restart enabled debugging functionality or not] )
184
140
185
- if test "$opal_setup_ft_options" = "yes"; then
186
- AC_MSG_CHECKING ( [ if want fault tolerance thread] )
187
- fi
188
- # if they do not want FT support, then they do not want this thread either
189
- if test "$opal_want_ft" = "0"; then
190
- opal_want_ft_thread=0
191
- if test "$opal_setup_ft_options" = "yes"; then
192
- AC_MSG_RESULT ( [ Disabled (fault tolerance disabled --without-ft)] )
193
- fi
194
- # if --disable-ft-thread
195
- elif test "$enable_ft_thread" = "no"; then
196
- opal_want_ft_thread=0
197
- AC_MSG_RESULT ( [ Disabled] )
198
- # if default, and no progress or MPI threads
199
- elif test "$enable_ft_thread" = "undef" && test "$enable_opal_multi_threads" = "no" ; then
200
- opal_want_ft_thread=0
201
- AC_MSG_RESULT ( [ Disabled (OPAL Thread Support Disabled)] )
202
- # if default, and MPI threads enabled for C/R only
203
- elif test "$opal_want_ft_cr" = 1; then
204
- # Default: Enable
205
- # Make sure we have OPAL Threads enabled
206
- if test "$enable_opal_multi_threads" = "no"; then
207
- AC_MSG_RESULT ( [ Must enable OPAL basic thread support to use this option] )
208
- AC_MSG_ERROR ( [ Cannot continue] )
209
- else
210
- AC_MSG_RESULT ( [ yes] )
211
- opal_want_ft_thread=1
212
- AC_MSG_WARN ( [ **************************************************] )
213
- AC_MSG_WARN ( [ *** Fault Tolerance with a thread in Open MPI *] )
214
- AC_MSG_WARN ( [ *** is an experimental, research quality option. *] )
215
- AC_MSG_WARN ( [ *** It requires OPAL thread support and care *] )
216
- AC_MSG_WARN ( [ *** should be used when enabling these options. *] )
217
- AC_MSG_WARN ( [ **************************************************] )
218
- fi
219
- # Otherwise disabled
220
- else
221
- opal_want_ft_thread=0
222
- AC_MSG_RESULT ( [ Disabled (Non-C/R Fault Tolerance enabled)] )
223
- fi
224
- AC_DEFINE_UNQUOTED ( [ OPAL_ENABLE_FT_THREAD] , [ $opal_want_ft_thread] ,
225
- [ Enable fault tolerance thread in Open PAL] )
226
- AM_CONDITIONAL(WANT_FT_THREAD, test "$opal_want_ft_thread" = "1")
227
141
OPAL_SUMMARY_ADD([ [ Miscellaneous] ] ,[ [ Fault Tolerance support] ] ,[ unnecessary] , [ $opal_want_ft_type] )
228
142
] )
0 commit comments