CAPSL Gelato | Advancing Linux Itanium HP Open64 at SourceForge Tsinghua University University of Delaware

Installing Open64

Environment Variables


Before the installation, and later when you want use Open64, the environment variable TOOLROOT should always be set.
Depending on whether you are root or a user add the following lines to your /etc/bashrc or ~/.bashrc:
export TOOLROOT=/opt/open64 or
export TOOLROOT=/home/{user name}/local/open64 or
export TOOLROOT=/somewhere/you/have/write/permission
 
This defines where to install the Open64 and where later Open64 has to search for libraries and binaries.

You should also add the Open64 binary directory to you path.
export PATH=$TOOLROOT/usr/bin:$PATH
 
Don't forget to source your updated .bashrc file.
source ~/.bashrc
 
Warning!!!
If you have more the one version of Open64 installed, be aware of the following fact:
Lets assume that one version is installed in /opt/open64-1 and the other in /opt/open64-2 and that your TOOLROOT is set to /opt/open64-1. Now, even if you start Open64 in /opt/open64-2, it will execute Open64 in /opt/open64-1 because the TOOLROOT is set to this directory.