Skip to content

Commit d48c58b

Browse files
committed
Remove OMPI_BIGCOUNT define
Signed-off-by: Jake Tronge <jtronge@lanl.gov>
1 parent ecc0c38 commit d48c58b

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

config/ompi_configure_options.m4

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -253,20 +253,6 @@ else
253253
fi
254254
AM_CONDITIONAL(OMPI_OMPIO_SUPPORT, test "$ompi_want_ompio" = "1")
255255

256-
AC_MSG_CHECKING([if want bigcount support])
257-
AC_ARG_ENABLE([bigcount],
258-
[AS_HELP_STRING([--enable-bigcount],
259-
[Enable the bigcount API])])
260-
if test "$enable_bigcount" = "yes" ; then
261-
AC_MSG_RESULT([yes])
262-
ompi_enable_bigcount=1
263-
else
264-
AC_MSG_RESULT([no])
265-
ompi_enable_bigcount=0
266-
fi
267-
AC_DEFINE_UNQUOTED([OMPI_BIGCOUNT],[$ompi_enable_bigcount],
268-
[Whether we want to compile bigcount API support])
269-
270256
# If the binding source files don't exist, then we need Python to generate them
271257
AM_PATH_PYTHON([3.6],,[:])
272258
binding_file="${srcdir}/ompi/mpi/c/ompi_send.c"

ompi/mpi/bindings/ompi_bindings/c.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,10 @@ def ompi_abi(base_name, template, out):
300300
template.print_body(func_name=base_name, out=out)
301301
# Check if we need to generate the bigcount interface
302302
if util.prototype_has_bigcount(template.prototype):
303-
out.dump('#if OMPI_BIGCOUNT')
304303
base_name_c = f'{base_name}_c'
305304
print_profiling_header(base_name_c, out)
306305
out.dump(template.prototype.signature(base_name_c, abi_type='ompi', enable_count=True))
307306
template.print_body(func_name=base_name_c, out=out)
308-
out.dump('#endif /* OMPI_BIGCOUNT */')
309307

310308

311309
ABI_INTERNAL_HEADER = 'ompi/mpi/c/abi.h'

ompi/mpi/bindings/ompi_bindings/fortran.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,7 @@ def generate_code(args, out):
266266
print_binding(template.prototype, args.lang, out, template=template)
267267
if util.prototype_has_bigcount(template.prototype):
268268
out.dump()
269-
out.dump('#if OMPI_BIGCOUNT')
270269
print_binding(template.prototype, args.lang, bigcount=True, out=out, template=template)
271-
out.dump('#endif /* OMPI_BIGCOUNT */')
272270

273271

274272
def generate_interface(args, out):
@@ -285,7 +283,5 @@ def generate_interface(args, out):
285283
out.dump()
286284
binding_c = FortranBinding(template.prototype, out=out, template=template,
287285
bigcount=True)
288-
out.dump('#if OMPI_BIGCOUNT')
289286
binding_c.print_interface()
290-
out.dump('#endif /* OMPI_BIGCOUNT */')
291287
out.dump(f'end interface {ext_name}')

0 commit comments

Comments
 (0)