FortranTip
@fortrantip
Followers
1K
Following
264
Media
160
Statuses
484
Tips about Fortran. Code samples and index of tweets are at GitHub. I post as Beliavsky at Fortran Discourse. Joined by other contributors. Male.
USA, near Boston
Joined December 2021
Many open-source Fortran codes are listed by topic at https://t.co/JdtNnNmn1h and https://t.co/bZmof1LhWr
github.com
Directory of Fortran codes on GitHub, arranged by topic - Beliavsky/Fortran-code-on-GitHub
1
6
29
https://t.co/17NyFm7v6u To simplify compiler bug reports, Damian Rouson suggests that 1. All procedure definitions go in submodules 2. Each submodule’s immediate ancestor is a module (i.e., there’s no intervening submodule) 3. Each file contains only one module or one submodule.
fortran-lang.discourse.group
I’ve submitted ~1K compiler bug reports over more than two decades. A recent realization has sped up the process at least 3x. Hopefully explaining the reasons will help others. The reasons start with...
0
3
9
Had an interesting discussion with a colleague about the merits of #Fortran and #Python for an undergrad class (ME not CS) on numerical linear algebra. Having just migrated my personal webpage, I figured I'll start a technical blog and write about it. 👉
loiseaujc.github.io
Quarto Academic Website Template adapted by Dr. Gang He
7
13
58
New post about 𝗙𝗼𝗿𝘁𝗿𝗮𝗻. We'll explore how to go from a naïve implementation of the Jacobi method taking a whole minute to solve the 2D Poisson (~250 000 unknowns) to a multithreaded one solving the same problem in less than 3 seconds. 👉
loiseaujc.github.io
Quarto Academic Website Template adapted by Dr. Gang He
1
4
10
Current support by Intel Fortran of the Fortran 2023 standard and OpenMP is summarized in a table at https://t.co/YC72lJdmLa .
intel.com
Find software and development products, explore tools and technologies, connect with other developers and more. Sign up to manage your products.
2
6
15
https://t.co/13OxdRD9wV Damian Rouson: "default(none) in do concurrent is good code hygiene – similarly to implicit none. Using default(none) in a do concurrent construct obligates the programmer to specify the locality of variables, e.g., local, local_init, or reduce."
fortran-lang.discourse.group
Thanks @rouson for giving this talk ! A great showcase of great tools of the language. Would recommend anyone, familiar or not, to watch it
1
4
12
https://t.co/pxIHUuKWdJ "Fortran 2023: When, How, and Why We Use it", by Damian Rouson
0
6
28
https://t.co/wYwvonj5hn Intel Fortran compiler 2025.2.0 released. They suggest also installing Intel Distribution for GDB, Intel MPI Library and oneMKL.
intel.com
Intel® oneAPI standalone component installation files
0
5
14
An auto-generated, unofficial introduction to the Fortran Standard Library is at https://t.co/11OqjyGbYI. DeepWiki can summarize any GitHub project.
deepwiki.com
This page provides a comprehensive introduction to the Fortran Standard Library (stdlib) project, covering its goals, architecture, build system, and modular organization. For detailed information abo
0
0
15
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
0
1
12
https://t.co/twLKuN5TVO David Pfister created a tool to display the module dependencies of a Fortran project.
fortran-lang.discourse.group
I just created the project fpm-modules, a fpm plugin to generate module dependency graphs. Since it took me some time and research to create it, I wrote a tutorial out of it, hoping it could be...
0
2
21
https://t.co/dTiBxDkDbl 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
A deep learning library for use in high-performance computing applications in modern Fortran - BerkeleyLab/fiats
0
2
22
Fortran features added and removed, from the Original IBM 704 FORTRAN through Fortran 2018, are listed at
github.com
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. - llvm/llvm-project
0
3
22
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
I use Intel Fortran in Microsoft Visual Studio and create this interface using QuickWin:
1
3
16
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")
0
0
12
At https://t.co/jpTUXM36kB is a tool by Ubaid Shaikh that shows that Abstract Syntax Tree and Abstract Semantic Representation of a Fortran code, using LFortran.
0
0
10
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
Comparison of non-parallel do concurrent(i,j) vs do concurrent(j,i) - marshallward/do-conc-order
0
5
23
OpenMP directives can be faster than DO CONCURRENT, since compiler writers have put more effort in implementing the former
fortran-lang.discourse.group
I am trying three different poisson solvers: Do loops: program poisson_solver implicit none integer, parameter :: nx=512, ny=512, max_iter=10000 real, parameter :: tol=1.0e-6, dx=1.0/(nx-1), dy=1.0...
1
5
24
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
0
13
29
The UK Met Office is giving a course "Introduction to Modern Fortran", with slides, including exercises, at
0
13
39