FortranTip

500 posts

FortranTip banner
FortranTip

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.

USA, near Boston Katılım Aralık 2021
21 Takip Edilen1.2K Takipçiler
FortranTip
FortranTip@fortrantip·
fortran-lang.discourse.group/t/amd-aocc-com… "Version 5.2 of the AMD AOCC compiler has been released. A DO CONCURRENT parallelization feature was added in Fortran. Also, the next major release, Version 6, will be based on llvm-flang and not “classic” flang like current versions."
English
0
6
15
941
FortranTip
FortranTip@fortrantip·
For the code if (c .and. d) then Fortran does not require short-circuit evaluation: the compiler may evaluate c and d in either order, or both. Code that runs with gfortran -O2 may crash with -O0. Compile and run with and without optimization to catch such bugs.
English
1
0
5
264
FortranTip
FortranTip@fortrantip·
fortran-lang.discourse.group/t/editors-for-… VSCode with the Modern Fortran plug-in and fortls shows you the definition of type-bound or object-bound procedures by clicking on Go to Implementations or Peek. The thread discusses many text editors on Linux that support Fortran.
English
0
0
11
296
FortranTip
FortranTip@fortrantip·
fortran-lang.discourse.group/t/anecdotal-fo… "The Intel Fortran team was curious if the [compiler] was an enabling technology for the Artemis moon mission completed a few weeks ago. NASA and confirmed that Intel Fortran was used to build their workhorse fluid dynamics solvers OVERFLOW and FUN3D"
English
0
4
13
409
FortranTip
FortranTip@fortrantip·
@IvanPribec notes that the gfortran command can compile Fortran and C source files into an executable if the Fortran and C code is interoperable. You don't need to separately compile the Fortran and C code with gfortran and gcc and then link the .o files. fortran-lang.discourse.group/t/automatic-ma…
English
0
1
11
249
FortranTip
FortranTip@fortrantip·
At Fortran Discourse he wrote, "I was playing with the new Qwen 3.5 family of models and benchmarked them" [...]. "Qwen is still a bit worse than Claude and GPT, but can solve more than 50% of my tasks." Qwen is an open-source model. fortran-lang.discourse.group/t/fortbench-a-…
English
0
1
4
312
FortranTip
FortranTip@fortrantip·
Christopher Albert has compared the Fortran coding ability of agents, finding codex-gpt-5.4-default and codex-gpt-5-codex-mini-default to be the best github.com/lazy-fortran/f….
English
2
5
11
516
FortranTip
FortranTip@fortrantip·
github.com/szaghi/formal Generates API documentation websites for Fortran projects using FORD (Fortran Documenter) and VitePress, by Stefano Zaghi, who has numerous projects.
English
1
2
14
508
FortranTip
FortranTip@fortrantip·
fortran-lang.discourse.group/t/why-submodul… 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.
English
0
3
10
456
FortranTip retweetledi
JC Loiseau
JC Loiseau@loiseau_jc·
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. 👉 tinyurl.com/3a4dfcnu
English
7
13
60
8.2K
FortranTip retweetledi
JC Loiseau
JC Loiseau@loiseau_jc·
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. 👉 tinyurl.com/2pykry9h
English
1
4
10
639