Fortran goals for 2022

I’d like @FortranTip on Twitter to celebrate 2023 with 700 followers (currently there are 400). If the current pace of 1-3 daily posts slows to 1-2 a week I think followers won’t unsubscribe, as long as content is relevant. The focus is the Fortran language now, but I think topics such as tooling, algorithms, and libraries would also be of interest. Tips and suggestions through the GitHub repo (which has an index of tweets and codes) are welcome, as are additional contributors.


Thanks for the feedback. Let me fix this now. Arrays work in compilation to binaries, so it should not be hard to make them work interactively also. Can you report the exact bugs you are getting? I can see your report here: Experiences with LFortran (#574) · Issues · lfortran / lfortran · GitLab, but that issue doesn’t seem to show the segfault. If you have time to report the segfaults you encountered, I’ll fix them.

1 Like

Great thread. What I’d like to see happen:

  • Higher quality and coverage of tutorials and docs, both for general Fortran learning on, and project-specific (fpm, stdlib, etc.). We’ve made a great start but they lack completeness and polish that more mature open source docs and published books have.
  • More user content (blogs, YouTube videos, MOOC courses), and especially from established content creators in other languages
  • OS, high-level file I/O, and Fortran202X intrinsics in stdlib
  • fpm being more ubiquitous in the ecosystem. We also have a great start here, and I don’t doubt it will continue with consistent evangelism.
  • Continue the slow and steady growth of contributors to projects, users and posts on Discourse, and followers on Twitter.
  • Another successful GSoC year on the scale of 2021 or slightly larger
  • FortranCon 2022
  • LFortran more closely integrated with Fortran-lang, e.g. mirror repo under fortran-lang on GitHub, feature on the page and similar.

What I’d like to work on:

  • Improve and streamline processes across Fortran-lang projects
  • Help implement the remainder of F202X intrinsics in stdlib now that they’re finalized. We started this in milancurcic/fortran202x_split over a year ago and I’d like to revisit it now that the API has changed and finalized.
  • Continue maintaining stdlib
  • Improve fpm-registry docs and processes
  • Research options into fpm tree-shaking builds (i.e. build only the needed dependency modules vs. the entire dependency)

Thanks! I’ve quickly ssh’d into my home machine from my phone (still on holiday!) and reproduced some example issues. Added to the gitlab issue referenced above. Hopefully these make sense!

Thanks again :slight_smile:

Very interesting thread with nice goals!

I agree with you @awvwgk. Revisiting the stdlib-docs would be worthwhile.

Regarding my principal wishes for 2022:

  • Continue to be involved in stdlib by proposing and reviewing new features/docs
  • Be more involve in the fpm project
  • Develop/contribute/advertise an introduction course to Modern Fortran (I recently found slides (given in 2020) of an introduction course on Fortran, but the slides mainly introduced Fortran 77 :frowning: )

@jeremie.vandenplas If you’re interested in helping with an intro to Modern Fortran course, check out this thread: Modern Fortran Carpentries course - #5 by samharrison7. I was pondering whether it would be worth developing a Carpentries course on Modern Fortran, which I think aligns nicely with your third aim.

My personal goal is to become a bit more involved in this community and try and set aside some time to contribute to the various initiatives. We have quite a few Fortran developers in our organisation, but I think most are stuck in the 90s, so my second goal is to be an evangelist for Fortran Lang and go spread the word of all the amazing new stuff that’s happening here.


What I’d like to see happen:
Flang codegen (Fortran 95 + OpenMP 1.1) is available in llvm-project.
A few Flang Fortran plugins are available.


What I’d like to work on:

  • More fpm
    • build profiles in the manifest
    • refactoring ?
    • An official package hosting site
  • Development and prototyping of Generics features
    • I’d like to start contributing to LFortran for this
  • More courses and tutorials
    • I’m already working on my next course (details to come)
    • I’d like to find time and topics to put out more YouTube videos

What else I’d like to see:

  • More widespread Fortran 2018 support in compilers
  • (At least) Alpha releases of the upcoming compilers (flang, ifx, LFortran)
  • More tools, specifically things like:
    • a formatter (comparable to clang-format or similar tools for other languages)
    • a linter (comparable to clippy or similar tools for other languages)
  • An online learning environment
    • Think hosted Jupyter notebooks, but for Fortran (probably using LFortran)
    • I would be willing to collaborate on this
  • More widespread adoption of stdlib
    • I’d like to see sufficient, crucial functionality added and people using it (with fpm) to prove it’s value and ensure it won’t go away any time soon

I think the community has built up a lot of momentum and if we keep it up I think we can accomplish a ton this year. I’m very optimistic about the future.


With our interest in more and better documentation, we might consider applying for Google Season of Docs (GSoD) or Outreachy as well. Conda-forge very successfully improved their docs last year with several Outreachy internships.


I think all of my wishes for Fortran already got mentioned, so I just want to highlight the most important for me:

  • A collection of example codes for solving common problems (like reading a file, etc., optionally with suggestions for helpful libraries)
  • A community driven wiki with easily understandable tutorials and explanations to all Fortran features and functions. I know there are plenty tutorials scattered around the internet, but many times I don’t find what I need using DuckDuckGo or Google. So a “place to go” with all the information would be nice (maybe as a fortran-lang subdomain?)

Another personal goal for me and Fortran is a big one:
The technical college where I completed my master’s degree in Scientific Programming one year ago offers a Fortran lecture. But since the professor of this lecture retired some years ago and he wants to teach it for the very last time this February, I am going to take over his lecture! So this time I will assist him with the hands-on sessions, but next time (probably February 2023) I am going to be the new lecturer of Fortran. Therefore, I will use this year to refactor the lecture notes or maybe even create my own. I plan on sharing these under some kind of open-source licence, but I think this is enough for a own topic here in the discourse group. I will open a thread for this soon.


I am available anytime to help, just let me know once you have time and let’s work on it.

Awesome. Are you thinking more numerical / performance oriented, or more “Fortran tutorial” oriented?

4 posts were split to a new topic: Teaching Fortran with Jupyter

I’m probably going to be fairly busy for the next few weeks, but then things should slow down some and we should have some requirements and the beginnings of specs for the generics features, so that will be a good time to start working on it.

I’m thinking more “Fortran tutorial” oriented. I would expect usage caps, possibly with a subscription based model to limit hammering some poor server with HPC level workloads, but offer discounts and/or higher limits to students for learning purposes. Needs some more thought probably, but would definitely make Fortran more approachable (maybe even as easy as Matlab? :wink:)


7 posts were split to a new topic: Issues with Intel Fortran in Visual Studio

3 posts were split to a new topic: Funding for Fortran community

Several posts mentioned creating more Fortran tutorials. I suggest that anyone who has put instructional Fortran material on GitHub use the fortran-tutorial tag for their repo. A few people did so at my request, and there are now 5 listed, but there are many more on GitHub. There are many repos for the topic python-tutorial, and it should be equally easy to find Fortran info.


I have been moving posts around a bit to keep this thread focused on the original topic, while giving the new discussions room to continue without inter-leaving with each other. Carry on.


Perfect! I was going to ask you to split the VS discussions. :slight_smile: Everybody please keep posting your ideas, and we can split them into separate discussions as needed.

1 Like

5 posts were split to a new topic: Improving syntax highlighting of Fortran code on GitHub

I was waiting the same, I did not know about those courses @CRquantum , thanks for share.