Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Differences in execution speed when compiled on 32-bit and 64-bit

Status
Not open for further replies.

NickFort

Technical User
Jun 10, 2010
113
0
0
I have a program, which I compile on my 32-bit Windows 7 system with gfortran ( execution time is about 90 milliseconds.

I then gave this source code to a colleague who is running the same version of Windows, except 64-bit. He needed a 64-bit compiler, so we had to install one of the MinGW64 ones (in fact, we tried several, including older builds). The program is compiled with GNU Make, so the flags, etc. are all identical. The executable compiled on his system takes about 2.5 seconds! (Not milliseconds!)

Any insight into what's going on here? Surely the speeds should be comparable, at the very least.

--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top