From 249f5349f0aedf9301ecd65deb3e3724befb1da0 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 29 Aug 2012 14:04:25 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8732 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- lib/cuda/Makefile.defaults | 2 +- lib/cuda/Makefile.lammps | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cuda/Makefile.defaults b/lib/cuda/Makefile.defaults index 950d31d4e0..2e208c3649 100644 --- a/lib/cuda/Makefile.defaults +++ b/lib/cuda/Makefile.defaults @@ -6,7 +6,7 @@ precision ?= 1 verbose ?= 1 #GPU architecture (compute capability): 13, 20, 21 -arch ?= 21 +arch ?= 20 #Using cufft (should not be changed) cufft ?= 1 diff --git a/lib/cuda/Makefile.lammps b/lib/cuda/Makefile.lammps index 711e827a65..8ff782f5df 100644 --- a/lib/cuda/Makefile.lammps +++ b/lib/cuda/Makefile.lammps @@ -1,5 +1,5 @@ # Settings that the LAMMPS build will import when this package library is used -CUDA_FLAGS := -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=1 -DCUDA_ARCH=20 +CUDA_FLAGS := -I/usr/local/cuda/include -DUNIX -DFFT_CUFFT -DCUDA_PRECISION=1 -DX_PRECISION=2 -DV_PRECISION=2 -DCUDA_ARCH=20 CUDA_USRLIB_CONDITIONAL := -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcufft user-cuda_SYSINC = ${CUDA_FLAGS}