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

ENCODE errors during formatted output

jabberwocky
Beginner
479 Views
using version 10.0.025, I'm facing "format syntax" errors flagged by ENCODE (libifcoremd.dll). It usually happens only in release mode. Sometime a reboot and a clean build clear it up. I'm talking very old pieces of code, such as
CHARACTER*9 STUFF
IH = (dfloat(LENGTH)+512*1024)/(1024*1024)
WRITE (STUFF,'(SP,I9)') IH
Question: anybody reporting such "format syntax" crashes in code that's been working over 20 years?
Any known fixes in later versions?
0 Kudos
3 Replies
jimdempseyatthecove
Honored Contributor III
479 Views
What is the type and value of LENGTH?
What is the type of IH?
0 Kudos
Steven_L_Intel1
Employee
479 Views
Can you show a small but complete program that has the problem? I can't think of an issue in recent years (even going back to 10.0, which is a ways), with format parsing and internal write (which is a standard version of the old ENCODE extension.)
0 Kudos
jabberwocky
Beginner
479 Views
integer*4 (implied)
0 Kudos
Reply