pith. sign in

arxiv: 1904.02546 · v2 · pith:5BSR7G7Snew · submitted 2019-04-04 · 💻 cs.SE

Automated Fortran--C++ Bindings for Large-Scale Scientific Applications

classification 💻 cs.SE
keywords fortranscientifictoolcodecodesfeatureslibrariesnumerical
0
0 comments X
read the original abstract

Although many active scientific codes use modern Fortran, most contemporary scientific software "libraries" are implemented in C and C++. Providing their numerical, algorithmic, or data management features to Fortran codes requires writing and maintaining substantial amounts of glue code. This article introduces a tool that automatically generates native Fortran 2003 interfaces to C and C++ libraries. The tool supports C++ features that have no direct Fortran analog, such as templated functions and exceptions. A set of simple examples demonstrate the utility and scope of the tool, and timing measurements with a mock numerical library illustrate the minimal performance impact of the generated wrapper code.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.