You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: paper/basic_training.tex
+20-11Lines changed: 20 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -921,7 +921,7 @@ \subsection{Integrators}
921
921
Algorithms to perform this integration take many forms and are usually called integrators.
922
922
Here, we explain the need for integrators, discuss key criteria like energy conservation, and highlight a number of commonly used integrators.
923
923
924
-
\subsubsection{Desireable integrator properties}
924
+
\subsubsection{Desirable integrator properties}
925
925
926
926
So-called ``good'' integrators contain certain features that are appealing for molecule simulations.
927
927
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}
1155
1155
\begin{checklist}{Take stock of your plans}
1156
1156
1157
1157
\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?
\item Determine reference states that you are trying to emulate/discover.
1161
1161
\item What temperature, pressure, etc. are you interested in?
1162
1162
\item What is already known in the literature and what data do you wish to compare to?
1163
1163
\end{itemize}
1164
1164
\end{checklist}
1165
1165
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}
1167
1167
1168
1168
\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
1171
1172
\end{itemize}
1172
1173
\end{checklist}
1173
1174
1174
1175
\begin{checklist}{Determine handling of cutoffs}
1175
1176
\begin{itemize}
1176
1177
\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})
1178
1179
\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})
1179
1180
\end{itemize}
1180
1181
\end{checklist}
1181
1182
1182
-
\begin{checklist}{Choose appropriate settings for the desired ensemble:}
1183
+
\begin{checklist}{Choose appropriate settings for the desired ensemble}
1183
1184
\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.
1185
1186
\item Pick a barostat that gives the correct distribution of pressures
1186
1187
\item Consider the known shortcomings and limitations of certain integrators and thermostats/barostats and whether your choices will impact the properties you are calculating
1187
1188
\end{itemize}
@@ -1196,10 +1197,16 @@ \subsubsection{Grid based Ewald summation}
1196
1197
\end{itemize}
1197
1198
\end{checklist}
1198
1199
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
+
1199
1208
1200
1209
\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.}
1203
1210
1204
1211
\section{Should you run MD?}
1205
1212
@@ -1237,7 +1244,7 @@ \section{Use your MD simulations and interpret the results with care and caution
1237
1244
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.
1238
1245
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.
1239
1246
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}).
1241
1248
1242
1249
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.
1243
1250
While movies in some cases can be useful, proper error analysis is always essential.
@@ -1253,6 +1260,8 @@ \section{Conclusions}
1253
1260
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.
1254
1261
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.
1255
1262
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
+
1256
1265
Our focus here has been on the basics --- focusing on things you need to understand before beginning to prepare simulations for yourself.
1257
1266
Additionally, we have primarily focused on issues relating to how simulations are conducted, and leave data analysis for a separate treatment.
1258
1267
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