Installation procedure for Gaussian for linux.
UNIX Binary Gaussian 09 Revision D.01 Installation instructions
1. Check that you have the correct versions of the OS, and librariesfor your machine,as listed in the file platform_d01.pdf file on G09 CD. Release notes can be found in release_d01.txt.
2. Select a group which will own the Gaussian files. Users who will run Gaussian should either already be in this group, or should have this added to their list of groups. Consult your system administrator if you need help with this process.
3. Mount the CD. Information about how to do this for various types of computers is given on the following page.
4. Change to the C shell, and set the g09root and mntpnt environment variables:
$ /bin/csh % setenv mntpnt "/mnt/cdrom" # Set to wherever cd is mounted. % setenv g09root "<dir>" # Set to wherever cd is mounted. % cd $g09root # Set to install location for G09.
5. Read the CD, set group ownership, and run the build script:
% gunzip -c $mntpnt/tar/*.tgz | tar xvf - % chgrp -R <grp> g09 # <grp> is the group from step 1. % cd g09 % ./bsd/install
6. You are now ready to run. Users will want to add the following to their .login file:
setenv g09root "<dir>" setenv GAUSS_SCRDIR "<scr-dir>" source $g09root/g09/bsd/g09.login # sets up G09 run environment.
The <dir> in the first command is the location of the g09 directory. For example, if the path to this directory is /usr/local/g09, thenset g09root to /usr/local. The <scr-dir> in the second command is a directory to be used by default for Gaussian 09 scratch files. There should be plenty of disk space available at this location. Note that the angle brackets are NOT included.
Bourne-type shell users would use these commands instead of the ones above:
g09root="<dir>" GAUSS_SCRDIR="<scr-dir>" export g09root GAUSS_SCRDIR . $g09root/g09/bsd/g09.profile
Mounting CDs
This page reviews the methods for mounting CDs on various UNIX systems.
LINUX:
Most Linux machines allow ordinary users to mount CDs into /mnt/cdrom, using a command like this one:
$ mount /mnt/cdrom # Prompt is % if you use tcsh
HP/COMPAQ TRU64:
The mount command varies with the hardware configuration but is usually something like:
# /sbin/mount -rt cdfs /dev/disk/cdrom0c /mnt
The command must be run by root. You can mount the CD from your ordinary user account using the following command:
$ su -c /sbin/mount -rt cdfs /dev/disk/cdrom0c /mnt
You can also use the sudo command if it is in use at your site. If you do not have root access, ask the system administrator to mount the CD for you.
IBM AIX:
The mount command is typically of the form:
# /sbin/mount -v cdrfs -o ro /dev/cd0 /mnt
The command must be run by root. You can mount the CD from your ordinary user account using the following command:
$ su -c /sbin/mount -v cdrfs -o ro /dev/cd0 /mnt
You can also use the sudo command if it is in use at your site. If you do not have root access, ask the system administrator to mount the CD for you.