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

compliler inconsitency

wefleenor
Beginner
704 Views
We have just found that using the same version of Visual Fortran ver 6.0 that one computer throws off and error stating that the variable has not been initialized before use, while another computer gives no error and runs the program as thought there was no problem.

Is there some setting that we cannot find that differentiates this?

Thanks.
0 Kudos
4 Replies
james1
Beginner
704 Views
An initialization warning is easily attributable to a difference in project configuration, perhaps you have warnings treated as errors on one computer (Project -> Settings -> Fortran -> Warning Level).

A good way to double check your compiler more directly is just compile from the command line and see if you still see any differences.

James
0 Kudos
wefleenor
Beginner
704 Views
We have the 'warnings treated as errors' activated on both compilers and have gone through all the compile options to make sure they were the same.
0 Kudos
james1
Beginner
703 Views
Did you try compiling from the command line?

James
0 Kudos
Steven_L_Intel1
Employee
703 Views
Is the optimization level the same? In 6.0, uninitialized variable checking wasn't done if optimization was turned off, as it would be in a debug configuration.

Have you considered updating your compiler version? 6.0 is four years old at this point...

Steve
0 Kudos
Reply