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

Different calculation results on different computers?

Rachel__
Beginner
460 Views
When I compile the exact same Fortran program on two different computers and run it, they give different calculation results.

I am running the same version of Fortran on two different machines: Compaq Visual Fortran Standard Edition 6.6.B

These are my Fortran Project Settings: /browser:"Debug/" /check:bounds /compile_only /dbglibs /debug:full /nologo /traceback /warn:argument_checking /warn:nofileopt /module:"Debug/" /object:"Debug/" /pdbfile:"Debug/DF60.PDB"

PC1: Intel Pentium 4 CPU 2.66 GHz, 768 MB RAM
PC2: AMD Athlon 64 Processor 3200+, 2.20GHz, 1.00 GB RAM

I would like to have the same calculation results on both computers, but I seem to be unable to get these. What could be different? What settings do I need to change to get the same results?

Any help would be greatly appreciated :)

Thanks in advance,

Rachel.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
460 Views
This is almost always caused by use of uninitialized variables. The way to track it is to add code to the program to print out intermediate results to a log file. Run it on the two machines and compare. See where the results start to diverge, then narrow your focus.

Do you see this problem if you run the exact same EXE on both systems?
0 Kudos
Reply