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

fpp and command line buffer limits?

breitenfeld
Beginner
778 Views
Is there a new limit in version 12 for the command line buffer when preprocessing, when I try to compile my .F90 code using a (albeit maybe execessive) command line of 6355 characters I get the error.

fpp: fatal: Command line too long for buffer

I did not have this problem with version 11 (My cmake generates a lot of includes and libs).

It looks like the limit is around 4000 characters.
0 Kudos
2 Replies
breitenfeld
Beginner
778 Views
I'm still having this problem with version 12.0.2, is this a permanent feature and I should be looking for a way around this, or is this in the pipeline to be fixed.
0 Kudos
Ron_Green
Moderator
778 Views
The 4K buffer was increased to 8K in Update 3, 12.0.3.174 which is posted to https://registrationcenter.intel.com

In version 12.1 there is a new algorithm to use a dynamic buffer which will have no more upper limit.

I would guess 8K would be sufficient, give Update 3 a try.

ron
0 Kudos
Reply