aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-06-07 17:02:59 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:23 +0000
commit849888de701c09270eb0d3fa02e97c0e71e5e2fd (patch)
treeda1a69b2ae3cb861fcd731a6f5d7a726f053f8e4 /Carpet
parent5b214c94c961482a80b45c8c2e0a6e8d977aeb88 (diff)
CarpetLib: Correct check for VECTORISE_ALIGNED_ARRAYS
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/gdata.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc
index 958153784..2feda1882 100644
--- a/Carpet/CarpetLib/src/gdata.cc
+++ b/Carpet/CarpetLib/src/gdata.cc
@@ -110,13 +110,13 @@ allocated_memory_shape (vect<int,D> shape)
}
}
}
-#if defined(VECTORISE_ALIGNED_ARRAYS)
+#if VECTORISE_ALIGNED_ARRAYS
// Enlarge shape in the x direction to ensure it is a multiple of
// the vector size
#warning "TODO: Support other datatypes as well, don't target only CCTK_REAL"
if (sizeof(CCTK_REAL) * CCTK_REAL_VEC_SIZE == magic_size) {
CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING,
- "The build-time option KRANC_ALIGNED_ARRAYS requires that the size of a grid variable in the x direction is a multiple of %d bytes, while the run-time parameter avoid_arraysize_bytes=%d requests the opposite. This is inconsistent -- aborting",
+ "The build-time option VECTORISE_ALIGNED_ARRAYS requires that the size of a grid variable in the x direction is a multiple of %d bytes, while the run-time parameter avoid_arraysize_bytes=%d requests the opposite. This is inconsistent -- aborting",
int(avoid_arraysize_bytes),
int(avoid_arraysize_bytes));
}