12.07.2015 Views

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

LF95 Linux User's Guide - Lahey Computer Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 Developing with LF64Examplelfc demo.f90 --include ../dir2/includes:../dir3/includesIn this example, the compiler first searches the source file directory, then searches..\dir2\includes and finally ..\dir3\includes for INCLUDE files specified in thesource file demo.f90--[n]inImplicit NoneCompile only. Default: --ninSpecifying --in is equivalent to including an IMPLICIT NONE statement in each programunit of your source file: no implicit typing is in effect over the source file.When --nin is specified, standard implicit typing rules are in effect.--[n]infoDisplay Informational MessagesCompile only. Default: --ninfoSpecify --info to display informational messages, including suggestions on areas of possibleimprovement for your code and information on steps taken by the compiler for optimizationand parallelization. --nwarn forces --ninfo.--inlineApply inline expansionCompile only. Default: no inline expansion--inline takes no options and is equivalent to -x-. See “-xarg” on page 43-Karray_transformPerform extreme array optimizationsCompile only. Default: do not perform optimizationsSpecifying the -Karray_transform option allows the compiler to pad and reshape arrays in anattempt to optimize cache performance and execution speed. Execution errors or incorrectresults may occur if program units compiled with this option are linked with program unitscompiled without the option. Depending on program structure, execution times might befaster or slower, experimentation will determine if this option is beneficial.Use of this option may change the results of the UBOUND and SIZE functions. These optimizationsmay not apply to arrays having the SAVE or TARGET attributes, named constants,derived type components, pointers, initialized variables, or function results.-K[no]evalOptimize expression evaluationCompile only. Default: -Knoeval26 <strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!