Commit 65ab4577 authored by Philip Carns's avatar Philip Carns

compile time error if darshan is configured with a bad memory alignment

value


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@370 3b7491f3-a168-0410-bf4b-c445ed680a29
parent ed3099c9
......@@ -1106,6 +1106,9 @@ void darshan_initialize(int argc, char** argv, int nprocs, int rank)
return;
}
#if (__CP_MEM_ALIGNMENT < 1)
#error Darshan must be configured with a positive value for --with-mem-align
#endif
envstr = getenv("DARSHAN_MEMALIGN");
if (envstr)
{
......
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