Enabling the man pages

Man pages are provided for the compiler invocation commands and other utilities that are supplied with the compiler.

The XL Fortran V10.1 man pages support the following locales:

However, before you can read the compiler-supplied man pages, you must add the full directory path to the MANPATH environment variable. The command depends on the Linux shell you are using.

To set the MANPATH environment variable using the Bourne, Korn, or BASH shell, use the following command:
export MANPATH=installation_path/xlf/10.1/man:$MANPATH
To set the MANPATH environment variable using the C shell, use the following command:
setenv MANPATH  installation_path/xlf/10.1/man:$MANPATH
where installation_path is the location where you have installed the XL Fortran packages (by default, this is /opt/ibmcmp/).
Note: To set this variable in the Bourne, Korn, or BASH shell so that it applies to all users, add the commands to the file /etc/profile. To set it for a specific user only, add the commands to the file .profile in the user's home directory. In the C shell, add the commands to the file /etc/csh.cshrc. To set it for a specific user only, add the commands to the file .cshrc in the user's home directory. The environment variable is set each time the user logs in.