Gamess-US: automatic compilation         [visitor  ]


The maintainers of Gamess-US have prepared several clever scripts for compiling the Gamess sources on a large variety of computer platforms. The scripts have to be edited for the special case of your workstations' idiosyncrasies. After having done this for years with every new Gamess release I have become fed up with this repetitive handy work. It was not difficult to automatize the compiling/linking process given a fixed set of ingredients as offered with several (live) Linux distributions. Perhaps, this is of use for you, too.

The new Gamess versions starting from 25 MAR 2010 (R2), now 5 DEC 2014 (R1) have a config routine which asks a couple of questions regarding your system and then composes an file which tells the compilation process which options to use. The runscripts (rungms, runall, checktst) still need several manual edits, depending on your installation. If you use (live) Ubuntu-Linux or Fedora 13, can be fixed for a linux32 or linux64 target. This has been combined with our compiling script. Thus, you do not have to run config nor to read the (long) compilation manual. Just use the Procedure offered below which also edits the runscripts for you.
Our script automatically builds a new version of Gamess-US on a (live) Linux system. After compilation of gamess.00.x the test suite of the gamess package is run and results checked.
Here are the details:
For the following to make sense, we assume that you have obtained a password
and downloaded gamess-current.tar.gz or gamess-current.tar.Z from Gamess-US
Procedure using Ubuntu 14.04, 32- or 64-bit target or earlier versions 7.04-13.10
Procedure using Fedora 13, 32- or 64-bit target not yet written!


If you have set up Gamess on a live Linux, make sure to save your work by exporting Gamess before closing Ubuntu down! This is not necessary, if you have made a Wubi-install which is permanent.

Make csh, rungms, runall, gamess.00.x, and ddikick.x executable by chmod +x csh, rungms, ... and copy csh to /bin with sudo cp csh /bin. Open .bashrc in the userís home directory in a text editor and add the following line:
export LD_LIBRARY_PATH=/home/$USER/gamess
Save .bashrc and execute the following command: source .bashrc

You may then recreate a running Gamess environment on another Linux machine by using (or with gamess_export.tar.gz in your home directory on that Linux. This creates the necessary directories and copies your saved gamess into ~/gamess. Modify your .bashrc as indicated above.

Comments on recent Linux distributions

14 Dec. 2009: The new versions of this fall openSUSE-11.2, Gentoo-10.1, grml_2009.10 do not offer on my computer systems the four minimum requirements after startup: a) internet enabled, b) keyboard layout adjusted, c) monitor resolution Ok, and d) a simple mechanism for loading missing software for compilation and running of Gamess. Ubuntu-8.10 to 14.04 have these and start without a hitch.

The following debian or ubuntu derived Linux versions work, too:
05 Apr. 2010: debian-live-504-amd64 or i386 can be used with ubugam10/buildgamess10 without change.
03 Dec. 2011: Linux Mint 12 amd64 or i386 can be used with ubugam10/buildgamess10 without change.
26 Feb  2011: Knoppix-6.2.1 to -6.7.0 can be used with ubugam10/buildgamess10 without change.

We have maintained scripts for 14 Linuxes, but recommend now Ubuntu Linux, which has become the most reliable Linux distribution that is consistently maintained with new releases every 6 months and an excellent, simple update mechanism.
    back to QC