To use XL Fortran V10.1 commands without typing the complete path, you can add the location of the compiler invocations to the PATH environment variable.
If you are using Bourne or Korn shell, you can use the following command:
export PATH=$PATH:xlcmp_path/xlf/10.1/bin/
where xlcmp_path is the location of all XL Fortran V10.1 compiler files.
If you are using C shell, you can use the following command:
setenv PATH $PATH:xlcmp_path/xlf/10.1/bin
where xlcmp_path is the location of all XL Fortran V10.1 compiler files.
If you are using Bourne or Korn shell:
export PATH=$PATH:/opt/ibmcmp/xlf/10.1/bin/
If you are using C shell:
setenv PATH $PATH:/opt/ibmcmp/xlf/10.1/bin/