From 0bc64470daea82496bc6d4aaa6ad593ca2e11ffd Mon Sep 17 00:00:00 2001 From: Chris Maffeo <cmaffeo2@illinois.edu> Date: Thu, 10 Nov 2016 16:39:43 -0600 Subject: [PATCH] Updated README, included new smaller test simulation --- README | 23 ++++++++++++++++------- src/Makefile | 3 --- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/README b/README index 6761c44..8706909 100644 --- a/README +++ b/README @@ -17,15 +17,22 @@ the GPU and enabling grid-specified particle models. Please be aware that ARBD is being actively developed and is offered without warranty. -/==============\ -| Installation | -\==============/ +/==========\ +| Building | +\==========/ -To build, please run `make' in the src directory +To build, please run `make' in the src directory. + +If your CUDA toolkit is installed in a nonstandard location, you may specify +that location using the CUDA_PATH environment variable. For example: +make CUDA_PATH=/nonstandard/path/to/cuda Note that ARBD was developed using CUDA-8.0 and targets NVIDIA GPUs featuring -6.0 compute capability. The code should still run using older NVIDIA hardware, -but no guarantees are being made. +6.0 compute capability. The code should work with devices with compute capability >=2.0, +but there are no guarantees. + +Older versions of CUDA are not compatible with SM 6.0, so you may need to change +the SMS variable in the makefile, or specify it as an argument to make. /==============\ @@ -36,10 +43,12 @@ Please explore the examples in the 'tests' directory. For example, try the following commands: -cd tests/argon +cd tests/argon-small mkdir output ../../src/arbd BrownDyn.bd output/BrownDyn > output/BrownDyn.log +You may use the '-g n' option to specify the n-th GPU on your machine, counting from 0. + /========\ | Citing | diff --git a/src/Makefile b/src/Makefile index 220becc..c208421 100644 --- a/src/Makefile +++ b/src/Makefile @@ -42,10 +42,7 @@ SM=$(lastword $(sort $(SMS))) NV_FLAGS += -gencode arch=compute_$(SM),code=sm_$(SM) NVLD_FLAGS := $(NV_FLAGS) --device-link - LD_FLAGS = -L$(LIBRARY) -lcurand -lcudart -lcudadevrt -Wl,-rpath,$(LIBRARY) -LD_FLAGS += -lcuda - ### Sources CC_SRC := $(wildcard *.cpp) -- GitLab