We have same codes run the two machine(both linux): Pentium III 1.0GHZ and Xeon 1.8GHZ, and we expect to see faster run on Xeon machine since it has faster CPU and more memory.
1 Our code is Fortran code, we use f2c to convert the codes to C codes first, then use GCC to compile them. Codes run well on both machines, but it just runs slower on the faster machine(Xeon 1.8GHZ).
2 Then we use G77 to compile and link, there is no error when we do so, but we get incorrect results on both machines.
3 When we test some very simple codes on both machines compiled by G77 or GCC with f2c, the results show that :
codes run faster on faster machine(Xeon1.8GHZ) if compiled by G77, otherwise they run slower on faster machine(Xeon1.8GHZ) if compiled by GCC with f2c.
Is something wrong with software or CPU structure ??
Thank you very much.
III 1.0GHZ Deyong