Skip to content
Snippets Groups Projects
Commit 026a225d authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files
parent b191fc40
No related branches found
No related tags found
No related merge requests found
...@@ -258,14 +258,23 @@ you need to download the SOURCE of VMD, which contains ...@@ -258,14 +258,23 @@ you need to download the SOURCE of VMD, which contains
a plugins directory. Adapt build.sh and compile it. At a plugins directory. Adapt build.sh and compile it. At
the end, you should get the molfile plugins compiled as a static the end, you should get the molfile plugins compiled as a static
library `libmolfile_plugin.a`. Locate said file and `libmolfile_plugin.h`, library `libmolfile_plugin.a`. Locate said file and `libmolfile_plugin.h`,
and customize the configure command with something along they should be in a directory called `/pathtovmdplugins/ARCH/molfile`
the lines of: (e.g. `/pathtovmdplugins/MACOSXX86_64/molfile`). Also locate file `molfile_plugin.h`,
which should be in `/pathtovmdplugins/include`.
Then customize the configure command with something along the lines of:
\verbatim \verbatim
./configure LDFLAGS="-ltcl8.5 -L/mypathtomolfilelibrary/ -L/mypathtotcl" CPPFLAGS="-I/mypathtolibmolfile_plugin.h/" ./configure LDFLAGS="-L/pathtovmdplugins/ARCH/molfile" CPPFLAGS="-I/pathtovmdplugins/include -I/pathtovmdplugins/ARCH/molfile"
\endverbatim \endverbatim
and rebuild. Notice that it might be necessary to add to `LDFLAGS` the path to your TCL interpreter, e.g.
\verbatim
./configure LDFLAGS="-ltcl8.5 -L/mypathtotcl -L/pathtovmdplugins/ARCH/molfile" \
CPPFLAGS="-I/pathtovmdplugins/include -I/pathtovmdplugins/ARCH/molfile"
\endverbatim
Then, rebuild plumed.
\section CompilingPlumed Compiling PLUMED \section CompilingPlumed Compiling PLUMED
......
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