lattice / quda

QUDA is a library for performing calculations in lattice QCD on GPUs.
https://lattice.github.io/quda
Other
279 stars 94 forks source link

Staggered Dslash not disabled. #2

Closed bjoo closed 13 years ago

bjoo commented 13 years ago

Hi Folks, I've been trying to build QUDA with staggered disabled. Indeed looking at the compile line:

/usr/local/cuda/bin/nvcc -O3 -D__CUDA_ARCH__=200 -ftz=true -prec-div=false -prec-sqrt=false -DMULTI_GPU -DOVERLAP_COMMS -DGPU_WILSON_DIRAC -arch=sm_20 -I/usr/local/cuda/include -DQMP_COMMS -I/home/bjoo/Devel/QCD/install/qmp/qmp2-1-6/openmpi/include -I../include -Idslash_core -I. dslash_quda.cu -c -o dslash_quda.o

ie no -DGPU_STAGGERED_DIRAC, but yet it looks like staggered dslash core is being processed: dslash_core/staggered_dslash_core.h(237) : warning: variable "sign" was set but never used

Best, B

gshi commented 13 years ago

Balint,

problem confirmed. I did not put in a macro in staggered_dslash_def.h to control the compiling. I will put in a fix soon.

-Guochun

gshi commented 13 years ago

OK, it should be fixed now.