journal article·2022-11-10Open access

Accelerating Electromagnetic Field Simulations Based on Memory-Optimized CPML-FDTD with OpenACC

Diego Padilla-Perez, Isaac Medina-Sanchez, Jorge Hernández, Carlos Couder-Castañeda

Applied Sciences· Volume 12· Issue 22

Abstract

Although GPUs can offer higher computing power at low power consumption, their low-level programming can be relatively complex and consume programming time. For this reason, directive-based alternatives such as OpenACC could be used to specify high-level parallelism without original code modification, giving very accurate results. Nevertheless, in the FDTD method, absorbing boundary conditions are commonly used. The key to successful performance is correctly implementing the boundary conditions that play an essential role in memory use. This work accelerates the simulations of electromagnetic wave propagation that solve the Maxwell curl equations by FDTD using CMPL boundary in TE mode using OpenACC directives. A gain of acceleration optimizing the use of memory is shows, checking the loops intensities, and the use of single precision to improve the performance is also analyzed, producing an acceleration of around 5X for double precision and 11X for single precision respectively, comparing with the serial vectorized version, without introducing errors in long-term simulations. The scenarios of simulation established are common of interest and are solved at different frequencies supported by a Mid-range cards GeForce RTX 3060 and Titan RTX.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Electromagnetic Simulation and Numerical Methods · Electromagnetic Scattering and Analysis · Microwave Engineering and Waveguides

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Instituto Politécnico Nacional, Centro de Desarrollo Aeroespacial, Belisario Domínguez 22, Centro, Cuauhtémoc, Ciudad de México 06610, Mexico

Funding

Secretaría de Investigación y Posgrado, Instituto Politécnico Nacional

References (39)

