FortranTip (@fortrantip) 's Twitter Profile
FortranTip

@fortrantip

Tips about Fortran. Code samples and index of tweets are at GitHub. I post as Beliavsky at Fortran Discourse. Joined by other contributors. Male.

ID: 1471886471011389446

linkhttps://github.com/Beliavsky/FortranTip calendar_today17-12-2021 16:54:38

460 Tweet

1,1K Followers

21 Following

FortranTip (@fortrantip) 's Twitter Profile Photo

Some papers on LLMs in HPC are discussed at fortran-lang.discourse.group/t/deepseeks-co… . Even if an LLM-generated code compiles and gives the right answer for a toy problem, the algorithm may be coded incorrectly or inefficiently.

FortranTip (@fortrantip) 's Twitter Profile Photo

Vincent Lafage discusses the evolution of Fortran and how to evolve legacy Fortran codes in a video at youtube.com/watch?v=iXodpB…, starting at 8:47.

FortranTip (@fortrantip) 's Twitter Profile Photo

There are efforts to translate Fortran to C++ with LLMs, but rouson notes that Fortran concepts such as pure functions and SPMD parallelism with a PGAS that both work in distributed memory have no precise counterparts in C++. fortran-lang.discourse.group/t/scientists-a…

FortranTip (@fortrantip) 's Twitter Profile Photo

fortran-lang.discourse.group/t/gnu-fortran-… Gfortran 15.1 is released. Fortran 2018 and 2023 locality specifiers to DO CONCUCRRENT are now supported, there is experimental support for unsigned types, and a -Wexternal-interface-mismatch option has been added, among other things.

FortranTip (@fortrantip) 's Twitter Profile Photo

degenerateconic.com/conda-plus-for… With the conda package manager and the conda-forge package repository, we now have have easy access to free compilers (gfortran, flang, ifx, lfortran) for the three major platforms (Windows, Linux, and Mac). Jacob Williams

FortranTip (@fortrantip) 's Twitter Profile Photo

github.com/fortran-lang/f… Fprettify, written in Python, is probably the most used auto-formatter for modern Fortran code. It imposes strict whitespace formatting and integrates with editors such as Vim.

FortranTip (@fortrantip) 's Twitter Profile Photo

sovereign.tech/tech/gfortran The Sovereign Tech Fund is funding gfortran €360,000 to improve parallel computing support and make other improvements. It is used in climate modeling, aerospace, weather forecasting, computational chemistry, artificial intelligence, and other fields.

FortranTip (@fortrantip) 's Twitter Profile Photo

The UK Met Office is giving a course "Introduction to Modern Fortran", with slides, including exercises, at epcced.github.io/2025-05-19-MO-…

FortranTip (@fortrantip) 's Twitter Profile Photo

Slides for an Intermediate Modern Fortran course covering the facilities for abstraction and polymorphism provided by classes and interfaces, and the facilities for interoperability with C are at epcced.github.io/2025-05-22-MO-…

FortranTip (@fortrantip) 's Twitter Profile Photo

OpenMP directives can be faster than DO CONCURRENT, since compiler writers have put more effort in implementing the former fortran-lang.discourse.group/t/do-concurren…

FortranTip (@fortrantip) 's Twitter Profile Photo

DO CONCURRENT communicates that an operation should be independent of order, but when there is no parallelization method the compiler must pick some order to follow. Marshall Ward ran some tests and suggests outer to inner loops. github.com/marshallward/d…

FortranTip (@fortrantip) 's Twitter Profile Photo

At ubaidsk.github.io/fortran_ast_as… is a tool by Ubaid Shaikh that shows that Abstract Syntax Tree and Abstract Semantic Representation of a Fortran code, using LFortran.

FortranTip (@fortrantip) 's Twitter Profile Photo

Fortran compares strings of unequal LEN by padding the shorter string with blanks at the end. Therefore you can write if (s == "yes") if len(s) > 3 instead of if (trim(s) == "yes")

FortranTip (@fortrantip) 's Twitter Profile Photo

Using QuickWin with Intel Fortran, you can make Fortran GUI programs for Windows. Another choice is Silverfrost FTN95’s native Clearwin+ library. fortran-lang.discourse.group/t/gtk-qt-web-t…

FortranTip (@fortrantip) 's Twitter Profile Photo

Fortran features added and removed, from the Original IBM 704 FORTRAN through Fortran 2018, are listed at github.com/llvm/llvm-proj…

FortranTip (@fortrantip) 's Twitter Profile Photo

escholarship.org/uc/item/5z08n7… By prohibiting the overriding of a parent type’s type-bound procedures and using PURE procedures with DO CONCURRENT, the authors matched the performance of OpenMP. The deep learning library used is github.com/BerkeleyLab/fi…

FortranTip (@fortrantip) 's Twitter Profile Photo

fortran-lang.discourse.group/t/visualizing-… David Pfister created a tool to display the module dependencies of a Fortran project.

FortranTip (@fortrantip) 's Twitter Profile Photo

For a zero-size 1-D array x, lbound(x) == 1 and ubound(x) == 0, so it is still true that size(x) == ubound(x) - lbound(x) + 1 For zero-size logical array x, all(x) .eqv. .true. and any(x) .eqv. .false. so the property all(x) .eqv. (.not. any(.not. x)) still holds

FortranTip (@fortrantip) 's Twitter Profile Photo

An auto-generated, unofficial introduction to the Fortran Standard Library is at deepwiki.com/fortran-lang/s…. DeepWiki can summarize any GitHub project.

FortranTip (@fortrantip) 's Twitter Profile Photo

intel.com/content/www/us… Intel Fortran compiler 2025.2.0 released. They suggest also installing Intel Distribution for GDB, Intel MPI Library and oneMKL.