โปรแกรมแบบขนานจำลองสถานการณ์การชนกันของอนุภาคโดยทฤษฎีของ Lennard-Jones Potential ถูกพัฒนาขึ้นโดยใช้ MPI Library บนคอมพิวเตอร์แบบขนานที่ใช้หน่วยความจำแยกกันในการศึกษาพบว่าโปรแกรมแบบขนานนี้สามารถเพิ่มประสิทธิภาพในการประมวลผลได้ จากการศึกษาลักษณะการทำงานของโปรแกรมนี้ พบว่าเป็นโปรแกรมที่เอื้อต่อการประมวลผลบนคอมพิวเตอร์แบบขนานที่ใช้หน่วยความจำร่วมกัน ผู้พัฒนาจึงเกิดแนวคิดในการพัฒนาโปรแกรมแบบขนานคำนวณการชนกันของอนุภาคบนคอมพิวเตอร์แบบขนานที่ใช้หน่วยความจำร่วมกัน เพื่อเปรียบเทียบเวลาที่ใช้ในการประมวลผลในการพัฒนาผู้พัฒนาได้ใช้ OpenMP Library จากนั้นจึงเปรียบเทียบเวลาที่ใช้ในการคำนวณโปรแกรมแบบขนานทั้งสอง ผลการทดลองพบว่าโปรแกรมที่พัฒนาด้วย OpenMP Library มีความเร็วในการประมวลผลกว่าโปรแกรมที่พัฒนาด้วย MPI Library -------------------------------------------------------------------------------------------------------------------- Abstract: Parallel Particles Collision in Lennard-Jones Potential was developed on a distributed-memory parallel computer using MPI library. The empirical results has shown the improvement in efficiency. The previous study found some characteristics of the program that seem to work well on a shared-memory architecture. This project developed a parallel particles collision program on shared-memory parallel computer using OpenMP library. The goal of this project is to compare the performance between MPI and OpenMP implementation of parallel particle collision. We compared the execution time of both parallel programs. The empirical results showed that the OpenMP parallel execution has performed better than the MPI parallel execution.
สถาบันส่งเสริมการสอนวิทยาศาสตร์และเทคโนโลยี (สสวท.) กระทรวงศึกษาธิการ เป็นหน่วยงานของรัฐที่ไม่แสวงหากำไร ได้จัดทำเว็บไซต์คลังความรู้ SciMath เพื่อส่งเสริมการสอนวิทยาศาสตร์ คณิตศาสตร์และเทคโนโลยีทุกระดับการศึกษา โดยเน้นการศึกษาขั้นพื้นฐานเป็นหลัก หากท่านพบว่ามีข้อมูลหรือเนื้อหาใด ๆ ที่ละเมิดทรัพย์สินทางปัญญาปรากฏอยู่ในเว็บไซต์ โปรดแจ้งให้ทราบเพื่อดำเนินการแก้ปัญหาดังกล่าวโดยเร็วที่สุด
The Institute for the Promotion of Teaching Science and Technology (IPST), Ministry of Education, a non-profit organization under the Thai government, developed SciMath as a website that provides educational resources in Science, Mathematics and Technology. IPST invites visitors to use its online resources for personal, educational and other non-commercial purpose. If there are any problems, please contact us immediately.
Copyright © 2018 SCIMATH :: คลังความรู้ SciMath. Terms and Conditions. Privacy. , All Rights Reserved.
อีเมล: This email address is being protected from spambots. You need JavaScript enabled to view it. (ให้บริการในวันและเวลาราชการเท่านั้น)