To use XL Fortran V10.1 without typing the complete path, you can create symbolic links in the /usr/bin/ directory for the specific invocations contained in the xlcmp_path /xlf/10.1 /bin/ directory.

If you have not already done so when you ran xlf_install, you can create the symbolic links for the following XL Fortran V10.1 invocations:

Links to some invocations are not recommended, either because they delete user-defined or GCC invocations or because they are not compiler invocation commands. These include the following commands:

Use the following command to create a symbolic link:

ln -s xlcmp_path/xlf/10.1/bin/invocation /usr/bin/invocation

where:

Basic example: Command to create a symbolic link to the XL Fortran V10.1 xlf invocation

This example assumes that the entire XL Fortran V10.1 is installed in the default location /opt/ibmcmp/.

ln -s /opt/ibmcmp/xlf/10.1/bin/xlf /usr/bin/xlf