Study on the Optimization Method of Molecular Dynamics Simulation Based on the Flow Processor

Author
ZhangTao
Advisor
LiJingTao
School
Kunming University of Science and Technology
Major
Computer Software and Theory
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2012
Downloads
27
Citations
0

Request the full text

Abstract

Molecular dynamics simulation gets macroscopic physical property by the method of simulated molecular trajectories, the compute capacity is very large. When the number of particles increases, the computation time will grow exponentially.In order to make the calculation more efficient and calculation time less,it use the powerful floating-point computing power and memory bandwidth of the GPU to solve the problem.This paper describes the powerful floating point computing power and memory bandwidth of GPU.and the CUDA programming model, software architecture, memory model, optimization of the relevant content.Based on the principle and the calculation process of molecular dynamics simulations,the paper analyses the important steps in the respect of compute capacity and the computational complexity.Finally, according to the calculation method, the paper finds out calculation of the force, the motion equations, equilibrium appropriate or need to step up to achieve in the stream processorsThe three links is achieved in the stream processors in the paper.In process of the data analysis, the efficiency based on of the stream processors is far less than the CPU efficiency under the same conditions,the main reason is a thread for all particles, coupled with the data in main memory and memory copy overhead so that the total time lengthened. In the optimization process,aim at the question of the parallelization of particles, it improves the number of threads by setting the kerne1<<<grid, block>>>0in the grid and block,and collaborative particle correlation data in each thread in parallel to give full play to the highly parallel processing capabilities of the stream processors.On the other hand, in the process of particle calculation frequently read data in global memory and shared memory,The data address alignment and bank conflict will lead to the number of memory access change eventually fetch longer,the proposed merger of access and data offset method to solve.Finally, there is a analysis of the achieve of the CPU-based and stream-based processor,In three steps based on the stream processors to optimize the former efficiency is not the CPU, and optimized efficiency far more than the CPU,efficiency of the CPU4to5times,1.5to2times,1.5to2times respectively.Therefore, based on the stream processors optimized for molecular dynamics simulation is applicable. With the number of stream processors and memory size to improve efficiency will have a greater improvement.

Table of contents

Summary 3-4 Abstract 4-8 first chapter 8-14 1.1 Background and Significance 8 - 11 1.2 domestic and foreign research status and development trend research and organizational structure 11 1.3 This article 11-14 1.3.1 research 11 -12 1.3.2 herein organizational structure 12-14 CUDA second chapter introduces 14-26 2.1 GPU general computing overview 14 - 15 2.2 CUDA introduced 15-23 2.2.1 CUDA programming model 16-19 2.2.2 CUDA software system 19-21 2.2.4 CUDA memory model 21-23 2.2.5 CUDA program optimization related 23 2.3 Summary 23-26 Article principle and calculation process dynamics simulations of molecular analysis chapters 26-36 3.1 Introduction to molecular dynamics simulation 26 3.2 analog basic principle 26-27 <br / > 3.3 concepts 27-29 3.4 simulation step 29 3.5 calculation process analysis 29-35 3.5.1 speed and coordinate initialization 29-31 3.5.2 force calculation 31-32 3.5.3 integral equations of motion 32-34 3.5.4 trend on balance judgment 34-35 3.6 Summary 35-36 Chapter IV system optimization design 36-46 4.1 overall system design 36 4.2 program parallelization 36-39 4.3 global memory access optimization 39-41 4.4 shared memory access optimization 41 -44 4.5 Summary 44-46 Chapter molecular dynamics CUDA Implementation and optimization 46-62 5.1 molecular Dynamics CUDA achieve 46-51 5.1.1 calculation of force to achieve 46-47 5.1.2 motion equations to achieve 47-48 5.1.3 trend at equilibrium achieved 48-49 5.1.4 results and Analysis 49-51 5.2 CUDA optimized molecular dynamics 51-61 5.2 .1 force calculations to optimize 51-56 5.2.2 solving the equations of motion optimization to achieve 56-58 5.2.3 optimized to achieve more balanced judgment 58 5.2.4 results and Analysis 58-61 5.3 summary 61-62 sixth chapter summarizes 62-64 6.1 This work summarizes 62-63 6.2 Next job Outlook 63-64 Thanks 64-66 References 66 -70 appendix ( obtained during the study findings MA ) 70

Related dissertations

  1. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  5. Research on Text Detecting and Removal in Video Image Based on CUDA
  6. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  7. Parallel Face Detection CUDA Accelerating
  8. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  9. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  10. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  11. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis
  12. The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
  13. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
    LiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Research and Implementation of Hashalgorithm Library on GPU
    LiKai ·South China University of Technology ·2013 ·Master's thesis
  16. Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
  17. Research of Real-time Acoustic Imaging Array Positioning Technology
    YuLiZhi ·Xiangtan University ·2013 ·Master's thesis
  18. Research on Simulation Methods Based on GPU for Small Delay Faults
    PengMingMing ·Hunan University ·2013 ·Master's thesis
  19. Hyperspectral image mixed pixel decomposition parallel optimization based on GPU
  20. High-Order Difference Forward Modeling and Reverse-Time Migration Based on CUDA
    XiangFei ·Ocean University of China ·2013 ·Master's thesis