Skip to content
Snippets Groups Projects
Commit 0bc64470 authored by cmaffeo2's avatar cmaffeo2
Browse files

Updated README, included new smaller test simulation

parent 173dc7e1
No related branches found
No related tags found
No related merge requests found
...@@ -17,15 +17,22 @@ the GPU and enabling grid-specified particle models. Please be aware that ARBD ...@@ -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. 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 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, 6.0 compute capability. The code should work with devices with compute capability >=2.0,
but no guarantees are being made. 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. ...@@ -36,10 +43,12 @@ Please explore the examples in the 'tests' directory.
For example, try the following commands: For example, try the following commands:
cd tests/argon cd tests/argon-small
mkdir output mkdir output
../../src/arbd BrownDyn.bd output/BrownDyn > output/BrownDyn.log ../../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 | | Citing |
......
...@@ -42,10 +42,7 @@ SM=$(lastword $(sort $(SMS))) ...@@ -42,10 +42,7 @@ SM=$(lastword $(sort $(SMS)))
NV_FLAGS += -gencode arch=compute_$(SM),code=sm_$(SM) NV_FLAGS += -gencode arch=compute_$(SM),code=sm_$(SM)
NVLD_FLAGS := $(NV_FLAGS) --device-link NVLD_FLAGS := $(NV_FLAGS) --device-link
LD_FLAGS = -L$(LIBRARY) -lcurand -lcudart -lcudadevrt -Wl,-rpath,$(LIBRARY) LD_FLAGS = -L$(LIBRARY) -lcurand -lcudart -lcudadevrt -Wl,-rpath,$(LIBRARY)
LD_FLAGS += -lcuda
### Sources ### Sources
CC_SRC := $(wildcard *.cpp) CC_SRC := $(wildcard *.cpp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment