To use IBM® XL
Fortran for Linux, V15.1 commands
without typing the complete path, you can add the location of the
compiler invocations to the PATH environment variable.
The command to set the
PATH environment variable
depends on the shell that you are using.
where
installation_path is the location
where you have installed the compiler packages. By default, this is
/opt/ibm/.
Note: To set this variable in the Bourne,
Korn, or BASH shell so that it applies to all users, add the command
to the file /etc/profile. To set it for a specific
user only, add the command to the file .profile in
the user's home directory. To set this variable in the C shell so that it applies to all users, add the command
to the file /etc/csh.cshrc. To set it for a specific
user only, add the command to the file .cshrc in
the user's home directory. The environment variable is set each time
the user logs in.