From 4571c918a491ba78410cb7600bfc68bf129368b9 Mon Sep 17 00:00:00 2001 From: Guido Cossu Date: Wed, 25 Jan 2017 11:14:43 +0000 Subject: [PATCH] Fixing compilation error when compiling without LIME --- lib/qcd/hmc/checkpointers/CheckPointerModules.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/qcd/hmc/checkpointers/CheckPointerModules.h b/lib/qcd/hmc/checkpointers/CheckPointerModules.h index 973534a2..234dec27 100644 --- a/lib/qcd/hmc/checkpointers/CheckPointerModules.h +++ b/lib/qcd/hmc/checkpointers/CheckPointerModules.h @@ -121,6 +121,9 @@ class NerscCPModule: public CheckPointerModule< ImplementationPolicy> { }; + +#ifdef HAVE_LIME + template class ILDGCPModule: public CheckPointerModule< ImplementationPolicy> { typedef CheckPointerModule< ImplementationPolicy> CPBase; @@ -133,6 +136,7 @@ class ILDGCPModule: public CheckPointerModule< ImplementationPolicy> { }; +#endif }// QCD temporarily here @@ -144,9 +148,11 @@ extern char cp_string[]; // use macros? static Registrar, HMC_CPModuleFactory > __CPBinarymodXMLInit("Binary"); static Registrar , HMC_CPModuleFactory > __CPNerscmodXMLInit("Nersc"); -static Registrar , HMC_CPModuleFactory > __CPILDGmodXMLInit("ILDG"); +#ifdef HAVE_LIME +static Registrar , HMC_CPModuleFactory > __CPILDGmodXMLInit("ILDG"); +#endif }// Grid -#endif //CP_MODULES_H \ No newline at end of file +#endif //CP_MODULES_H