Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
7b3c83a0
Commit
7b3c83a0
authored
Jun 18, 2009
by
Michael Sherman
Browse files
Assume lower case "/usr/local/openmm" as the install directory.
parent
2f51951e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
examples/Makefile
examples/Makefile
+1
-1
examples/MakefileNotes.txt
examples/MakefileNotes.txt
+29
-0
No files found.
examples/Makefile
View file @
7b3c83a0
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
# gcc 4.1.2.
# gcc 4.1.2.
# Check whether this is the right capitalization for your install directory.
# Check whether this is the right capitalization for your install directory.
OpenMM_INSTALL_DIR
=
/usr/local/
O
pen
MM
OpenMM_INSTALL_DIR
=
/usr/local/
o
pen
mm
CFLAGS
=
-g
CFLAGS
=
-g
FFLAGS
=
-g
FFLAGS
=
-g
...
...
examples/MakefileNotes.txt
0 → 100644
View file @
7b3c83a0
Instructions for using the Makefile provided.
---------------------------------------------
You must already have the OpenMM binaries installed from SimTK.org/home/OpenMM. Pay careful attention to the installation
instructions -- if you are hoping to get GPU acceleration you
may also have to install appropriate vendor libraries and a driver.
You may need to slightly edit the Makefile to make it run on your system, depending where you installed OpenMM.
Type "make" (or "make default") to get just one C++ example built
(HelloArgon). Make sure it runs.
To compile all example programs type "make all". That includes Fortran
examples though so you will see failures unless you have gfortran
installed. However, the C++ and C examples should compile with just
g++.
To build just one example, type "make HelloArgonInC" or whatever.
Before you run the executables, remember to add the OpenMM dynamic library directory to your library path.
The simplest way to do this is to type the following commands:
For linux (for the bash shell, assuming installation was done in the default location: /usr/local/openmm):
$ export LD_LIBRARY_PATH=/usr/local/openmm/lib
For MAC (for the bash shell, assuming installation was done in the default location: /usr/local/openmm):
$ export DYLD_LIBRARY_PATH=/usr/local/openmm/lib
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment