Abstract
Computational systems biology has provided plenty of insights into cell biology. Early on, the focus was on reaction networks between molecular species. Spatial distribution only began to be considered mostly within the last decade. However, calculations were restricted to small systems because of tremendously high computational workloads. To date, application to the cell of typical size with molecular resolution is still far from realization. In this article, we present a new parallel stochastic method for particle reaction-diffusion systems. The program called pSpatiocyte was created bearing in mind reaction networks in biological cells operating in crowded intracellular environments as the primary simulation target. pSpatiocyte employs unique discretization and parallelization algorithms based on a hexagonal close-packed lattice for efficient execution particularly on large distributed memory parallel computers. For two-level parallelization, we introduced isolated subdomain and tri-stage lockstep communication for process-level, and voxel-locking techniques for thread-level. We performed a series of parallel runs on RIKEN's K computer. For a fine lattice that had relatively low occupancy, pSpatiocyte achieved 7686 times speedup with 663552 cores relative to 64 cores from the viewpoint of strong scaling and exhibited 74% parallel efficiency. As for weak scaling, efficiencies at least 60% were observed up to 663552 cores. In addition to computational performance, diffusion and reaction rates were validated by theory and another well-validated program and had good agreement. Lastly, as a preliminary example of real-world applications, we present a calculation of the MAPK model, a typical reaction network motif in cell signaling pathways.
Introduction
In systems biology, researchers often face a trade-off between the speed of Ordinary Differential Equations (ODEs) and the physical precision of Molecular Dynamics (MD). While ODEs ignore spatial structure and molecular crowding, MD is too computationally expensive for whole-cell simulations. Particle-based reaction-diffusion methods offer a middle ground, but simulating a whole cell at molecular resolution remains a massive challenge. pSpatiocyte addresses this by providing a high-performance parallel simulation framework designed for the crowded environments of biological cells.
Methodology: Lattice and Parallelization
The core of pSpatiocyte is its use of a Hexagonal Close-Packed (HCP) lattice. Unlike standard Cartesian grids, the HCP lattice provides 12 equidistant neighbors for every voxel, which is the most efficient way to pack spheres and ensures isotropic diffusion. To map this complex geometry onto computer memory, the authors developed a "twisted" coordinate system.
For massive parallelization, pSpatiocyte employs a two-level strategy:
- Process-Level (MPI): The simulation volume is divided into subdomains. To optimize communication, the authors introduced tri-stage lockstep communication. Instead of communicating with all 26 neighboring subdomains simultaneously, data is transferred sequentially along the X, Y, and Z axes. This significantly reduces latency and complexity.
- Thread-Level (OpenMP): A voxel-locking technique is used to allow multiple threads to move molecules simultaneously with minimal interference, avoiding the bottlenecks of larger memory locks.
Validation and Scaling Results
The framework was validated against theoretical benchmarks and existing software. A key test involved simulating molecular crowding at 0%, 30%, and 50% occupancy. As expected, increased crowding leads to a decrease in the diffusion rate, accurately captured by the mean squared displacement over time.
On RIKEN’s K computer, pSpatiocyte demonstrated exceptional scaling. It achieved a 7686x speedup when scaling from 64 to 663,552 cores, maintaining a parallel efficiency of 74.1% for fine-grained lattices. Even in weak scaling tests, efficiency remained above 60% at peak core counts.
Conclusion
pSpatiocyte enables molecular-level simulations of large-scale biological systems, such as the MAPK signaling cascade, in realistic, crowded environments. By combining physically superior lattice geometry with innovative parallelization techniques, it paves the way for future whole-cell simulations on exascale supercomputers.
Summary updated