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
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,17 @@ invert
offline_measurement
lib/
benchmark
Makefile.in
/aclocal.m4
/compile
/config.guess
/config.h.in
/config.sub
/depcomp
/install-sh
/missing
/ylwrap
/GPATH
/GRTAGS
/GTAGS
/compile_commands.json
102 changes: 102 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
lib_LIBRARIES=lib/libtmLQCD.a

AM_LDFLAGS=-L@top_builddir@/lib
LDADD=@top_builddir@/lib/libtmLQCD.a

## the GPU modules (all .cu files in $GPUDIR)
#GPUSOURCES := $(wildcard $(srcdir)/$(GPUDIR)/*.cu)
#GPUOBJECTS := $(patsubst $(srcdir)/$(GPUDIR)/%.cu, $(GPUDIR)/%.o, $(GPUSOURCES))

#GPUSOURCES_C := $(wildcard $(srcdir)/$(GPUDIR)/*.c)
#GPUOBJECTS_C := $(patsubst $(srcdir)/$(GPUDIR)/%.c, $(GPUDIR)/%.o, $(GPUSOURCES_C))

#NOOPTMOD = test/check_xchange test/check_geometry

bin_PROGRAMS = \
hmc_tm \
invert \
benchmark \
offline_measurement

# run the GIT-VERSION-GEN script to generate version information in git_hash.h
# making sure that we run in the correct directory
git_hash.h: $(top_srcdir)/.git/HEAD $(top_srcdir)/.git/index Makefile
@ ( cd @srcdir@ && sh GIT-VERSION-GEN )
BUILT_SOURCES=git_hash.h

# The rules for unit tests are kept in a separate file for tidyness
#include ${top_srcdir}/Makefile.tests
lib_libtmLQCD_a_SOURCES= \
DDalphaAMG_interface.c \
P_M_eta.c \
Ptilde_nd.c \
X_psi.c \
aligned_malloc.c \
block.c \
boundary.c \
chebyshev_polynomial_nd.c \
deriv_Sb.c \
deriv_Sb_D_psi.c \
expo.c \
fatal_error.c \
gamma.c \
geometry_eo.c \
get_rectangle_staples.c \
get_staples.c \
getopt.c \
gettime.c \
integrator.c \
invert_clover_eo.c \
invert_doublet_eo.c \
invert_eo.c \
invert_overlap.c \
jacobi.c \
little_D.c \
matrix_utils.c \
measure_gauge_action.c \
measure_rectangles.c \
mpi_init.c \
operator.c \
phmc.c \
prepare_source.c \
ranlxd.c \
ranlxs.c \
reweighting_factor.c \
reweighting_factor_nd.c \
rnd_gauge_trafo.c \
sighandler.c \
source_generation.c \
spinor_fft.c \
start.c \
temporalgauge.c \
update_backward_gauge.c \
update_gauge.c \
update_momenta.c \
update_tm.c

AM_YFLAGS=-Ptmlqcd -i
lib_libtmLQCD_a_SOURCES+= \
read_input.l

include buffers/Makefile.am
include init/Makefile.am
include io/Makefile.am
include linalg/Makefile.am
include meas/Makefile.am
include monomial/Makefile.am
include operator/Makefile.am
include rational/Makefile.am
include solver/Makefile.am
include test/Makefile.am
include xchange/Makefile.am
include wrapper/Makefile.am

if USE_SPI
lib_libtmLQCD_a_SOURCES+= \
DirectPut.c
endif

if USE_QUDA
lib_libtmLQCD_a_SOURCES+= \
quda_interface.c
endif
11 changes: 11 additions & 0 deletions buffers/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
lib_libtmLQCD_a_SOURCES+= \
%D%/gauge.c \
%D%/gauge_allocate_gauge_buffers.c \
%D%/gauge_finalize_gauge_buffers.c \
%D%/gauge_free_unused_gauge_buffers.c \
%D%/gauge_get_gauge_field.c \
%D%/gauge_get_gauge_field_array.c \
%D%/gauge_initialize_gauge_buffers.c \
%D%/gauge_return_gauge_field.c \
%D%/gauge_return_gauge_field_array.c \
%D%/utils_generic_exchange.c
Loading