Commit 6a8e4062 authored by Glenn K. Lockwood's avatar Glenn K. Lockwood

rename DARSHAN_NOMPI to DARSHAN_ENABLE_NONMPI

parent df9d5388
......@@ -35,7 +35,7 @@
#define DARSHAN_MMAP_LOG_PATH_OVERRIDE "DARSHAN_MMAP_LOGPATH"
/* Environment variable to enable profiling without MPI */
#define DARSHAN_NO_MPI "DARSHAN_NOMPI"
#define DARSHAN_ENABLE_NONMPI "DARSHAN_ENABLE_NONMPI"
/* default path for storing mmap log files is '/tmp' */
#define DARSHAN_DEF_MMAP_LOG_PATH "/tmp"
......
......@@ -93,7 +93,7 @@ DARSHAN_WRAPPER_MAP(PMPI_Finalize, int, (void), MPI_Finalize())
__attribute__((constructor)) void serial_init(void)
{
char *no_mpi;
no_mpi = getenv(DARSHAN_NO_MPI);
no_mpi = getenv(DARSHAN_ENABLE_NONMPI);
if (no_mpi)
darshan_core_initialize(0, NULL);
return;
......@@ -102,7 +102,7 @@ __attribute__((constructor)) void serial_init(void)
__attribute__((destructor)) void serial_finalize(void)
{
char *no_mpi;
no_mpi = getenv(DARSHAN_NO_MPI);
no_mpi = getenv(DARSHAN_ENABLE_NONMPI);
if (no_mpi)
darshan_core_shutdown();
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment