ENVIRONMENTAL VARIABLE AND PATH (HGSDIR)

When users log in their linux system, they will need to set the environment variable HGSDIR where the hgs executable (hgs.x) can access the license file and they may locate the HGS executables. To do so, users can edit their shell script file (.bash_profile if using bash) . For example, they can add the following two lines to set HGSDIR and to add that directory to PATH:
 
export HGSDIR=/home/users/username/HGS 
PATH=$PATH:$HGSDIR
 
This could be slightly different for different shells and thus, if they are not familiar to this, they may need to discuss this with the system administrator.
 
After they configure this, they can simply create the directory and copy all the executables and license file there.


CHECKING
Use the following commands to make sure everything was set properly before going running HGS: 
 
printenv HGSDIR
printenv PATH
ls -al $HGSDIR
