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

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


git-svn-id: 3b7491f3-a168-0410-bf4b-c445ed680a29
parent ed3099c9
......@@ -1106,6 +1106,9 @@ void darshan_initialize(int argc, char** argv, int nprocs, int rank)
#if (__CP_MEM_ALIGNMENT < 1)
#error Darshan must be configured with a positive value for --with-mem-align
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