- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Do you see this problem if you run the exact same EXE on both systems?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page