From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16702 invoked from network); 4 Mar 1999 11:11:43 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 4 Mar 1999 11:11:43 -0000 Received: from neko.issp.u-tokyo.ac.jp (neko.issp.u-tokyo.ac.jp [157.82.114.7]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA09815 for ; Thu, 4 Mar 1999 06:07:41 -0500 Received: from localhost (lwb@localhost) by neko.issp.u-tokyo.ac.jp (8.8.7/8.8.7) with SMTP id UAA03416 for ; Thu, 4 Mar 1999 20:05:16 +0900 Date: Thu, 4 Mar 1999 20:05:16 +0900 (JST) From: Lorenzo Bernardi Reply-To: Lorenzo Bernardi To: axp-list@redhat.com Subject: Numerical simulations on alphalinux: C or fortran? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Dear all, I bought a alphalinux workstation to make numerical simulations. The kind of numerical simulation I'm doing is monte carlo and it evolves mainly calculating EXP and COS with real*8. The language I use is fortran77. For now on the alphalinux I compile on a DU workstation and use the compiled binaries. My question is will I gain in term of speed to transfer my code from fortran to C? I will then use egcc compiler plus the new libcpml. It seems that C compiler are evolving faster thna fortran compiler and thus they can be better for fp operation than fortran compiler. Or maybe the enhancement are different. Any experience with simulation on alpha machine is greatly appreciated. (Other compiler brand or optimization tricks and so on) And another question is related to top. Essentially the time is wrong and I'm using CPU states: 797.0% user, 0.3% system, 99.9% nice, 0.0% idle ~~~~~ which is quite difficult with only one CPU. I have the same problem with the time command. Thamks in advance, Lorenzo Bernardi