diff --git a/examples/main.c b/examples/main.c index 1d94cd49d098de0caca6892259931fe2e97bb202..fa4224af9843f968b2cc29d20c08dbcddf73dd54 100644 --- a/examples/main.c +++ b/examples/main.c @@ -463,6 +463,14 @@ int main(int argc, char *argv[]) { error("VEOCIraptor not yet enabled over MPI."); #endif + /* Temporary early aborts for modes not supported with hand-vec. */ +#if defined(WITH_VECTORIZATION) + if (with_chemistry) + error( + "Cannot run with chemistry and hand-vectorization (yet). " + "Use --disable-hand-vec at configure time."); +#endif + /* Check that we can write the snapshots by testing if the output * directory exists and is searchable and writable. */ char basename[PARSER_MAX_LINE_SIZE];