Globus Toolkit Tutorial The Globus Consortium
 
 

Chapter 3: Deploying Sun Grid Engine (SGE)

Unpacking the SGE distribution

After downloading the tarballs create a directory that will serve as the SGE directory. You can do this as the root user:

[root@nodeC ~]# mkdir -p /opt/sge-root

Change into that directory:

[root@nodeC sge-root]# cd /opt/sge-root/

Now run the following commands as user root to unpack the tarballs into the directory you created. Change the path to the tarballs as is necessary:

[root@nodeC sge-root]# gzip -dc /root/sge-6.0u7-common.tar.gz | tar xvpf -

[root@nodeC sge-root]# gzip -dc /root/sge-6.0u7_1-bin-lx24-x86.tar.gz | tar xvpf -

Next you need to set the environment variable SGE_ROOT to point to the directory you created and into which you unpacked the tarballs:

[root@nodeC sge-root]# export SGE_ROOT=/opt/sge-root

If you exit the root account, upon entry into the root account the export command will need to be run again.

Throughout this tutorial there are numerous instances of environment variables being set for the root and other users. Experienced Linux users may choose to set environment variables in ".rc" or similar files that are automatically executed upon login.
 
 
 
FAQ Feedback The Globus Consortium Home Page