LF95 Linux User's Guide - Lahey Computer Systems
LF95 Linux User's Guide - Lahey Computer Systems
LF95 Linux User's Guide - Lahey Computer Systems
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 LF64Use the -D option to define a name that can be recognized by the preprocessor. This optionis equivalent to specifying a name in a #define directive.--[n]dalDeallocate AllocatablesCompile only. Default: --dalSpecify --dal to deallocate allocated arrays (not appearing in DEALLOCATE or SAVE statements)whenever a RETURN, STOP, or END statement is encountered in the program unitcontaining the allocatable array. Note that --ndal will suppress automatic deallocation, evenfor Fortran 95 files (automatic deallocation is standard behavior in Fortran 95).--[n]dblDoubleCompile only. Default: --ndblSpecify --dbl to extend all single-precision REAL and single-precision COMPLEX variables,arrays, constants, and functions to REAL (KIND=8) and COMPLEX (KIND=8)respectively. If you use --dbl, all source files (including modules) in a program should becompiled with --dbl. Specifying --dbl will usually result in somewhat slower executables.The --dbl option is cancelled by --openmp.If the --dbl option is specified, the -CcdRR8, -CcR4R8, -CcdDR16, -CcR8R16, -Ccd4d8, and-Cca4a8 options cannot be specified.--[n]f95Fortran 95 ConformanceCompile only. Default: --nf95Specify --f95 to generate warnings when the compiler encounters non-standard Fortran 95code. For additional comformance messages, see “Standard conformance diagnostics” onpage 40.Note that --nf95 allows any intrinsic data type to be equivalenced to any other.--fastOptimize code based on compiler environmentCompile only. Default: no optimizationSpecify the --fast option to optimize code based on the environment of the compilingmachine. The compiler examines the hardware configuration and applies SSE and prefetchingoptimizations accordingly. Use of --fast forces --ntrace.--file filenameFilenameCompile and link. Default: not present24 <strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong>