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 />
Instruct the compiler to search the specified path(s) for <strong>Fortran</strong> INCLUDE files after searching<br />
the source file directory. Separate multiple search paths with a semicolon, not spaces. If a<br />
space appears as part of a pathname, the entire path must be enclosed in quotes.<br />
Example<br />
<strong>LF</strong>95 demo -i ..\project2\includes;..\project3\includes<br />
In this example, the compiler first searches the source file directory, then searches<br />
..\project2\includes and finally ..\project3\includes for INCLUDE files specified<br />
in the source file DEMO.F90<br />
-[N]IN<br />
Implicit None<br />
Compile only. Default: -nin<br />
Specifying -in is equivalent to including an IMPLICIT NONE statement in each program<br />
unit of your source file: no implicit typing is in effect over the source file.<br />
When -nin is specified, standard implicit typing rules are in effect.<br />
-[N]INFO<br />
Display Informational Messages<br />
Compile only. Default: -ninfo<br />
Specify -info to display informational messages at compile time. Informational messages<br />
include such things as the level of loop unrolling performed, variables declared but never<br />
used, divisions changed to multiplication by reciprocal, etc.<br />
-[N]INLINE [(arg[,arg[,...]])]<br />
Inline Code<br />
Compile only. Default: -ninline<br />
Specify -inline to cause user-defined procedures to be inserted inline at the point they are referenced<br />
in the calling code. This option only affects code which is in the same source file as<br />
the calling procedure. Intrinsic functions, module procedures and internal procedures are not<br />
inlined.<br />
Multiple arguments are separated by commas. At least one argument must be present.<br />
If arg is a number, any user defined procedure with total lines of executable code smaller than<br />
arg is inlined. This argument may only appear once in the argument list.<br />
If arg is a number with the letter capital “K” appended, arrays which have a size less than arg<br />
kilobytes are inlined. Inlining arrays can enhance the optimization abilities of the compiler.<br />
This argument may only appear once in the argument list.<br />
If arg is a procedure name, or comma separated list of procedure names, the named procedures<br />
are inlined.<br />
36 <strong>LF</strong> <strong>Fortran</strong> <strong>Express</strong> User’s <strong>Guide</strong>