Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 18 additions & 16 deletions Grid/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,25 @@ Version.h: version-cache
include Make.inc
include Eigen.inc

extra_sources+=$(WILS_FERMION_FILES)
extra_sources+=$(STAG_FERMION_FILES)
if BUILD_ZMOBIUS
extra_sources+=$(ZWILS_FERMION_FILES)
endif
if BUILD_GPARITY
extra_sources+=$(GP_FERMION_FILES)
endif
if BUILD_FERMION_REPS
extra_sources+=$(ADJ_FERMION_FILES)
extra_sources+=$(TWOIND_FERMION_FILES)
endif
if BUILD_SP
if BUILD_FERMION_INSTANTIATIONS
extra_sources+=$(WILS_FERMION_FILES)
extra_sources+=$(STAG_FERMION_FILES)
if BUILD_ZMOBIUS
extra_sources+=$(ZWILS_FERMION_FILES)
endif
if BUILD_GPARITY
extra_sources+=$(GP_FERMION_FILES)
endif
if BUILD_FERMION_REPS
extra_sources+=$(ADJ_FERMION_FILES)
extra_sources+=$(TWOIND_FERMION_FILES)
endif
if BUILD_SP
extra_sources+=$(SP_FERMION_FILES)
if BUILD_FERMION_REPS
extra_sources+=$(SP_TWOIND_FERMION_FILES)
endif
if BUILD_FERMION_REPS
extra_sources+=$(SP_TWOIND_FERMION_FILES)
endif
endif
endif

lib_LIBRARIES = libGrid.a
Expand Down
7 changes: 6 additions & 1 deletion HMC/FTHMC2p1f.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

#if Nc == 3
#include <Grid/qcd/smearing/GaugeConfigurationMasked.h>
Expand Down Expand Up @@ -230,3 +234,4 @@ int main(int argc, char **argv)
#endif
} // main

#endif
9 changes: 6 additions & 3 deletions HMC/FTHMC2p1f_3GeV.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ directory
*************************************************************************************/
/* END LEGAL */

#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

#if Nc == 3
#include <Grid/qcd/smearing/GaugeConfigurationMasked.h>
Expand Down Expand Up @@ -231,5 +235,4 @@ int main(int argc, char **argv)
#endif
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/HMC2p1f_3GeV.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

#if Nc == 3
#include <Grid/qcd/smearing/GaugeConfigurationMasked.h>
Expand Down Expand Up @@ -230,5 +234,4 @@ int main(int argc, char **argv)
#endif
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

int main(int argc, char **argv) {
using namespace Grid;
Expand Down Expand Up @@ -195,5 +199,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1fEOFA.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

#ifdef GRID_DEFAULT_PRECISION_DOUBLE
#define MIXED_PRECISION
Expand Down Expand Up @@ -449,5 +453,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1fEOFA_F1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

#ifdef GRID_DEFAULT_PRECISION_DOUBLE
#define MIXED_PRECISION
Expand Down Expand Up @@ -442,5 +446,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
8 changes: 7 additions & 1 deletion HMC/Mobius2p1fIDSDRGparityEOFA_40ID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

using namespace Grid;

Expand Down Expand Up @@ -918,3 +922,5 @@ int main(int argc, char **argv) {
return 0;
#endif
} // main

#endif
8 changes: 7 additions & 1 deletion HMC/Mobius2p1fIDSDRGparityEOFA_48ID.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

using namespace Grid;

Expand Down Expand Up @@ -873,3 +877,5 @@ int main(int argc, char **argv) {
return 0;
#endif
} // main

#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1fRHMC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

int main(int argc, char **argv) {
using namespace Grid;
Expand Down Expand Up @@ -193,5 +197,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_EOFA_96I_3level.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

NAMESPACE_BEGIN(Grid);

Expand Down Expand Up @@ -512,5 +516,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_EOFA_96I_double.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

int main(int argc, char **argv) {
using namespace Grid;
Expand Down Expand Up @@ -345,5 +349,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_EOFA_96I_mixed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

NAMESPACE_BEGIN(Grid);

Expand Down Expand Up @@ -516,5 +520,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_EOFA_96I_mshift.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

NAMESPACE_BEGIN(Grid);

Expand Down Expand Up @@ -567,5 +571,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_RHMC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

int main(int argc, char **argv) {
using namespace Grid;
Expand Down Expand Up @@ -263,5 +267,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_RHMC_96I.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

int main(int argc, char **argv) {
using namespace Grid;
Expand Down Expand Up @@ -417,5 +421,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_DD_RHMC_96I_mixed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

NAMESPACE_BEGIN(Grid);

Expand Down Expand Up @@ -452,5 +456,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_EOFA_96I_hmc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>

NAMESPACE_BEGIN(Grid);

Expand Down Expand Up @@ -462,5 +466,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
9 changes: 6 additions & 3 deletions HMC/Mobius2p1f_EOFA_96I_hmc_double.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ See the full license in the file "LICENSE" in the top level distribution
directory
*************************************************************************************/
/* END LEGAL */
#include <Grid/Grid.h>

#include "disable_examples_without_instantiations.h"
#ifdef ENABLE_FERMION_INSTANTIATIONS

#include<Grid/Grid.h>



Expand Down Expand Up @@ -264,5 +268,4 @@ int main(int argc, char **argv) {
Grid_finalize();
} // main



#endif
Loading