Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Numerical simulations on alphalinux: C or fortran?
@ 1999-03-04 11:05 Lorenzo Bernardi
  1999-03-04 11:30 ` Andrei A. Dergatchev
  1999-03-04 13:00 ` Jochen Kuepper
  0 siblings, 2 replies; 6+ messages in thread
From: Lorenzo Bernardi @ 1999-03-04 11:05 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-03-04 18:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-04 11:05 Numerical simulations on alphalinux: C or fortran? Lorenzo Bernardi
1999-03-04 11:30 ` Andrei A. Dergatchev
1999-03-04 18:55   ` Chris Albertson
1999-03-04 13:00 ` Jochen Kuepper
1999-03-04 13:34   ` Helge Kreutzmann
1999-03-04 18:54     ` Jochen Kuepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox