From 3ef0f1d5d647b10275c47133fd6be914d2ebaf50 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Thu, 18 Aug 2011 17:32:18 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6728 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- lib/cuda/README | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/cuda/README diff --git a/lib/cuda/README b/lib/cuda/README new file mode 100644 index 0000000000..ce0dedcffe --- /dev/null +++ b/lib/cuda/README @@ -0,0 +1,26 @@ +This directory has source files to build a library that LAMMPS +links against when using the USER-CUDA package. + +When you are done building this library, two files should +exist in this directory: + +liblammpscuda.a the library LAMMPS will link against +Makefile.lammps settings the LAMMPS Makefile will import + +The latter file will have settings like this (can be omitted if blank): + +user-cuda_SYSINC = -I$(CUDA_INSTALL_PATH)/include +user-cuda_SYSLIB = -lcuda -lcudart -lrt +user-cuda_SYSPATH = -L$(CUDA_INSTALL_PATH)/lib64 -L$(CUDA_INSTALL_PATH)/lib $(CUDA_USRLIB_CONDITIONAL) + +SYSINC is for settings needed to compile LAMMPS source files +SYSLIB is for additional system libraries needed by this package +SYSPATH is the path(s) to where those libraries are + +You must insure these settings are correct for your system, else +the LAMMPS build will likely fail. + +------------------------------------------------------------------------- + +Christian - there needs to additional info here about how +to build the lammpscuda lib.