This project is a fork of the gromacs.git project. If you have that one already cloned locally, you can use
git clone --reference /path/to/your/gromacs.git/incarnation mirror_URL
to save bandwidth during cloning.
 
descriptionGromacs manual
homepage URLhttp://manual.gromacs.org
repository URLgit://git.gromacs.org/manual
ownerjunghans@votca.org
last changeFri, 11 Oct 2013 15:00:26 +0000 (11 17:00 +0200)
last refreshSat, 12 Dec 2020 11:26:12 +0000 (12 12:26 +0100)
content tags
add:
README
So, you want to build the manual?

It used to be a bit inconvenient. It still is, but CMake can take care
of more of the LaTeX and file-copying monkey work, using the
UseLaTeX.cmake package. Documentation and source updates for it
can be found here http://www.itk.org/Wiki/CMakeUserUseLATEX

The UseLaTeX.cmake package requires an "out of source" build, so make
a new directory somewhere, and from it run "ccmake ${this_directory}".
This directory can be inside the manual directory, or outside. You
will need to provide values for two CMake cached variables, which
are the location of installed GROMACS binaries, and the location of
a GROMACS source distribution. Obviously, these should correspond to
what you want to build the manual from. This will take care of building
all of the parts of the manual that are made directly from the source,
and the parts that are made from the executables themselves.

Having told cmake about those locations, it will check that you're
not obviously wrong. With ccmake, keep using 'c' for configure
until ccmake will let you use 'g' for generate. Now "make pdf" will
make the PDF manual.

Alternatively, you can run commands like

mkdir build_manual
cd build_manual
cmake .. -DGMXSRC=/home/me/GROMACS/git/release-4-5-patches -DGMXBIN=/home/me/programs/gmx-git/bin

to do it from the command line.

Various files from old-style manual builds can break the CMake
dependency generation. If you run "make clean" from the manual directory,
it will get rid of g_options.tex, proglist.tex, progman.tex and mdp_opt.tex,
as well as the progman directory and old LaTeX output files.

The binaries directory should contain only one version of the GROMACS
binaries - not multiple versions with _mpi, _d suffixes, etc.

Old README contents follow - this are partly out of date.
--------------

It's not terribly difficult, but before you just run 'make' and let
LaTeX do the job, we need to create a couple of files from the Gromacs 
source. 

Over the years we have learnt that the only way we will keep documentation
up to date is if most of it is generated automatically from the same source.

Before you start you need both the Gromacs source and a set of working
executables.

These are the items that need to be generated:

1. A LaTeX version of all the options in the mdp file.
   This is generated from the HTML version in the Gromacs source.
   Run the script mkmdp in this directory, with the HTML directory as
   the first argument, e.g.:

   ./mkmdp /home/lindahl/gromacs-3.2.1/share/html

   NOTE: We do a pretty complicated parsing of the mdp_opt.html file, so even
   if the file displays correctly in a browser it is quite possible that minor
   errors will screw up the TeX parsing completely. If you get inexplicable
   warnings/errors, this file is the first place to look...


2. The help information and command line options for all Gromacs executables.
   This is generated from the compiled executables. Run the script mkman with
   the binary directory as the first argument, e.g.:

   ./mkman /usr/local/gromacs/powerpc-apple-darwin7.2.0/bin/


3. Generate the list of programs, proglist.tex.
   This is done in two steps. First, copy the list of programs from the
   admin directory in the gromacs source, .e.g:

   cp /home/lindahl/gromacs-3.2.1/admin/programs.txt .

   And then generate proglist.tex:

   ./mk_proglist


4. Generate the list of standard options. 
   This is done by compiling the program 'options' in the src/contrib directory
   of Gromacs. Go there and type 'make options', and copy the executable to this
   directory. Then create options.tex in this directory with

   make options.tex


That should be it. Now try 'make pdf' if you have pdflatex installed, or
just 'make' to create a postscript file with classical latex and dvips.
shortlog
2013-10-11 Mark AbrahamAccompanying changes for analytical CUDA PME kernelsrelease-4-6
2013-09-09 Justin LemkulFixed two references related to polarization. Journal...
2013-08-01 Christoph Junghansgro format: residuename should be left formatted
2013-03-19 Simón PobleteClarify thermforce motivation36/2236/1
2013-03-06 Justin LemkulEdits thermostat section.18/2218/1
2013-03-05 Justin LemkulRevisions to environment variable section.55/2055/5
2013-03-05 Mark AbrahamMerge "mkman: fix g_options.tex generation" into releas...
2013-02-19 Mark AbrahamUpdates83/2183/1
2013-02-19 Mark AbrahamModernized copyright headers82/2182/1
2013-02-19 Mark AbrahamMerge branch 'release-4-5-patches' into release-4-681/2181/1
2013-02-19 Mark AbrahamMerge "removed section on OpenMM, added GPU section...
2013-02-18 Berk Hessremoved section on OpenMM, added GPU section in install79/2179/1
2013-02-10 David van der... Fixed unit for Urey-Bradley angle force constant.43/2143/1release-4-5-patches
2013-02-08 Mark AbrahamMerge "updated the installation section for 4.6" into...
2013-01-28 Christoph Junghansmkman: fix g_options.tex generation19/2119/1
2013-01-25 Christoph JunghansMerge "Corrected license from GPL to LGPL v2.1." into...
...
heads
10 years ago master
10 years ago release-4-6
11 years ago release-4-5-patches