[Beowulf] Teaching Scientific Computation (looking for the perfect text)
lindahl at pbm.com
Tue Nov 20 18:22:27 EST 2007
On Tue, Nov 20, 2007 at 05:18:59PM -0500, Peter St. John wrote:
> It turns out that the automaton
> produces C which is morphed to look like Fortran, so for example this:
> 100 WRITE (6, 200, X)
> 200 FORMAT(...)
In all fairness, this is extremely difficult. You can turn a few
simple formats into fprintfs(), but most formats are not that simple.
And the commonly-used * formats require funky calls. And since you
want to re-use a real Fortran I/O library instead of reinventing it,
you tend to end up with a translation which is close to what the
Fortran FE generates anyway: "start record", "emit this part of the
line", ..., "end record".
The actual computation is often pretty readable in Ctran.
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
More information about the Beowulf