October 01, 2020
Authors: Milan Curcic, Ondřej Čertík, Gary Klimowicz, Brad Richardson, Jérémie Vandenplas, and Laurence Kedward
Welcome to the October 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.
This month we’ve had only one minor change to the website:
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.
This month we’ve had an improvement to the
as well as addition of logging facilities.
stdlib_statsmodule by adding explicit conversions.
stdlib_loggermodule. It provides a global logger instance for easy use in user applications, as well as a
logger_typederived type if multiple concurrent loggers are needed. See the logger specification to learn more.
Work in progress:
stdlib_bitsetsmodule. It provides a bitset data type.
Otherwise, ongoing discussions continue:
The candidate for file system operations to be included in stdlib is being developed by @MarDiehl and @arjenmarkus in this repository. Please try it out and let us know how it works, if there are any issues, or if the API can be improved.
This month has seen over a dozen additions and improvements to the Fortran implementation of fpm:
Work in progress:
fpm is still in early development and we need as much help as we can get. Here’s how you can help today:
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.
We continue to evaluate and merge pull requests into the original Flang compiler again. We pulled in several changes in the past month.
One important merge was support for LLVM 10, which required the use of a new fork, the classic-flang-llvm-project fork of the LLVM monorepo. See PR#1 for details.
Other recently merged pull requests into Classic Flang include:
The Classic Flang biweekly call has been set up to discuss issues and plans for the next pull requests to be validated and merged. Our next calls will be Wednesday, October 7 and 21, 8:30 AM Pacific time. The notes from previous calls, upcoming agenda and a link to join the call can be found here.
Work continues on LLVM Flang, concentrating on semantics, lowering and runtime sufficient to compile and run Fortran 77 programs.
In conjunction with the MLIR-based code from the fir-dev fork (the Fortran IR used for lowering), Flang can compile and run most F77 programs, including the Fortran Compiler Validation Suite (FCVS). We continue to work on refactoring necessary to upstream the fir-dev fork into LLVM flang proper.
Arm has contributed changes toward a full-fledged driver for flang.
AMD continues to add support for OpenMP semantics and lowering.
Valentin Clement continues to contribute parsing and semantics changes for OpenACC support. This will be the topic of the next Flang Technical Community call on Monday, October 5, 8:30 AM Pacific Time.
Michael Kruse continues to add support for building Flang on Windows with MSVC.
What’s new in LFortran:
You can follow LFortran on Twitter for latest updates: @lfortranorg.
We thank everybody who contributed to fortran-lang in the past month by commenting in any of these repositories: