Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event: remove ABT_event_XXX() functions #144

Merged
merged 1 commit into from
Feb 24, 2020
Merged
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
53 changes: 0 additions & 53 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -218,26 +218,6 @@ AC_ARG_WITH([hugetlbfs],
AS_HELP_STRING([--with-hugetlbfs=PATH],
[specify path where hugetlbfs include directory and lib directory can be found]))

# --enable-power-event
AC_ARG_ENABLE([power-event],
AS_HELP_STRING([--enable-power-event],
[enable handling power management events]))

# --enable-publish-info
AC_ARG_ENABLE([publish-info],
AS_HELP_STRING([--enable-publish-info],
[enable publishing execution information]))

# --with-beacon
AC_ARG_WITH([beacon],
AS_HELP_STRING([--with-beacon=PATH],
[specify path where beacon include directory and lib directory can be found]))

# --with-intercoolr
AC_ARG_WITH([intercoolr],
AS_HELP_STRING([--with-intercoolr=PATH],
[specify path where intercoolr include directory and lib directory can be found]))

# --with-papi
AC_ARG_WITH([papi],
AS_HELP_STRING([--with-papi=PATH],
Expand Down Expand Up @@ -700,39 +680,6 @@ if test "x$with_hugetlbfs" != "x"; then
fi


# --enable-power-event: power management events from outside
AS_IF([test "x$enable_power_event" = "xyes"],
[AC_DEFINE(ABT_CONFIG_HANDLE_POWER_EVENT, 1,
[Define to handle power management events])])


# --enable-publish-info: publish execution information
AS_IF([test "x$enable_publish_info" = "xyes"],
[AC_DEFINE(ABT_CONFIG_PUBLISH_INFO, 1,
[Define to publish execution information])])


# --with-beacon: BEACON path
if test "x$with_beacon" != "x"; then
CFLAGS="-I$with_beacon/include $CFLAGS"
LDFLAGS="-L$with_beacon/lib -lbeacon $LDFLAGS"
fi
AC_CHECK_HEADERS(beacon.h)
default_pub_filename="stdout"
AC_CHECK_LIB(beacon, BEACON_Publish, [default_pub_filename="beacon"])
AC_DEFINE_UNQUOTED(ABT_CONFIG_DEFAULT_PUB_FILENAME, ["$default_pub_filename"],
[Default filename for publishing the performance data])


# --with-intercoolr: INTERCOOLR path
if test "x$with_intercoolr" != "x"; then
CFLAGS="-I$with_intercoolr/include $CFLAGS"
LDFLAGS="-L$with_intercoolr/lib -lintercoolr $LDFLAGS"
fi
AC_CHECK_HEADERS(raplreader.h)
AC_CHECK_LIB(intercoolr, raplreader_init)


# --with-papi
PAPI_CFLAGS=""
PAPI_LDFLAGS=""
Expand Down
1 change: 0 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ abt_sources = \
barrier.c \
cond.c \
error.c \
event.c \
eventual.c \
futures.c \
global.c \
Expand Down
38 changes: 0 additions & 38 deletions src/arch/abtd_env.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,44 +244,6 @@ void ABTD_env_init(ABTI_global *p_global)
}
#endif

#ifdef ABT_CONFIG_HANDLE_POWER_EVENT
/* Hostname for power management daemon */
env = getenv("ABT_POWER_EVENT_HOSTNAME");
if (env == NULL) env = getenv("ABT_ENV_POWER_EVENT_HOSTNAME");
p_global->pm_host = (env != NULL) ? env : "localhost";

/* Port number for power management daemon */
env = getenv("ABT_POWER_EVENT_PORT");
if (env == NULL) env = getenv("ABT_ENV_POWER_EVENT_PORT");
p_global->pm_port = (env != NULL) ? atoi(env) : 60439;
#endif

#ifdef ABT_CONFIG_PUBLISH_INFO
/* Do we need to publish exec. information? */
env = getenv("ABT_PUBLISH_INFO");
if (env == NULL) env = getenv("ABT_ENV_PUBLISH_INFO");
if (env != NULL) {
if (strcmp(env, "0") == 0 || strcasecmp(env, "n") == 0 ||
strcasecmp(env, "no") == 0) {
p_global->pub_needed = ABT_FALSE;
} else {
p_global->pub_needed = ABT_TRUE;
}
} else {
p_global->pub_needed = ABT_TRUE;
}

/* Filename for exec. information publishing */
env = getenv("ABT_PUBLISH_FILENAME");
if (env == NULL) env = getenv("ABT_ENV_PUBLISH_FILENAME");
p_global->pub_filename = env ? env : ABT_CONFIG_DEFAULT_PUB_FILENAME;

/* Time interval for exec. information publishing */
env = getenv("ABT_PUBLISH_INTERVAL");
if (env == NULL) env = getenv("ABT_ENV_PUBLISH_INTERVAL");
p_global->pub_interval = env ? atof(env) : 1.0;
#endif

/* Whether to print the configuration on ABT_init() */
env = getenv("ABT_PRINT_CONFIG");
if (env == NULL) env = getenv("ABT_ENV_PRINT_CONFIG");
Expand Down
Loading