Software components for parallel multiscale simulation: an example with LAMMPS

被引:87
作者
FrantzDale, Benjamin [1 ]
Plimpton, Steven J. [2 ]
Shephard, Mark S. [1 ]
机构
[1] Rensselaer Polytech Inst, Res Ctr Comp Sci, Troy, NY 12180 USA
[2] Sandia Natl Labs, Albuquerque, NM 87185 USA
关键词
Atomistic to continuum coupling; LAMMPS; Software design; Molecular dynamics; Multiscale computation;
D O I
10.1007/s00366-009-0156-z
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Multiscale simulation is a promising approach for addressing a variety of real-world engineering problems. Various mathematical approaches have been proposed to link single-scale models of physics into multiscale models. In order to be effective, new multiscale simulation algorithms must be implemented which use partial results provided by single-scale software. This work considers aspects of software design for interfacing to existing single-scale simulation code to perform multiscale simulations on a parallel machine. As a practical example, we extended the large-scale atomistic/molecular massively parallel simulator (LAMMPS) atomistic simulation software to facilitate its efficient use as a component of parallel multiscale-simulation software. This required new library interface functions to LAMMPS that side-stepped its dependence on files for input and output and provided efficient access to LAMMPS's internal state. As a result, we were able to take advantage of LAMMPS's single-scale performance without adding any multiscale-specific code to LAMMPS itself. We illustrate the use of LAMMPS as a component in three different modes: as a stand-alone application called by a multiscale code, as a parallel library invoked by a serial multiscale code, and as a parallel library invoked by a parallel multiscale code. We conclude that it is possible to efficiently re-use existing single-scale simulation software as a component in multiscale-simulation software.
引用
收藏
页码:205 / 211
页数:7
相关论文
共 7 条
[1]  
[Anonymous], 1997, Parallel programming with MPI
[2]   Implementing peridynamics within a molecular dynamics code [J].
Parks, Michael L. ;
Lehoucq, Richard B. ;
Plimpton, Steven J. ;
Silling, Stewart A. .
COMPUTER PHYSICS COMMUNICATIONS, 2008, 179 (11) :777-783
[3]  
Plimpton S., 1998, P 1998 ACM IEEE C SU, P1
[4]  
PLIMPTON SJ, 2008, LAMMPS BENCHMARKS
[5]  
SHEPHARD MS, 2007, CRC HDB DYNAMIC SYST
[6]  
Snir M., 1995, MPI: The Complete Reference
[7]  
SUTTER H, 2008, GURU WEEK EXCEPTIO 2