Please open the LJ fluid in Gromacs Wiki on Blackboard (Navigate through Course Documents → Practicals →Practical 11 → LJ Fluid in Gromacs).
It has further instructions and you will create your own wiki page to store results from this session.
Gromacs is a very fast MD code that can be used for classical (and mixed QM/MM) MD simulations of biomolecules and other systems.
Install the precompiled distribution on your workstation:
curl -O http://becksteinlab.physics.asu.edu/pages/courses/2013/SimBioNano/11/gromacs455_static_MacOSX_10.6.8.tgz cd ~ tar -zxvf gromacs455_static_MacOSX_10.6.8.tgz
This unpacks the distribution into
$HOME/opt. In order to
run any of the Gromacs tools one needs to set up the Gromacs environment
by running in the shell:
(This is called to
source GMXRC because instead of the
command you could also use
Check that this worked by executing
should give you the help information of the mdrun program.
Whenever you want to run Gromacs you have to source GMXRC at the beginning of your shell session. If you use multiple shells then you have to do it for each shell. GMXRC sets a number of environment variables that Gromacs requires to point to very specific places. You can look at the file ~/opt/bin/GMXRC.bash to see what happens.
Note that the
GMXRC environment script expects to find everything under
$HOME/opt. If you move the whole
elsewhere then you need to manually change the
The src directory contains the source code for Gromacs 4.5.5 and for FFTW 3.3.1 (fast fourier transform library) together with instructions how they can be compiled (file compiling.txt). These instructions should work for both Mac OS X (if the C compiler is installed) and Linux.