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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Compiler and Linker Options-N[no]autoobjstackAllocate automatic arrays on stackCompile only. Default: -NnoautoobjstackThe --Nautoobjstack option causes automatic arrays to be allocated on the stack, instead ofon the heap. Use of this option may cause stack faults if the local variable size is larger thanthe available stack. Stack limits are determined by the OS shell program.-N[no]callerallocCaller allocates array function resultCompile only. Default: -NnocallerallocThe -Ncalleralloc option controls whether array function results are allocated by the caller orthe callee. Usual practice is for the callee to allocate array result variable at the time it is executed.When -Ncalleralloc is specified, the result variable is preallocated by the callingprogram if the result array has an intrinsic type and is an explicit shape array with constantupper and lower bounds. If the result is of character type, its length specifier must be a constantvalue. This can reduce the overhead if the array function is called multiple times.This option must be used on all files that define or reference the array function.-N[no]freeallocFree or save allocatable variable on procedure exitCompile only. Default: -NfreeallocThe -Nfreealloc option controls whether a variable which is allocated in a procedure is deallocatedupon exit. The normal behavior is to deallocate the variable on exit (-Nfreealloc).When the -Nnofreealloc option is specified, allocated variables are not deallocated upon exitfrom the procedure. -Nnofreealloc causes the compiler to act in a nonstandard way.-N[no]mallocfreeTreat malloc and free as intrinsic proceduresCompile only. Default: -NnomallocfreeSpecify -Nmallocfree to treat malloc and free as intrinsic procedures.The malloc procedure is a function with an 8 byte integer result, and takes an integer argumentof any type.The free procedure is a subroutine which takes and 8 byte integer variable argument, whichis the result of a call to the malloc function.-N[no]obsfunExtension procedures as intrinsicCompile only. Default: -NobsfunThe -Nobsfun option causes the compiler to treat extension procedures as intrinsic procedures.When -Nnoobsfun is specified, extension procedures are not recognised as intrinsic.<strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong> 33

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

Saved successfully!

Ooh no, something went wrong!