The code is exactly the same -- I copied it from one computer to another. The code is compiled with g++-4 (4.9.1) obtained from fink on OSX on both machines, and is not run in parallel.
Compiler options are "-O2", and the computers are basically doing nothing else (low CPU & memory usage). Code is a 2400-line research code link.
Machine 1:
- Late 2013 MacBook Pro Retina,
- 2.8 GHz i7-4558U,
- 16GB 1600MHz DDR3,
- 500GB Flash storage
Machine 2:
- Late 2013 MacPro Workstation,
- 3.5GHz 6-Core Intel Xeon E5-1650,
- 32GB 1867MHz DDR3
- 251GB Flash storage,
- 3TB external SATA drive
Run-time:
Machine 1: with output 200 sec., w/o 18 sec.
Machine 2: (/ directory -- should be flash drive): with 2230 sec., w/o 2075 sec.
Machine 2: (~ directory -- should be external drive): with 2262 sec., w/o 2080 sec.
Any ideas of how to improve runtime on the MacPro?