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.

BRuntime OptionsThe behavior of the LF64 runtime library can be modified at execution time by a set of commandswhich are submitted via the command line when invoking the executable program, orvia environment variables. These runtime options can modify the behavior of input/outputoperations, diagnostic reporting, and floating-point operations.Runtime options submitted on the command line are specified by using a character sequencethat uniquely identifies the runtime options, so that they may be distinguished from regularcommand line arguments utilized by the user’s program. In the current version of the compiler,the values obtained via the GETCL(), GETPARM(), and GETARG() functions willinclude the runtime options as well as user-defined command line arguments. This can causeproblems if the number of runtime options specified is always changing or is unknown to theprogrammer. The solution in this case is to place the runtime options in environment variableFORT90L (see “Environment Variables” on page 132).Command FormatRuntime options and user-defined executable program options may be specified as commandoption arguments of an execution command. The runtime options use functions supported bythe LF64 runtime library. Please note that these options are case-sensitive.The format of runtime options is as follows:exe_file [-Wl,[runtime options]...] [user-defined program arguments]...Where exe_file indicates the user’s executable program file. The string “-Wl,” must precedeany runtime options, so they may be identified as such and distinguished from user-definedprogram arguments. Note that it is W followed by a lowercase L (not the number one). Pleasenote also that if an option is specified more than once with different arguments, the last occurrenceis used.<strong>Lahey</strong>/Fujitsu <strong>Linux</strong>64 Fortran User’s <strong>Guide</strong> 131

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

Saved successfully!

Ooh no, something went wrong!