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.

Appendix B Runtime OptionsEnvironment VariablesAs an alternative to the command line, the environment variable FORT90L may be used tospecify runtime options. Any runtime options specified in the command line are combinedwith those specified in FORT90L. The command line arguments take precedence over thecorresponding options specified in the environment variable FORT90L.The following examples show how to use the environment variable FORT90L (the actualmeaning of each runtime option will be described in the sections below):Example 1:Setting the value of environment variable FORT90L and executing the program as such:setenv FORT90L -Wl,-e99,-le./a.out -Wl,-m99 -myopthas the same effect as the command line./a.out -Wl,-e99,-le,-m99 -myoptThe result is that when executing the program a.out, the runtime options -e99, -le, -m99,and user-defined executable program argument -myopt are in effect.Example 2:When the following command lines are used,setenv FORT90L -Wl,-e10./a.out -Wl,-e99the result is that a.out is executed with runtime option -e99 in effect, overriding the option-e10 set by environment variable FORT90L.Note that setenv would be export in the examples above for Korn and bash shell users.Runtime Configuration File (jwe_prof)At runtime, the runtime package looks for the file /etc/opt/FJSVplang/jwe_prof anduses any runtime options found there. Options must be specified using the -Wl, form. See“Runtime Options” on page 133. Options appearing in the FORT90L environment variableor on the command line take precedence over options appearing in jwe_prof. Within thefile, lines that begin with # are taken as comment lines. A single runtime option cannot extendover multiple lines.132 <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!