• 제목/요약/키워드: OpenMP parallelized code

검색결과 5건 처리시간 0.018초

A Study on the Automatic Parallelization Method and Tool Development

  • Shin, Woochang
    • International Journal of Internet, Broadcasting and Communication
    • /
    • 제12권3호
    • /
    • pp.87-94
    • /
    • 2020
  • Recently, computer hardware is evolving toward increasing the number of computing cores, not increasing the clock speed. In order to use the performance of parallelized hardware to the maximum, the running program must also be parallelized. However, software developers are accustomed to sequential programs, and in most cases, write programs that operate sequentially. They also have a lot of difficulty designing and developing software in parallel. We propose a method to automatically convert a sequential C/C++ program into a parallelized program, and develop a parallelization tool that supports it. It supports open multiprocessing (OpenMP) and parallel patterns library (PPL) as a parallel framework. Perfect automatic parallelization is difficult due to dynamic features such as pointer operation and polymorphism in C/C++ language. This study focuses on verifying the conditions of parallelization rather than focusing on fully automatic parallelization, and providing advice to developers in detail if parallelization is not possible.

고해상도수치기법에 의한 원형실린더 주위의 3차원 후류유동 특성연구 (High order computation on the three dimensional wakes past a circular cylinder)

  • 이상수;김재수;김태수
    • 한국전산유체공학회:학술대회논문집
    • /
    • 한국전산유체공학회 2008년도 춘계학술대회논문집
    • /
    • pp.622-625
    • /
    • 2008
  • While the research for flow over a circular cylinder has been actively carried out up to the present, it has been known that the flow has not been clarified even now. Various complex flow and aero-acoustic characteristics exist around a circular cylinder such as flow separation, wake and pressure wave propagation. In this paper, research was carried out for wake flow and aeroacoustics over a circular cylinders by using high order, high resolution techniques that are used in two dimensional aero- acoustic analysis. OpenMP parallel processing method was used. For the numerical result, the periodic characteristic of Strouhal Number due to vortex shedding was comparatively analyzed with other experiment values and two dimensional numerical results.

  • PDF

A New Code for Relativistic Hydrodynamics

  • Seo, Jeongbhin;Kang, Hyesung;Ryu, Dongsu
    • 천문학회보
    • /
    • 제45권1호
    • /
    • pp.55.1-55.1
    • /
    • 2020
  • In an attempt to investigate the nonlinear dynamics such as shock, shear, and turbulence associated with ultra-relativistic jets, we develop a new relativistic hydrodynamics (RHD) code based on the weighted essentially non-oscillatory (WENO) scheme. It is a 5th-order accurate, finite-difference scheme, which has been widely used for solving hyperbolic systems of conservation equations. The code is parallelized with MPI and OpenMP. Through an extensive set of tests, the accuracy and efficiency of different WENO reconstructions, and different time discretizations are assessed. Different implementations of the equation of state (EOS) for relativistic fluid are incorporated, As the fiducial setup for simulations of ultra-relativistic jets, we adopt the EOS in Ryu et al. (2006) to treat arbitrary adiabatic index of relativistic fluid, the WENO-Z reconstructions to minimize numerical dissipation without loss of stability, and the strong stability preserving Runge-Kutta (SSPRK) method to achieve stable time stepping with large CFL numbers. In addition, the code includes a high-order flux averaging along the transverse directions for multi-dimensional problems, and the modified eigenvalues for the acoustic modes to effectively control the carbuncle instability. We find that the new code performs satisfactorily simulations of ultra-relativistic jets.

  • PDF

다물체 페리다이나믹 해석을 위한 MPI-OpenMP 혼합 병렬화 (MPI-OpenMP Hybrid Parallelization for Multibody Peridynamic Simulations)

  • 이승우;하윤도
    • 한국전산구조공학회논문집
    • /
    • 제33권3호
    • /
    • pp.171-178
    • /
    • 2020
  • 본 연구에서는 다물체 페리다이나믹 해석 코드의 MPI-OpenMP 혼합 병렬화를 수행하였다. 페리다이나믹 해석 모델은 복잡한 동적파괴 거동 및 불연속 특성을 모사하는데 적합하지만, 비국부 영역을 통한 절점 간 상호작용을 계산하기 때문에 유한요소 모델에 비해 계산 시간이 많이 소요된다. 또한 다중적층구조물의 다물체 페리다이나믹 해석에서 추가된 비국부 접촉 모델과 가상 층간 결합 모델을 통한 여러 물체 간 상호작용으로 계산 부담이 증가한다. 더불어 고속 충돌 파괴와 같은 복잡한 동적 파괴 거동 해석을 위해 세밀한 절점 간격과 작은 시간 간격이 요구되기 때문에 코드 최적화와 병렬화를 통한 고성능 해석 코드 개발이 필수적이다. 해석 코드는 Intel Fortran MPI compiler와 OpenMP를 사용하여 개발되었으며, 한국과학기술정보원(KISTI)의 슈퍼컴퓨팅센터 누리온(Nurion)으로 실행되었다. 다물체 해석 코드를 최적화하기 위한 핵심 요소들을 분석하고, 모델 의존성 발생 서브루틴 분석 및 프로세스 통신 데이터 분별을 통해 MPI-OpenMP 혼합 병렬 처리 구조를 적용하였다. 다물체 충돌 파괴 현상 시뮬레이션을 통해 개발된 병렬 처리 코드의 성능을 확인하였다.

Development and validation of a fast sub-channel code for LWR multi-physics analyses

  • Chaudri, Khurrum Saleem;Kim, Jaeha;Kim, Yonghee
    • Nuclear Engineering and Technology
    • /
    • 제51권5호
    • /
    • pp.1218-1230
    • /
    • 2019
  • A sub-channel solver, named ${\underline{S}}teady$ and ${\underline{T}}ransient$ ${\underline{A}}nalyzer$ for ${\underline{R}}eactor$ ${\underline{T}}hermal$ hydraulics (START), has been developed using the homogenous model for two-phase conditions of light water reactors. The code is developed as a fast and accurate TH-solver for coupled and multi-physics calculations. START has been validated against the NUPEC PWR Sub-channel and Bundle Test (PSBT) database. Tests like single-channel quality and void-fraction for steady state, outlet fluid temperature for steady state, rod-bundle quality and void-fraction for both steady state and transient conditions have been analyzed and compared with experimental values. Results reveal a good accuracy of solution for both steady state and transient scenarios. Axially different values for turbulent mixing coefficient are used based on different grid-spacer types. This provides better results as compared to using a single value of turbulent mixing coefficient. Code-to-code evaluation of PSBT results by the START code compares well with other industrial codes. The START code has been parallelized with the OpenMP algorithm and its numerical performance is evaluated with a large whole PWR core. Scaling study of START shows a good parallel performance.