Skip to content

Commit 7cea36c

Browse files
committed
Update checklist, reference in text
1 parent 7f7c9d3 commit 7cea36c

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

paper/basic_training.tex

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ \subsection{Integrators}
921921
Algorithms to perform this integration take many forms and are usually called integrators.
922922
Here, we explain the need for integrators, discuss key criteria like energy conservation, and highlight a number of commonly used integrators.
923923

924-
\subsubsection{Desireable integrator properties}
924+
\subsubsection{Desirable integrator properties}
925925

926926
So-called ``good'' integrators contain certain features that are appealing for molecule simulations.
927927
We start with the most obvious feature, which is that the integrator induces little error in the dynamics.
@@ -1155,33 +1155,34 @@ \subsubsection{Grid based Ewald summation}
11551155
\begin{checklist}{Take stock of your plans}
11561156

11571157
\begin{itemize}
1158-
\item \textbf{Count the cost: } Think about what you know about the timescales of what you want to observe and determine whether it is tractable to simulate this given the size of your system, your computational resources, and the expense of the simulation.
1158+
\item \textbf{Count the cost: } Think about what you know about the timescales of what you want to observe and determine whether it is tractable to simulate this given the size of your system, your computational resources, and the expense of the simulation. Would the questions you want to answer be better addressed a different way?
11591159
\item Pick the desired ensemble ($NVT$, $NPT$, $NVE$, $\mu VT$, $\mu PT$)
11601160
\item Determine reference states that you are trying to emulate/discover.
11611161
\item What temperature, pressure, etc. are you interested in?
11621162
\item What is already known in the literature and what data do you wish to compare to?
11631163
\end{itemize}
11641164
\end{checklist}
11651165

1166-
\begin{checklist}{Prepare to implement your plans and make critical decisions about system type}
1166+
\begin{checklist}{Prepare to implement your plans and make critical decisions the system}
11671167

11681168
\begin{itemize}
1169-
\item Choose a simulation package suitable for simulating that ensemble (see best practices document) % link
1170-
\item Determine whether you are simulating a bulk (typically periodic) or finite system and choose the appropriate cutoff types and periodicity (full periodicity for bulk systems, partial periodicity for interfaces, etc.) as discussed in [section] % reference section whatever
1169+
\item Choose a simulation package suitable for simulating that ensemble with your target force field
1170+
\item Determine whether you are simulating a bulk (typically periodic) or finite system and choose the appropriate cutoff types and periodicity (full periodicity for bulk systems, partial periodicity for interfaces, etc.) as discussed in Section~\ref{sec:periodic}
1171+
\item Prepare your system, paying particular attention to ensuring it contains the chemical components you want with the structures you want, and that force field parameters are assigned as intended
11711172
\end{itemize}
11721173
\end{checklist}
11731174

11741175
\begin{checklist}{Determine handling of cutoffs}
11751176
\begin{itemize}
11761177
\item As a general rule, electrostatics are long-range enough that either the cutoff needs to be larger than the system size (for finite systems) or
1177-
periodicity is needed
1178+
periodicity is needed along with full treatment of long-range electrostatics (Section~\cite{lr_electrostatics})
11781179
\item Nonpolar interactions can often be safely treated with cutoffs of 1-1.5 nm as long as the system size is at least twice that, but long-range dispersion corrections may be needed (Section~\ref{sec:force_fields})
11791180
\end{itemize}
11801181
\end{checklist}
11811182

1182-
\begin{checklist}{Choose appropriate settings for the desired ensemble:}
1183+
\begin{checklist}{Choose appropriate settings for the desired ensemble}
11831184
\begin{itemize}
1184-
\item Pick a thermostat that gives the correct distribution of temperatures, not just the correct average temperature
1185+
\item Pick a thermostat that gives the correct distribution of temperatures, not just the correct average temperature; if you have a small system or a system with weakly interacting component choose one which works well even in the small-system limit.
11851186
\item Pick a barostat that gives the correct distribution of pressures
11861187
\item Consider the known shortcomings and limitations of certain integrators and thermostats/barostats and whether your choices will impact the properties you are calculating
11871188
\end{itemize}
@@ -1196,10 +1197,16 @@ \subsubsection{Grid based Ewald summation}
11961197
\end{itemize}
11971198
\end{checklist}
11981199

1200+
\begin{checklist}{Determine your run protocol}
1201+
\begin{itemize}
1202+
\item Plan how you will minimize and equilibrate your system and test that your equilibration protocol actually allows you to reach equilibrium in the target ensemble (Section~\ref{sec:main_steps})
1203+
\item Determine production settings, how many steps to run, and how often to store data/what data to store
1204+
\item Ensure you have sufficient storage, memory, and computer time to complete the planned calculations
1205+
\end{itemize}
1206+
\end{checklist}
1207+
11991208

12001209
\end{Checklists*}
1201-
\todo[inline, color={yellow!20}]{DLM: Also need to point out the checklist above and discuss it in the text somewhere.}
1202-
\todo[inline, color={yellow!20}]{DLM: I also need to go over the checklist again and make sure it is what we want/addresses key issues (and everything there is addressed in the text.}
12031210

12041211
\section{Should you run MD?}
12051212

@@ -1237,7 +1244,7 @@ \section{Use your MD simulations and interpret the results with care and caution
12371244
For example, even a very short, unequilibrated MD simulation can produce movies which appear interesting and, by virtue of the fact that they result from MD, reveal the positions of all the atoms in a system as a function of time.
12381245
It's easy to run several short MD simulations where (for example) the composition of the system is varied, and conclude that any observed differences are a result of variations in composition.
12391246
But as noted in Section~\ref{sec:velocities}, even simulations started from the \emph{same} structure but slightly different initial positions or velocities will diverge over time yielding different results, so perhaps any differences are simply a result of this divergence rather than due to the change in conditions.
1240-
Thus, analysis will require great care and caution to avoid overinterpreting data, and error analysis becomes particularly critical (as discussed in \url{https://github.com/dmzuckerman/Sampling-Uncertainty})).
1247+
Thus, analysis will require great care and caution to avoid overinterpreting data, and error analysis becomes particularly critical (as discussed in \url{https://github.com/dmzuckerman/Sampling-Uncertainty}).
12411248

12421249
In summary, then, do not use MD simulations simply to make movies and inspect these; MD simulations do not produce the answer, and considerable care must be exercised to avoid overinterpeting the full atomistic detail they always provide.
12431250
While movies in some cases can be useful, proper error analysis is always essential.
@@ -1253,6 +1260,8 @@ \section{Conclusions}
12531260
Still, MD simulations require considerable care, as conducting them requires choosing a variety of settings, and the optimal choice of settings typically depends on the problem being considered.
12541261
Thus, it is our hope that this document provides a helpful overview of some of the fundamental considerations for preparing and conducting MD simulations and paves the way for more specialized documents which will focus on calculations of specific properties or for specific classes of systems, since the approach employed will often need to vary depending on such choices.
12551262

1263+
This document also provides a checklist covering some of the key points raised in this work and highlighting particularly common sources of failure; we encourage readers to follow this when considering a simulation study.
1264+
12561265
Our focus here has been on the basics --- focusing on things you need to understand before beginning to prepare simulations for yourself.
12571266
Additionally, we have primarily focused on issues relating to how simulations are conducted, and leave data analysis for a separate treatment.
12581267
As a starting point relating to data analysis, readers should probably review the Best Practices document on sampling and uncertainty estimation (\url{https://github.com/dmzuckerman/Sampling-Uncertainty})).

0 commit comments

Comments
 (0)