1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Fixing compilation error when compiling without LIME

This commit is contained in:
Guido Cossu 2017-01-25 11:14:43 +00:00
parent 5251ea4d30
commit 4571c918a4

View File

@ -121,6 +121,9 @@ class NerscCPModule: public CheckPointerModule< ImplementationPolicy> {
};
#ifdef HAVE_LIME
template<class ImplementationPolicy>
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<QCD::BinaryCPModule<QCD::PeriodicGimplR>, HMC_CPModuleFactory<cp_string, QCD::PeriodicGimplR, XmlReader> > __CPBinarymodXMLInit("Binary");
static Registrar<QCD::NerscCPModule<QCD::PeriodicGimplR> , HMC_CPModuleFactory<cp_string, QCD::PeriodicGimplR, XmlReader> > __CPNerscmodXMLInit("Nersc");
static Registrar<QCD::ILDGCPModule<QCD::PeriodicGimplR> , HMC_CPModuleFactory<cp_string, QCD::PeriodicGimplR, XmlReader> > __CPILDGmodXMLInit("ILDG");
#ifdef HAVE_LIME
static Registrar<QCD::ILDGCPModule<QCD::PeriodicGimplR> , HMC_CPModuleFactory<cp_string, QCD::PeriodicGimplR, XmlReader> > __CPILDGmodXMLInit("ILDG");
#endif
}// Grid
#endif //CP_MODULES_H
#endif //CP_MODULES_H