WebMO Home Page
   Features
   Pro Features
   Enterprise Features
   Compare Features
   System Requirements
   Screen Shots
   Working Demo
   Support
   Support Forum
   Testimonials
   Revision History
   Mailing List
   Curriculum Examples
   Workshops
   License Info
   Pricing
   Buy WebMO Pro
   Obtain Free License
   Download
WebMO - Computational chemistry on the WWW
Recent news

WebMO 9.1 is now available for free download!

WebMO 9.1 Pro and Enterprise have a variety of additional features and is available for purchase.

Signup for the free Computational Chemistry for Chemistry Educators workshop, which uses WebMO.

July 3, 2009
GAMESS Installation Instructions for Linux

  1. Request a copy of the GAMESS source code
    Visit the GAMESS homepage and request a copy of the source code for "Intel compatable PC running Linux"
  2. Download the source code file, gamess-current.tar.gz, using the username "source" and the password in the email message that you received
    Also follow the A workaround is described here link for the g77 IO library bug and download the endfile.c file
  3. Verify that the gnu f77 (g77) compiler has been installed on the Linux workstation:
    % rpm -qa | grep gcc-g77
  4. Uncompress the archive
    % su
    # cd /usr/local
    # tar xzvf /{download_dir}/gamess-current.tar.gz
    # chown -R root:root gamess
  5. Update the four scripts: comp, compall, lked, runall
    # cd /usr/local/gamess
    # vi {scriptname}
    Change the line
          chdir /u1/mike/gamess
    to
          chdir /usr/local/gamess
    and (except in 'runall' script, where no reference exists)
          set TARGET=ibm
    to
          set TARGET=linux-pc
  6. Update the following script: rungms
    # vi rungms
    Edit the following lines to read as follows
          set TARGET=sockets
    and
          set SCR=/tmp
    and in newer versions of gamess
          setenv ERICFMT /usr/local/gamess/ericfmt.dat
    and later in the file
          if ($os == Linux) set GMSPATH=/usr/local/gamess
  7. Edit and compile the 'Activate' program
    # cd /usr/local/gamess/tools
    # cp actvte.code actvte.f
    # vi actvte.f
    For typical Unix systems, simply replace all cards beginning with '*UNX' in the first 4 columns with 4 blanks. See comments in the file for help and more details.
    # g77 -o actvte.x actvte.f
  8. Compile GAMESS
    # cd /usr/local/gamess
    # /bin/csh (if not already in csh or tcsh)
    # setenv PATH .:${PATH} (necessary because /bin/comp/may also be in path)
    # compall >& compall.log (takes a while)
  9. Compile ddikick (if a ddi subdirectory exists)
    # cd /usr/local/gamess/ddi
    Update the compddi script # vi compddi
    Edit the following line to read as follows
          set TARGET = linux-pc
    # echo y | compddi >& compddi.log
    # cp -p ddikick.x ../
  10. Compile the g77 IO library patch
    # cd /usr/local/gamess/source
    # tar xzvf /{download_dir}/endfile.tar.gz
    # gcc -c endfile.c
    # cp endfile.o ../object
  11. Link GAMESS
    # cd /usr/local/gamess
    # lked gamess 00 >& lked.log
  12. Test GAMESS
    % cd ~
    % mkdir scr
    % mkdir gamess
    % cp -p /usr/local/gamess/tests/exam01.inp ~/gamess
    % cd ~/gamess
    % /usr/local/gamess/rungms exam01 > exam01.log
  13. If errors occur while testing, delete all scratch and result files to permit further tests
    % rm -f ~/scr/exam01*
    % rm -f /tmp/exam01*
    % rm -f ~/gamess/exam01.log

Copyright © 2001, WebMO, LLC, all rights reserved.