Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/mana_shadow_mpi_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def filter_library_dependencies(executable):
symbolic and absolute library names.
"""
try :
result = subprocess.run(["ldd", executable], capture_output=True, text=True, check=True)
result = subprocess.run(["ldd", executable], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, check=True)
except subprocess.CalledProcessError:
print(f"Error: UNable to run ldd on {executable}")
sys.exit(1)
Expand Down
30 changes: 0 additions & 30 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5251,36 +5251,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python 3.7 or later" >&5
printf %s "checking for Python 3.7 or later... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python3 version >= 3.7" >&5
printf %s "checking for python3 version >= 3.7... " >&6; }
if test ${ac_cv_python3_version_3_7_or_later+y}
then :
printf %s "(cached) " >&6
else $as_nop

ac_cv_python3_version_3_7_or_later=no
if python3 -c 'import sys; exit(0 if sys.version_info >= (3, 7) else 1)' \
2>/dev/null; then
ac_cv_python3_version_3_7_or_later=yes
PYTHON3_BIN="python3"
fi

fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python3_version_3_7_or_later" >&5
printf "%s\n" "$ac_cv_python3_version_3_7_or_later" >&6; }
if test "x$ac_cv_python3_version_3_7_or_later" = "xyes"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, found $PYTHON3_BIN" >&5
printf "%s\n" "yes, found $PYTHON3_BIN" >&6; }

else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
as_fn_error $? "Python 3.7 or later is required" "$LINENO" 5
fi

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dmtcp/configure" >&5
printf %s "checking for dmtcp/configure... " >&6; }
if test ${ac_cv_file_dmtcp_configure+y}
Expand Down
18 changes: 0 additions & 18 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,6 @@ AX_CHECK_COMPILE_FLAG([-fallow-argument-mismatch],
[])
AC_LANG_POP([Fortran])

AC_MSG_CHECKING([for Python 3.7 or later])
AC_CACHE_CHECK([for python3 version >= 3.7], ac_cv_python3_version_3_7_or_later,
[
ac_cv_python3_version_3_7_or_later=no
if python3 -c 'import sys; exit(0 if sys.version_info >= (3, 7) else 1)' \
2>/dev/null; then
ac_cv_python3_version_3_7_or_later=yes
PYTHON3_BIN="python3"
fi
])
if test "x$ac_cv_python3_version_3_7_or_later" = "xyes"; then
AC_MSG_RESULT([yes, found $PYTHON3_BIN])
AC_SUBST([PYTHON3_BIN])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Python 3.7 or later is required])
fi

AC_CHECK_FILE([dmtcp/configure],
[AC_MSG_RESULT([yes, dmtcp/configure exists])
AC_DEFINE([HAVE_DMTCP_CONFIGURE], 1, [Define if dmtcp/configure exists])
Expand Down