Fortran newsletter: July 2020#

Welcome to the July 2020 edition of the monthly Fortran newsletter. The newsletter comes out on the first calendar day of every month and details Fortran news from the previous month.

fortran-lang.org#

Work has continued on the Fortran-lang website, including a new community page and additional tutorial content:

  • #98: updated the Quickstart mini-book tutorial with a comprehensive overview of derived types;

  • #99: added a second mini-book tutorial to the Learn page on building compiled programs and libraries;

  • #100: added a new top-level web-page for Fortran-lang community projects. The page gives useful information and links for new contributors, as well as acknowledging each of our many existing contributors. Check it out at https://fortran-lang.org/community.

Ongoing work:

  • #101: Code style for Fortran examples in the tutorials. See the corresponding community poll and discussion on Discourse;

  • #112: Plan for core language tutorials.

Let us know if you have any suggestions for the website and its content. We welcome any new contributors to the website and the tutorials page in particular - see the contributor guide for how to get started.

Did you know you don’t need to know HTML or any fancy languages to contribute to the website; all of the online tutorials and most of the website content are written in markdown, a simple markup language for formatting text - don’t worry if you haven’t used it before, it’s very easy to pick up!

Fortran Standard Library#

What’s new in the Fortran Standard Library:

  • #209 Implements Simpson’s rule for 1-d arrays (simps and simps_weights) in the quadrature module (stdlib_experimental_quadrature).

  • #205 Tests for and improved standard conformance.

Some miscellaneous fixes and improvements:

  • #208 Fixes to support Intel Fortran compilers

  • #210 Fixes to support NAG compiler

  • #207 #211 Other minor fixes and improvements

Fortran Package Manager#

What’s new in fpm:

  • #99 fpm now lets you specify a custom build script or a Makefile to use. This will help building packages that use a custom structure and/or external dependencies in other languages.

  • #89 Allow specifying specific tests or executables to run via command-line arguments.

  • #85 Enables having specific dependencies for tests and executables.

  • #97 #100 #101 Minor improvements to the README.

fpm is still in very early development, and we need as much help as we can get. Here’s how you can help today:

  • Try to use it. Does it work? No? Let us know! Read the fpm packaging guide to learn how to build your package with fpm.

  • Browse the open issues and see if you can help implement any fixes or features.

  • Adapt your Fortran package for fpm.

  • Improve the documentation.

The short term goal of fpm is to make development and installation of Fortran packages with dependencies easier. Its long term goal is to build a rich and decentralized ecosystem of Fortran packages and create a healthy environment in which new open source Fortran projects are created and published with ease.

Events#

  • We had our second Fortran Monthly call on June 19. You can read watch the recording below:

As usual, subscribe to the mailing list and/or join the Discourse to stay tuned with the future meetings.

  • FortranCon 2020 began today (July 2), with many interesting talks. See the talk schedule here.

Contributors#

We thank everybody who contributed to fortran-lang in the past month by commenting in any of the four repositories: