NickFort
Technical User
- Jun 10, 2010
- 113
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.
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.