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

why come up "w>D+7" in the format warning when I compile the f90 scripts

Alex_Adams
Beginner
4,617 Views

hello guys,

when I use ifort -o progrmaname *.f90 , I get an answer :

remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
3000 format(i4,4(1x,i2.2),2x,f13.6,i3,4(2x,e18.12))

remark #8290: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+3'.
read(fidin,"(3x,i4,4(1x,i2),2x,f10.8,1x,i7)")yr_start,mon_start,dy_start,hr_start,&


has it any influence on my program running? cause I run it well in other platform like WIN7

how can I deal with it?

best regards

PS: i installed Intel Fortran Composer XE 2011 for Linux on my Fedora15 system.


0 Kudos
3 Replies
Steven_L_Intel1
Employee
4,617 Views
This is an informational message warning you that F10.8 or E18.12 may not be wide enough to express values - especially if there is a negative value. It will have no effect on the running of the program.
0 Kudos
twlaub
Beginner
4,617 Views
Is there a way to turn off this particular warning? We are aware and the warnings get in the way of recognizing other warnings that might be of concern to us.
0 Kudos
Steven_L_Intel1
Employee
4,617 Views
-diag-disable 8291
0 Kudos
Reply