An open API service indexing awesome lists of open source software.

https://github.com/hugomvale/fortran-c-interoperability

Examples of Fortran interoperation with C.
https://github.com/hugomvale/fortran-c-interoperability

c fortran interoperation modern-fortran

Last synced: 4 months ago
JSON representation

Examples of Fortran interoperation with C.

Awesome Lists containing this project

README

          

# Fortran-C-interoperability

[![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran&logoColor=white)](https://github.com/topics/fortran)

## Description

Interoperation between Fortran and C is a powerful feature of modern Fortran. Once you get the gist of it, it feels quite simple and obvious, but surprisingly, there isn't any book or tutorial that explains the principles in a pedagogical manner.

So, the best way to learn interoperability is to code some examples and infer the logic. This is my attempt to do so (for myself).

## Useful references

* https://fortranwiki.org/fortran/show/Interoperability
* https://doku.lrz.de/files/10746213/10746217/1/1684600341047/Advanced_Fortran_Interop.pdf
* https://ahamodel.uib.no/intel/GUID-C0FA4080-4548-4045-9E6D-EFE57A0DE1A3.html
* [fortran-lang](https://fortran-lang.discourse.group/)