Table 24 HP Fortran environment variables (continued)
Environment variable | Description |
TMPDIR | Specifies a directory for temporary files; used in place of |
| the default directory /var/tmp. |
|
|
TTYUNBUF | Controls tty buffering. To enable tty buffering, set |
| TTYUNBUFto 0; to disable tty buffering, set it to a nonzero |
| value. |
The following sections describe how to use the HP_F90_OPTS, LPATH, and
MP_NUMBER_OF_THREADSenvironment variables. See theenviron (5) man page for information about
The F90ROOT environment variable causes f90 driver to invoke all subprocesses from an alternate F90 root directory, rather than from their default directory. The default F90 root directory is /opt/fortran90/. For example,
•Install F90 compiler in an alternate root using
$ export | F90ROOT=directory | (ksh/sh notation) |
$ setenv | F90ROOT directory | (csh notation) |
•Invoke f90 <F90ROOT>/opt/fortran90/bin/f90.
•f90com32/f90com64 is invoked from <F90ROOT>/opt/fortran90/lbin/ directory.
Only files in /opt/fortran90 are affected by F90ROOT environment variable. Regardless of the HP Fortran driver you use, the compiler still uses the libraries, linker, and other files located in /usr/lib and /usr/ccs.
ST_F90COM[64] environment variableThe ST_F90COM / ST_F90COM64 environment variables specify the f90com32 / f90com64 path on a
$ export ST_F90COM=/tmp/f90com32 $ export ST_F90COM64=/tmp/f90com64
$ setenv | ST_F90COM | /tmp/f90com32 |
$ setenv | ST_F90COM64 | /tmp/f90com64 |
The HP_F90OPTSenvironment variable is read by the f90driver for options to insert in the command line. This variable is useful when you want the same options and arguments each time you invoke the f90command. For example, if HP_F90OPTSis set to the
$ f90 +list hello.f90
is equivalent to:
$ f90
The syntax of the HP_F90OPTSvariable allows the bar () character to be used to specify that options appearing before are to be recognized before any options on the command line and that options appearing after are to be recognized after any options on the command line. For example, the commands:
64 Compiling and linking