From 63a1cfd29f0664f151785cc63f140dfc9e87a40b Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 4 May 2019 12:18:16 +0100 Subject: [PATCH] Allow user to run with vectorization and chemistry both on provided they are not using Gadget-SPH. --- examples/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/main.c b/examples/main.c index 63868cdd52..d6432370dd 100644 --- a/examples/main.c +++ b/examples/main.c @@ -512,7 +512,8 @@ int main(int argc, char *argv[]) { #endif /* Temporary early aborts for modes not supported with hand-vec. */ -#if defined(WITH_VECTORIZATION) && !defined(CHEMISTRY_NONE) +#if defined(WITH_VECTORIZATION) && defined(GADGET2_SPH) && \ + !defined(CHEMISTRY_NONE) error( "Cannot run with chemistry and hand-vectorization (yet). " "Use --disable-hand-vec at configure time."); -- GitLab