Multiple changed mostly focusing on active particle search

* Added optional active particle search via GRAPite.

* Fixed ETICS_DTSCF in the Makefile.

* Disabled ETICS_CEP by default.

* Renamed and improved the initialization Python script
This commit is contained in:
Yohai Meiron 2020-02-26 18:54:40 -05:00
parent 8ae1f0991d
commit 953a8286eb
4 changed files with 136 additions and 78 deletions

View file

@ -2,7 +2,7 @@ CUDAHOME ?= /usr/local/cuda
CPPFLAGS += -DYEBISU -DETICS
OPTIMIZATION ?= 3
DTSCF ?= 0.015625
ETICS_DTSCF ?= 0.015625
CUDAINC = -I$(CUDAHOME)/include -I$(CUDAHOME)/samples/common/inc/
CUDALIB = -L$(CUDAHOME)/lib64 -lcudart -lcudadevrt
@ -21,7 +21,7 @@ MPICC ?= mpicc
EXECUTABLE ?= phi-GRAPE.exe
default:
$(MPICC) $(CPPFLAGS) $(CFLAGS) $(INC) -DDTSCF=$(DTSCF) phi-GRAPE.c -o $(EXECUTABLE) $(LIB)
$(MPICC) $(CPPFLAGS) $(CFLAGS) -DETICS_DTSCF=$(ETICS_DTSCF) $(INC) phi-GRAPE.c -o $(EXECUTABLE) $(LIB)
yebisu: CPPFLAGS := $(filter-out -DETICS, $(CPPFLAGS))
yebisu: default