This file was made on February 25, 2009 How to build GAMESS version 12 JAN 2009 (R1) with CHARMM: This is example for 64 bit gnu platforms (gfortran) in parallel, but it should work with others, too. 1. Build a working parallel CHARMM first: install.com gnu xxlarge M x86_64 2. unpack and untar the charmm-gamess-patches.tar.gz file to some empty directory 3. copy all gamess/source files from GAMESS distribution to CHARMM source tree (mkdir source/gamint/gamess first): cp ~/gamess-orig/gamess/source/* source/gamint/gamess 4. overwrite files from this patch directory to source/gamint cp *.src *.c source/gamint/gamess 5. copy gmscomp_gnu to the tool directory 6. copy gamess.mk to the build/gnu directory 7. replace the QUANTUM keyword in build/gnu/pref.dat with GAMESS 8. make sure that build/gnu/Makefile_gnu has -DLINUX64 in the CC line 9. add gamess.a line to the build/gnu/objlibs.mk 9. rm -r lib build/gnu/*.mod 10. install.com gnu xxlarge M x86_64 Depending on the CHARMM version you may experience some name clashes, ie the subroutine has the same name in the CHARMM and in the GAMESS. The fix is simply to rename the subroutines and corresponding calls in one of the programs (usually the one where the problem routine is in single file). Also depending on the version of CHARMM, XXLARGE executble can be quite big so one might need to compile with -mcmodel=medium, or reduce the number of pref.dat keywords.