Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28758 Discussions

warning #5272: Line truncated to 7200 characters

DataScientist
Valued Contributor I
1,119 Views

Is there a way to set the source line maximum length limit to larger than 7200?

0 Kudos
1 Solution
David_Billinghurst
New Contributor III
1,102 Views

The compiler limits are give in https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-1/compiler-limits.html

I understand that 7200 characters is a hard limit.  There is no fixed limit on the number of continuation lines.  The maximum number of lexical tokens per statement is 40000.

View solution in original post

2 Replies
David_Billinghurst
New Contributor III
1,103 Views

The compiler limits are give in https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2023-1/compiler-limits.html

I understand that 7200 characters is a hard limit.  There is no fixed limit on the number of continuation lines.  The maximum number of lexical tokens per statement is 40000.

Steve_Lionel
Honored Contributor III
1,066 Views

I'll note that Fortran 2023 will remove the limit on line length and continuation lines, replacing these with a maximum character limit per statement at one million characters.

Reply