Hostname: page-component-74656f9884-rdgjk Total loading time: 0 Render date: 2026-11-07T09:55:11.937Z Has data issue: false hasContentIssue false

Speculation and replication in temperature accelerated dynamics

Published online by Cambridge University Press:  12 February 2018

Richard J. Zamora
Affiliation:
Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
Danny Perez
Affiliation:
Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
Arthur F. Voter*
Affiliation:
Theoretical Division, Los Alamos National Laboratory, Los Alamos, New Mexico 87545, USA
*
a)Address all correspondence to this author. e-mail: afv@lanl.gov

Abstract

Accelerated Molecular Dynamics (AMD) is a class of MD-based algorithms for the long-time scale simulation of atomistic systems that are characterized by rare-event transitions. Temperature-Accelerated Dynamics (TAD), a traditional AMD approach, hastens state-to-state transitions by performing MD at an elevated temperature. Recently, Speculatively-Parallel TAD (SpecTAD) was introduced, allowing the TAD procedure to exploit parallel computing systems by concurrently executing in a dynamically generated list of speculative future states. Although speculation can be very powerful, it is not always the most efficient use of parallel resources. Here, we compare the performance of speculative parallelism with a replica-based technique, similar to the Parallel Replica Dynamics method. A hybrid SpecTAD approach is also presented, in which each speculation process is further accelerated by a local set of replicas. Overall, this work motivates the use of hybrid parallelism whenever possible, as some combination of speculation and replication is typically most efficient.

Information

Type
Article
Copyright
Copyright © Materials Research Society 2018 
Figure 0

FIG. 1. (a) Simple pseudocode description of the TAD algorithm, formulated as a recursive function. (b) The algorithm to be executed by each speculation process in SpecTAD. These processes must wait until an initial state ($X_i^{atom}$) is provided by the master process.

Figure 1

FIG. 2. The hypothetical run time behaviors of (a) TAD, (b) SpecTAD, and (c) ReplicaTAD. The diagrams are intended to be educational aids and are not drawn to scale. In all diagrams: The solid gray rectangles depict many separate blocks of basin-constrained MD, with transition-check quenches not shown between each block. Blue rectangles depict an MD block, and corresponding quench, during which a transition was detected. Orange blocks depict the NEB calculations for new pathways. Green blocks depict communication.

Figure 2

FIG. 3. The recursive ReplicaTAD function executed by the master process in the ReplicaTAD method. Note that the master process must communicate with the replica processes. The inset (blue) shows the procedure executed by each replica process.

Figure 3

FIG. 4. The function executed by the master process within the hybrid SpecTAD method. Note that the replica processes still execute the procedure detailed in the inset algorithm in Fig. 3.

Figure 4

FIG. 5. The ideal parallel execution of states using SpecTAD, ReplicaTAD, and hybrid SpecTAD at high temperatures of (a) 600 K and (b) 900 K. The TAD curve corresponds to the performance of a real serial simulation, while all other curves correspond to the hypothetical scaling of the same trajectory. For serial TAD (black), and ReplicaTAD (green), each block represents the time needed to accept a single transition. For normal SpecTAD (blue) and hybrid SpecTAD (red), each block represents the time needed to find the winning transition, and the line represents the remaining time needed to reach the ultimate stop time.

Figure 5

FIG. 6. Summary of performance results for (a) and (c) SpecTAD and (b) and (d) ReplicaTAD. In (a) and (b), the x-axes correspond to the number of processes used for the simulation, while in (c) and (d), the x-axes correspond to the high-temperature setting. In all plots, the y-axis corresponds to the average WCT needed to accept each of 1000 transitions (∼8 ms) in the silver adatom system. The circular data points represent real simulations, while the dashed lines represent ideal (communication-free) theoretical predictions using Eqs. (4) and (6). In (a), the solid green line represents real hybrid simulations with 2 replica processes belonging to every speculation process. In (b), the solid blue line represents real hybrid simulations with 23 replica processes belonging to each speculation process. In (d), the solid black line represents real hybrid simulations with 11 replica processes and 10 speculation processes.

Figure 6

TABLE I. Breakdown of the average force-call counts per state visit. Total corresponds to the average total force calls needed for each state visit. NNEB and Ntrans correspond to the average number of saddle-point searches and transitions detected, respectively.

Figure 7

FIG. 7. (a) A comparison of SpecTAD and ReplicaTAD results (solid lines) with selected hybrid SpecTAD results (circular markers). Dashed lines correspond to the theoretical prediction from Eq. (7). (b) Results of a theoretical sweep over various high-temperatures and Nrep–Nspec combinations. The open circular marker represents to a real hybrid simulation using the parameters corresponding to the optimal theoretical prediction.