Fortran interface layer of the framework for developing particle simulator FDPS
Daisuke Namekata, Masaki Iwasawa, Keigo Nitadori, Ataru Tanikawa,, Takayuki Muranushi, Long Wang, Natsuki Hosono, Kentaro Nomura, Junichiro, Makino

TL;DR
This paper introduces a Fortran interface layer for the FDPS framework, enabling Fortran developers to easily create parallel particle simulation codes with minimal performance overhead.
Contribution
The authors developed a Fortran API for FDPS, allowing Fortran users to utilize the framework without learning C++, and automated the generation of interface libraries.
Findings
Fortran interface has negligible performance overhead.
Users can develop entire simulation codes in Fortran.
The approach simplifies particle data type support in Fortran.
Abstract
Numerical simulations based on particle methods have been widely used in various fields including astrophysics. To date, simulation softwares have been developed by individual researchers or research groups in each field, with a huge amount of time and effort, even though numerical algorithms used are very similar. To improve the situation, we have developed a framework, called FDPS, which enables researchers to easily develop massively parallel particle simulation codes for arbitrary particle methods. Until version 3.0, FDPS have provided API only for C++ programing language. This limitation comes from the fact that FDPS is developed using the template feature in C++, which is essential to support arbitrary data types of particle. However, there are many researchers who use Fortran to develop their codes. Thus, the previous versions of FDPS require such people to invest much time to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
