# /* ---------------------------------------------------------------------- # 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. # ------------------------------------------------------------------------- */ # # /* ---------------------------------------------------------------------- # Makefile for the TACC longhorn cluster. Use "module load cuda". # ------------------------------------------------------------------------- */ CUDA_HOME = $(TACC_CUDA_DIR) NVCC = nvcc CUDA_ARCH = -arch=sm_13 CUDA_PRECISION = -D_SINGLE_SINGLE CUDA_INCLUDE = -I$(CUDA_HOME)/include CUDA_LIB = -L$(TACC_CUDA_LIB) -Wl,-rpath,$(TACC_CUDA_LIB) CUDA_OPTS = -DUNIX -O3 -Xptxas -v --use_fast_math CUDR_CPP = mpicxx -DMPI_GERYON -DUCL_NO_EXIT -DMPICH_IGNORE_CXX_SEEK CUDR_OPTS = -O2 # -xHost -no-prec-div -ansi-alias BIN_DIR = ./ OBJ_DIR = ./ LIB_DIR = ./ AR = ar include Nvidia.makefile