Show source-provided references
1. Redefining the Role of the CPU in the Era of CPU-GPU Integration10.1109/MM.2012.57 ↗
2. A new era in scientific computing: Domain decomposition methods in hybrid CPU–GPU architectures10.1016/j.cma.2011.01.013 ↗
3. Wienke, S., Springer, P., and Terboven, C. (2012). OpenACC—first experiences with real-world applications. Proceedings of the European Conference on Parallel Processing, Springer.10.1007/978-3-642-32820-6_85 ↗
4. FgSpMSpV: A Fine-Grained Parallel SpMSpV Framework on HPC Platforms10.1145/3512770 ↗
5. CASpMV: A Customized and Accelerative SpMV Framework for the Sunway TaihuLight10.1109/TPDS.2019.2907537 ↗
6. Kraus, J., Schlottke, M., Adinetz, A., and Pleiter, D. (2014, January 17). Accelerating a C++ CFD code with OpenACC. Proceedings of the 2014 First Workshop on Accelerator Programming Using Directives, New Orleans, LA, USA.10.1109/WACCPD.2014.11 ↗
7. Sanchez-Noguez, J., Couder-Castañeda, C., Hernández-Gómez, J.J., and Navarro-Reyes, I. (2022). Solving the Heat Transfer Equation by a Finite Difference Method Using Multi-dimensional Arrays in CUDA as in Standard C. Proceedings of the Latin American High Performance Computing Conference, Springer.10.1007/978-3-031-04209-6_16 ↗
8. Wang, X.M., Xiong, L.L., Liu, S., Peng, Z.Y., and Zhong, S.Y. (2022, October 18). GPU-Accelerated Parallel Finite-Difference Time-Domain Method for Electromagnetic Waves Propagation in Unmagnetized Plasma Media. Available online: https://www.researchgate.net/profile/Ximin-Wang/publication/319478533_GPU-Accelerated_Parallel_Finite-Difference_Time-Domain_Method_for_Electromagnetic_Waves_Propagation_in_Unmagnetized_Plasma_Media/links/59affe74458515150e4ce8af/GPU-Accelerated-Parallel-Finite-Difference-Time-Domain-Method-for-Electromagnetic-Waves-Propagation-in-Unmagnetized-Plasma-Media.pdf.
9. OpenACC Errors Classification and Static Detection Techniques10.1109/ACCESS.2019.2935498 ↗
10. Evaluation of Various FDTD Method Using OpenACC Directive on GPU
11. Acceleration in Acoustic Wave Propagation Modelling Using OpenACC/OpenMP and Its Hybrid for the Global Monitoring System10.1007/978-3-030-49943-3_2 ↗
12. Practical parallelization of scientific applications with OpenMP, OpenACC and MPI10.1016/j.jpdc.2021.05.017 ↗
13. Portable Acceleration of Materials Modeling Software: CASTEP, GPUs, and OpenACC10.1109/MCSE.2022.3141714 ↗
14. An improved framework of GPU computing for CFD applications on structured grids using OpenACC10.1016/j.jpdc.2021.05.010 ↗
15. Da Silva, H.U., Schepke, C., Lucca, N., Da Cruz Cristaldo, C.F., and De Oliveira, D.P. (2022, January 9–11). Parallel OpenMP and OpenACC Mixing Layer Simulation. Proceedings of the 2022 30th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP), Valladolid, Spain.10.1109/PDP55904.2022.00036 ↗
16. Fujita, K., Kikuchi, Y., Ichimura, T., Hori, M., Maddegedara, L., and Ueda, N. (2022). GPU Porting of Scalable Implicit Solver with Green’s Function-Based Neural Networks by OpenACC. International Workshop on Accelerator Programming Using Directives, Springer. Lecture Notes in Computer Science.10.1007/978-3-030-97759-7_4 ↗
17. Vincent, J., Gong, J., Karp, M., Peplinski, A., Jansson, N., Podobas, A., Jocksch, A., Yao, J., Hussain, F., and Markidis, S. (2022). Strong Scaling of OpenACC enabled Nek5000 on several GPU based HPC systems. arXiv.10.1145/3492805.3492818 ↗
18. Performance of a Code Migration for the Simulation of Supersonic Ejector Flow to SMP, MIC, and GPU Using OpenMP, OpenMP+LEO, and OpenACC Directives
19. Full 3D-FDTD analysis and validation for indoor propagation at 2.45 GHz10.1002/mop.30174 ↗
20. A Novel Hybrid Method of Spatially Filtered FDTD and Subgridding Technique10.1109/ACCESS.2019.2925835 ↗
21. Faster and More Accurate Time Domain Electromagnetic Simulation Using Space Transformation10.1109/JPHOT.2020.3005704 ↗
22. Novel Time-Domain Electromagnetic Simulation Using Triangular Meshes by Applying Space Curvature10.1109/OJAP.2020.3011920 ↗
23. Efficient implementations of the Crank-Nicolson scheme for the finite-difference time-domain method10.1109/TMTT.2006.873639 ↗
24. Computationally efficient CN-PML for EM simulations10.1109/TMTT.2019.2946160 ↗
25. Unconditionally-stable FDTD method based on Crank-Nicolson scheme for solving three-dimensional Maxwell equations10.1049/el:20040420 ↗
26. Analysis of electromagnetic propagation from MHz to THz with a memory-optimised CPML-FDTD algorithm
27. The finite-difference time-domain (FDTD) and the finite-volume time-domain (FVTD) methods in solving Maxwell’s equations10.1109/8.558651 ↗
28. A perfectly matched layer for the absorption of electromagnetic waves10.1006/jcph.1994.1159 ↗
29. A unified 3-D simulating framework for Debye-type dispersive media and PML technique based on recursive integral method10.1016/j.cpc.2022.108463 ↗
30. Convolutional Implementation and Analysis of the CFS-PML ABC for the FDTD Method Based on Wave Equation10.1109/LMWC.2022.3151497 ↗
31. An unsplit convolutional perfectly matched layer technique improved at grazing incidence for the viscoelastic wave equation10.1111/j.1365-246X.2009.04278.x ↗
32. An improved unsplit and convolutional perfectly matched layer absorbing technique for the navier-stokes equations using cut-off frequency shift
33. An unsplit convolutional perfectly matched layer improved at grazing incidence for seismic wave propagation in poroelastic media10.1190/1.2939484 ↗
34. A performance study of a dual Xeon-Phi cluster for the forward modelling of gravitational fields
35. OpenMP: An industry standard API for shared-memory programming10.1109/99.660313 ↗
36. Mohammadi, S., Karami, H., Azadifar, M., and Rachidi, F. (2020). On the Efficiency of OpenACC-aided GPU-Based FDTD Approach: Application to Lightning Electromagnetic Fields. Appl. Sci., 10.10.3390/app10072359 ↗
37. Fast 3D transient electromagnetic forward modeling using BEDS-FDTD algorithm and GPU parallelization10.1190/geo2021-0596.1 ↗
38. On Waveguides Critical Corona Breakdown Thresholds Dependence on the Collision Frequency between Electrons and Air10.1109/TPS.2019.2897081 ↗
39. Hoefler, T., and Belli, R. (2015, January 15–20). Scientific benchmarking of parallel computing systems: Twelve ways to tell the masses when reporting performance results. Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Austin, TX, USA.10.1145/2807591.2807644 ↗