Skip to content
Snippets Groups Projects
Commit 49cbeb98 authored by Paul Baumeister's avatar Paul Baumeister
Browse files

manually merge

parents cd1f3be3 13a8026a
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ TYPE ?= nodebug
### the user may specify SMP=openmp as a command line argument to make
SMP ?= none
### can we make use of the tfQMRgpu library
tfQMRgpu ?= no
PROGRAM = kkr.exe
# Path to put object files and module files
......@@ -21,6 +24,12 @@ ifeq ($(tfQMRgpu),yes)
CUDA_PATH=-L/usr/local/zam/CUDA/cuda-9.1/lib64
endif
EXTRA_FLAGS ?=
ifeq ($(tfQMRgpu),yes)
EXTRA_FLAGS += -D has_tfQMRgpu
endif
FC90FLAGS =
FCFLAGS =
PPFLAGS =
......@@ -406,6 +415,11 @@ OBJS += $(notdir ${SRCS90FPP:.F90=.o})
OBJS += $(notdir ${SRCS95TMPL:.F95=.o})
ifeq ($(tfQMRgpu),yes)
OBJS += tfqmrgpu_Fortran.o tfqmrgpu_Fortran_wrappers.o tfqmrgpu.o
LDFLAGS += -L/usr/local/cuda/lib64 -lcudart -lnvToolsExt -lm -lcurand
endif
.PHONY: all
all: $(PROGRAM)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment