forked from lijiext/lammps
40 lines
1.7 KiB
Makefile
40 lines
1.7 KiB
Makefile
|
# /* ----------------------------------------------------------------------
|
||
|
# LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||
|
# http://lammps.sandia.gov, Sandia National Laboratories
|
||
|
# Steve Plimpton, sjplimp@sandia.gov
|
||
|
#
|
||
|
# Copyright (2003) Sandia Corporation. Under the terms of Contract
|
||
|
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
||
|
# certain rights in this software. This software is distributed under
|
||
|
# the GNU General Public License.
|
||
|
#
|
||
|
# See the README file in the top-level LAMMPS directory.
|
||
|
# ------------------------------------------------------------------------- */
|
||
|
#
|
||
|
# /* ----------------------------------------------------------------------
|
||
|
# Contributing authors: Mike Brown (ORNL), brownw@ornl.gov
|
||
|
# Peng Wang (Nvidia), penwang@nvidia.com
|
||
|
# Paul Crozier (SNL), pscrozi@sandia.gov
|
||
|
# ------------------------------------------------------------------------- */
|
||
|
|
||
|
CUDA_HOME = /usr/local/cuda
|
||
|
NVCC = nvcc
|
||
|
|
||
|
CUDA_ARCH = -arch=sm_11
|
||
|
CUDA_PRECISION = -D_SINGLE_SINGLE
|
||
|
CUDA_INCLUDE = -I$(CUDA_HOME)/include
|
||
|
CUDA_LIB = -L$(CUDA_HOME)/lib
|
||
|
CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math -m32
|
||
|
|
||
|
CUDR_CPP = mpic++
|
||
|
CUDR_OPTS = -O2 -m32 -g
|
||
|
|
||
|
BIN_DIR = ./
|
||
|
OBJ_DIR = ./obj
|
||
|
LIB_DIR = ./
|
||
|
AR = ar
|
||
|
BSH = /bin/sh
|
||
|
|
||
|
include Nvidia.makefile
|
||
|
|