LF Fortran Express User's Guide - Lahey Computer Systems, Inc.
LF Fortran Express User's Guide - Lahey Computer Systems, Inc.
LF Fortran Express User's Guide - Lahey Computer Systems, Inc.
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 2 Developing with <strong>LF</strong> <strong>Fortran</strong><br />
• Modview - contains a module for using the mouse and arrow keys to rotate, zoom,<br />
pan and scale. Initially the left button rotates (hold button down while moving<br />
mouse), middle button zoom, arrow keys pan, and right button brings up a menu.<br />
• Olympic - the olympic rings come flying into position. Restart the animation with the<br />
space bar; terminate with escape.<br />
• Plotfunc - plots a function of two variables as contours, a surface mesh, or a solid<br />
surface. Uses the modview module. Right button brings up a menu.<br />
• Scube - a rotating cube in front of a background. Right mouse button brings up a<br />
menu. There are also keyboard keys for the same functions as on the menu (look for<br />
keyboard in the source code).<br />
• Sphere - a red sphere.<br />
Sources of Information<br />
General inquiries and bug reports regarding f90gl should be sent to:<br />
william.mitchell@nist.gov.<br />
<strong>Lahey</strong> specific issues should be directed to support2@lahey.com.<br />
OpenGL information can be found at http://www.opengl.org.<br />
Controlling Compilation<br />
During the compilation phase, the driver submits specified source files to the compiler for<br />
compilation and optimization. If the -c (compile only) option is specified, processing will<br />
stop after the compiler runs and modules are created (if necessary). See ”-[N]C” on page<br />
30. Otherwise, processing continues with the appropriate action depending on what sort of<br />
output file is requested.<br />
Errors in Compilation<br />
If the compiler encounters errors or questionable code, you may receive any of the following<br />
types of diagnostic messages (a letter precedes each message, indicating its severity):<br />
28 <strong>LF</strong> <strong>Fortran</strong> <strong>Express</strong> User’s <strong>Guide</strong><br />
U:Unrecoverable error messages indicate it is not practical to continue<br />
compilation.<br />
S:Serious error messages indicate the compilation will continue, but no object file<br />
will be generated.<br />
W:Warning messages indicate probable programming errors that are not serious<br />
enough to prevent execution. Can be suppressed with the -nw or -swm option.<br />
I:Informational messages suggest possible areas for improvement in your code and<br />
give details of optimizations performed by the compiler. These are normally suppressed,<br />
but can be seen by specifying the -info option (see ”-[N]INFO” on page<br />
36).