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

Different results whith Compaq and ifort

jefferds
Beginner
394 Views
I have a program in fortran77 that it was made using the Compaq compiler, it run perfectly. But when I compile with ifort
(the same code without alteration) the numerical
results of the program are different. What it can be happening?

Somebody can give an idea of which the problem?
0 Kudos
2 Replies
TimP
Honored Contributor III
394 Views
Several earlier discussion on the Windows Fortran forum would be relevant. Among the first things to check would be whether you neglected to declare SAVE where that is expected. CVF defaults to SAVE, which some people used to expect, although it was never in the Fortran standard. Un-initialized variables, subscript range violations, and other usual suspects could account for differences.
0 Kudos
jefferds
Beginner
394 Views
thanks!

After 4 days and the work of 3 people we find the problem.
Ones of the variables was not at common.
0 Kudos
Reply