I have written a fortran program that has worked repeatedly with the Intel Compiler Version 9.When I compile the same files in the Microsoft Visual Studio 2008 shell using the Intel Visual Fortran Composer XE 2011 program it no longer works properly. The XE 2011 composer will finish the compiling using the same command "iforttest.f/exe:test.exe", but when I run the program it stops with a NaN (not a number error) where when compiled again with the Version 9 the error does not exist when running the program. I also noticed that when compiled in version 9 the file size is 628 KB, but when compiled with Composer XE the file size is 770 KB. Is there a way to make the compiler on XE to optimize the same as version 9 so the program will still function properly? Does there exist a windows switch setting to compile as if it was version 9?
For more complete information about compiler optimizations, see our Optimization Notice.