Basic HTML version of Foils prepared December 6 98

Foil 8 PPT Slide

From Java Access to Numerical Libraries: Compiling Fortran to Java SC98 Orlando Java Grande Panel -- November 13 98. by Jack Dongarra, Christian Deane, Keith Seymour, Clint Whaley


GOTO Translation
First Step
Try to identify Fortran constructs containing GOTO statements that can be translated to equivalent Java constructs (which cannot contain a goto statement).
10 CONTINUE
IF(C .EQ. ONE) THEN
A = 2 * A
GO TO 10
END IF
while(c == one)
{
a = 2 * a;
}



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Dec 6 1998