~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/gpu/Makefile.linux.mixed

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
EXTRAMAKE = Makefile.lammps.standard
9
9
 
10
10
CUDA_HOME = /usr/local/cuda
 
11
CUDA_HOME = /home/projects/openmpi/1.8.1/intel/13.1.SP1.106/cuda/6.0.37
11
12
NVCC = nvcc
12
13
 
 
14
# Kepler CUDA
 
15
#CUDA_ARCH = -arch=sm_35
13
16
# Tesla CUDA
14
17
CUDA_ARCH = -arch=sm_21
15
18
# newer CUDA
17
20
# older CUDA
18
21
#CUDA_ARCH = -arch=sm_10 -DCUDA_PRE_THREE
19
22
 
 
23
# this setting should match LAMMPS Makefile
 
24
# one of LAMMPS_SMALLBIG (default), LAMMPS_BIGBIG and LAMMPS_SMALLSMALL
 
25
 
 
26
LMP_INC = -DLAMMPS_SMALLBIG
 
27
 
 
28
# precision for GPU calculations
 
29
# -D_SINGLE_SINGLE  # Single precision for all calculations
 
30
# -D_DOUBLE_DOUBLE  # Double precision for all calculations
 
31
# -D_SINGLE_DOUBLE  # Accumulation of forces, etc. in double
 
32
 
20
33
CUDA_PRECISION = -D_SINGLE_DOUBLE
 
34
 
21
35
CUDA_INCLUDE = -I$(CUDA_HOME)/include
22
36
CUDA_LIB = -L$(CUDA_HOME)/lib64
23
37
CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math