Removed init. of pot_act_ext from main loop;
zero filling of pot_act_ext now only if external potential active; improved warning on minimum timestep; changed CUDAHOME to CUDA_HOME
This commit is contained in:
parent
0a2344563d
commit
064eb4e3c5
2 changed files with 18 additions and 19 deletions
20
Makefile
20
Makefile
|
|
@ -1,18 +1,18 @@
|
|||
CUDAHOME ?= /usr/local/cuda
|
||||
CUDA_HOME ?= /usr/local/cuda
|
||||
CPPFLAGS += -DETICS
|
||||
OPTIMIZATION ?= 3
|
||||
|
||||
CUDAINC = -I$(CUDAHOME)/include -I$(CUDAHOME)/samples/common/inc/
|
||||
CUDALIB = -L$(CUDAHOME)/lib64 -lcudart -lcudadevrt -lcuda
|
||||
CUDAINC = -I$(CUDA_HOME)/include -I$(CUDA_HOME)/samples/common/inc/
|
||||
CUDALIB = -L$(CUDA_HOME)/lib64 -lcudart -lcudadevrt -lcuda
|
||||
|
||||
default: grapite
|
||||
grapite: GRAPEHOME = ../grapite
|
||||
grapite: GRAPELIB = -L$(GRAPEHOME) -lgrapite
|
||||
yebisu: GRAPEHOME = ../yebisu
|
||||
yebisu: GRAPELIB = -L$(GRAPEHOME) -lyebisug6
|
||||
sapporo: GRAPEHOME = ../sapporo2/lib
|
||||
sapporo: GRAPELIB = -L$(GRAPEHOME) -lsapporo
|
||||
GRAPEINC = -I$(GRAPEHOME)
|
||||
grapite: GRAPE_HOME = ../grapite
|
||||
grapite: GRAPELIB = -L$(GRAPE_HOME) -lgrapite
|
||||
yebisu: GRAPE_HOME = ../yebisu
|
||||
yebisu: GRAPELIB = -L$(GRAPE_HOME) -lyebisug6
|
||||
sapporo: GRAPE_HOME = ../sapporo2/lib
|
||||
sapporo: GRAPELIB = -L$(GRAPE_HOME) -lsapporo
|
||||
GRAPEINC = -I$(GRAPE_HOME)
|
||||
|
||||
CXXFLAGS += -std=c++11 -O$(OPTIMIZATION)
|
||||
INC = $(GRAPEINC) $(CUDAINC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue