Pith. sign in

REVIEW 2 cited by

Fortran interface layer of the framework for developing particle simulator FDPS

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1804.08935 v2 pith:7UM4ZE2T submitted 2018-04-24 astro-ph.IM astro-ph.EPcs.CEphysics.comp-ph

classification astro-ph.IMastro-ph.EPcs.CEphysics.comp-ph
keywords fortranfdpsparticleinterfacedevelopedarbitrarycodesdata
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original 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 learn C++. This is inefficient. To cope with this problem, we newly developed a Fortran interface layer in FDPS, which provides API for Fortran. In order to support arbitrary data types of particle in Fortran, we design the Fortran interface layer as follows. Based on a given derived data type in Fortran representing particle, a Python script provided by us automatically generates a library that manipulates the C++ core part of FDPS. This library is seen as a Fortran module providing API of FDPS from the Fortran side and uses C programs internally to interoperate Fortran with C++. In this way, we have overcome several technical issues when emulating `template' in Fortran. By using the Fortran interface, users can develop all parts of their codes in Fortran. We show that the overhead of the Fortran interface part is sufficiently small and a code written in Fortran shows a performance practically identical to the one written in C++.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Renormalized Perturbation Theory at Field-level: the LSS bootstrap in GridSPT

    astro-ph.CO 2025-06 conditional novelty 6.0 of 10

    A renormalized field-level perturbation theory is shown to recover the LSS bootstrap parameter consistently across different grid cutoffs, validated at third and fifth order against N-body simulations.

  2. SHAPE: cosmology with cluster halo intrinsic alignments from subhalo distributions

    astro-ph.CO 2025-05 reject novelty 6.0 of 10

    Cluster shapes reconstructed from subhalo positions yield intrinsic alignment correlations that trace the cosmic web, but the claimed unbiased recovery of the growth rate is not supported by all three simulation realizations.

Pith tools