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


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

in Table To:


© 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