Skip to content

Fix: print warning/error console messages (Intel Fortran compiler) - #3419

Open
RBergua wants to merge 2 commits into
OpenFAST:rc-5.0.1from
RBergua:console_print
Open

Fix: print warning/error console messages (Intel Fortran compiler)#3419
RBergua wants to merge 2 commits into
OpenFAST:rc-5.0.1from
RBergua:console_print

Conversation

@RBergua

@RBergua RBergua commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Feature or improvement description
On builds compiled with Intel Fortran compiler (e.g., using GitHub Actions), some console messages do not appear. They are never printed, with no indication anything went wrong.

In SysIVF.f90, it was defined:
INTEGER, PARAMETER :: ConRecL = 120 ! The record length for console output.

Note that the same file defines:
INTEGER, PARAMETER :: MaxWrScrLen = 256 ! The maximum number of characters allowed to be written to a line in WrScr

So, before, we could have messages writen to screen (WrScr) of up to 256 characters (allowed length). But only messages up to 120 characters (ConRecL) actually got accepted by the console output write. Anything longer was silently dropped.

Interestingly, this only affected the Intel Fortran compiler, not gfortran. For example, compiling locally with GCC 15.2.0 showed the correct behavior, with all messages printed as expected. This indicates that the Intel Fortran compiler strictly enforces the length limit on WRITE statements, while GCC is more permissive.

Below you can find screenshots illustrating all this using AeroDyn standalone:
GCC 15.2.0 compiler:
image

Intel Fortran compiler (GitHub Actions via deploy.yml)
image

Intel Fortran compiler after the fix:
image

Related issue, if one exists
Fixes #3418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant