Commit c987dd99 authored by Philip Carns's avatar Philip Carns

remainder of fix for #126, disable internal benchmark routines that require

MPI when building dynamic library


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@816 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 39d6e4ed
......@@ -1562,6 +1562,11 @@ static void cp_access_counter(struct darshan_file_runtime* file, ssize_t size, e
return;
}
/* NOTE: we disable internal benchmarking routines when building shared
* libraries so that when Darshan is loaded with LD_PRELOAD it does not
* depend on MPI routines.
*/
#ifndef DARSHAN_PRELOAD
void darshan_shutdown_bench(int argc, char** argv, int rank, int nprocs)
{
int* fd_array;
......@@ -1700,6 +1705,7 @@ void darshan_shutdown_bench(int argc, char** argv, int rank, int nprocs)
return;
}
#endif
void darshan_search_bench(int argc, char** argv, int iters)
{
......
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