Publications

Detailed Information

Hybrid (MPI + OpenMP) 병렬화를 통한 유동 해석 코드 병렬 최적화 : Optimization on Hybrid MPI-OpenMP Parallel Program for Compressible Flow Analysis Based on Unstructured Mixed Grid

DC Field Value Language
dc.contributor.advisor김종암-
dc.contributor.author김상혁-
dc.date.accessioned2019-05-07T03:08:15Z-
dc.date.available2019-05-07T03:08:15Z-
dc.date.issued2019-02-
dc.identifier.other000000155517-
dc.identifier.urihttps://hdl.handle.net/10371/150648-
dc.description학위논문 (석사)-- 서울대학교 대학원 : 공과대학 기계항공공학부, 2019. 2. 김종암.-
dc.description.abstract본 논문은 기존의 MPI 병렬기법이 적용된 혼합격자 기반 압축성 유동해석 코드에 OpenMP 병렬기법을 혼합하여 MPI와 OpenMP를 모두 사용하는 Hybrid 병렬 최적화를 수행한 연구를 다루고 있다. 유한체적법(Finite Volume Method)을 기반으로 하는 유동해석 프로그램의 경우 대부분 계산 영역을 코어 수로 나누어 계산하는 MPI 병렬 기법을 적용하고 있다. 하지만 일정 수준 이상의 많은 코어 수를 사용하면 MPI 통신 시간 비율이 증가하여 병렬 성능이 감소하는데 이를 개선하기 위해 OpenMP 병렬 기법을 추가로 적용하여 Hybrid 프로그램을 만들었다. 그 과정에서 공유 메모리에 복수의 쓰레드가 동시에 저장(write)할 때 발생하는 경합 조건(race condition)을 확인하고 개선하였으며 OpenMP 스케쥴링이나 시스템에 따른 쓰레드 배치 등 Hybrid 병렬 최적화 방법들에 대해 기술하였다. 또한 Hybrid 프로그램으로 다양한 격자와 조건에서 테스트하며 기존 MPI 코드 대비 병렬 성능 및 확장성이 향상된 것을 확인하였다.-
dc.description.abstractThis paper deals with a hybrid MPI-OpenMP parallel optimization by adding OpenMP to a MPI program for compressible flow analysis based on unstructured mixed grid. Most of the flow analysis programs based on the finite volume method use MPI parallel method. However, when many cores are used, the parallel performance is decreased due to the increase of the MPI communication time ratio. To improve this, a hybrid program is created by applying the OpenMP parallel method.. In the process, Race condition that occurs when multiple threads simultaneously store values in shared memory has been found and improved, and Hybrid parallel optimization methods such as OpenMP scheduling and thread placement according to the system are described. In addition, the hybrid program tested in various grids and conditions confirmed that parallel scalability and performance were improved compared to the MPI program.-
dc.description.tableofcontents목 차

초록 i
목차 ii
표 목차 iv
그림 목차 v

제 1 장 서 론 1
1.1 병렬 프로그래밍 1
1.1.1 MPI 2
1.1.2 OpenMP 3
1.1.3 Hybrid 4
1.2 연구 목표 5

제 2 장 지배방정식 및 유한체적법 6
2.1 지배방정식 6
2.1.1 이상 기체 방정식 7
2.2 유한체적법 8

제 3 장 Hybrid 프로그래밍 최적화 9
3.1 경합 조건(Race Condition) 9
3.1.1 Residual 계산 11
3.1.2 이상 기체 상태방정식 14
3.2 OpenMP 스케쥴링 16
3.3 쓰레드 배치 17

제 4 장 수치 실험 19
4.1 실험 방법 19
4.1.1 Speedup 19
4.1.2 Scalability 20
4.1.3 시간 측정 구간 20
4.1.4 계산 시스템 21
4.1.5 해석 대상 및 조건 23
4.2 실험 결과 25
4.2.1 형상에 따른 병렬 확장성 25
4.2.2 차원에 따른 병렬 확장성 27
4.2.3 유동에 따른 병렬 확장성 28
4.2.4 격자수에 따른 병렬 확장성 29
4.2.5 Hybrid 조합에 따른 병렬 확장성 31
4.2.6 노드 내 필요 메모리 31

제 5 장 결 론 34

참고문헌 35
Abstract 37
-
dc.language.isokor-
dc.publisher서울대학교 대학원-
dc.subject.ddc621-
dc.titleHybrid (MPI + OpenMP) 병렬화를 통한 유동 해석 코드 병렬 최적화-
dc.title.alternativeOptimization on Hybrid MPI-OpenMP Parallel Program for Compressible Flow Analysis Based on Unstructured Mixed Grid-
dc.typeThesis-
dc.typeDissertation-
dc.contributor.AlternativeAuthorKIM, Sang Hyeok-
dc.description.degreeMaster-
dc.contributor.affiliation공과대학 기계항공공학부-
dc.date.awarded2019-02-
dc.identifier.uciI804:11032-000000155517-
dc.identifier.holdings000000000026▲000000000039▲000000155517▲-
Appears in Collections:
Files in This Item:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share