Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tbgl
tools
arbd
Commits
0bc64470
Commit
0bc64470
authored
8 years ago
by
cmaffeo2
Browse files
Options
Downloads
Patches
Plain Diff
Updated README, included new smaller test simulation
parent
173dc7e1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+16
-7
16 additions, 7 deletions
README
src/Makefile
+0
-3
0 additions, 3 deletions
src/Makefile
with
16 additions
and
10 deletions
README
+
16
−
7
View file @
0bc64470
...
@@ -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 |
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
+
0
−
3
View file @
0bc64470
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment