Abstract
The magnetohydrodynamic (MHD) equilibrium problem in magnetic confinement fusion devices is solved by using the variational moments equilibrium code (VMEC). The sequential version of the code is highly demanding in computational terms, requiring several days of CPU time in the most advanced computers. In this work, we present the parallelization techniques employed for this code. An automatic tool has been used to guide the data parallelization of the critical parts of the code, and some deficiencies in its automatic parallelization techniques have been determined. These shortcomings are overcome by the development of manual techniques, which offer better results. Task parallelism has also been applied to this code in an innovative way, which significantly reduces the parallel overheads due to load imbalance and message waits.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.