running Fortran code on Linux

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue May 10 17:40:59 UTC 2005


On Tue, May 10, 2005 at 10:12:05AM -0700, Michael Yang wrote:
> I have a CFD Fortran code running on both Windows and Linux platforms. It surprised me that on windows system the code can use up to 50% cpu, while it can use only about 10% cpu in the linux system even there is no other program running. More than 80% of cpu is idle. BTW, both computers have intel 3GHz cpu. I am wondering if anyone has experience in programming under Linux enviroment. How can I make most use of the system resources, i.e., cpu, memory etc. Does my problem come from the code itself or from other things like the compiler etc. 

Which compiler is it compiled with and does it use a lot of memory
accesses?  Linux has a much more efficient memory manager in the kernel
than windows.  I have seen claims that this is part of why Linux gains
much more from 64bit chips than windows does so far.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list