[gmx-users] large sim box
mark.abraham at anu.edu.au
Mon May 24 22:02:27 CEST 2010
----- Original Message -----
From: Yan Gao <y1gao at ucsd.edu>
Date: Tuesday, May 25, 2010 3:02
Subject: [gmx-users] large sim box
To: Discussion list for GROMACS users <gmx-users at gromacs.org>
> Hi There,
> I want to use a large simulation box. I did a trial
with 15 * 15 * 15 nm box for 100 steps. genbox_d generates 110k water
molecules, or 330k atoms.
> It looks like that gromacs can run that
large number of atoms. I am sure it will take a long long long time.
However if I really want to simulate it, is there any way that I can
increase the speed? (except using a better cpu, or paralleling it)
You can control the cost through choice of algorithm and implementation. That means you need to learn how they work and whether some trade-offs are suitable for you. That's going to mean lots of reading, and some experimentation on more tractable systems. Learn to walk before you try to run! However, the only serious way to approach a system this large is with parallelization. Also, reconsider your use of double precision.
> My second question is that: If I have to use clusters or super
computer, which one is better? and, do I need a particular
software/program to paralleling it? Thanks.
GROMACS does parallelization using MPI, which will be available on any machine you can find. There are platforms for which GROMACS does not have the specially-optimized non-bonded inner loops - avoid such platforms if you have the choice. You should read the 2008 GROMACS JCTC paper.
> I put my .mdp below:
> integrator = md
> ; duration 2000 ps
> nsteps = 100
> nstcomm = 1
> ; dump config every 300 fs
nstxout = 10
> nstvout = 10
Writing output of all of energies, forces and velocities this often is a waste of time in production simulations. Adjacent data points 10 MD steps apart will be strongly correlated, even if you plan to use the force and/or velocity data. Consider the needs of your analysis, and probably plan to use nstxtcout instead of any of these.
> nstcheckpoint = 100
> nstenergy = 10
> nstxtcout = 10
xtc-precision = 1000000
Read what this does.
> nstlist = 1
> pbc = xyz
> rlist =
> coulombtype = PME
= 1.0 ;1.0
fourierspacing = 0.2 ;0.1
That will noticeably reduce the cost of PME, but its effect on accuracy is not well known.
> pme_order = 4
> optimize_fft = yes
> vdwtype =
> rvdw = 1.0 ;1.0
tc_grps = system
This is often a poor choice. grompp probably told you that.
> tau_t = 0.5
> Pcoupl = no
> annealing = no
> gen_temp = 300.0
gen_seed = 173529
> constraints = none
You must use constraints if you wish a 2fs timestep.
= C_H C_H
> constraint_algorithm = lincs
> lincs_order = 4
> lincs_iter = 1
More information about the gromacs.org_gmx-users