Program to calculate GEM Hermites and multipoles with either a numerical or analytical fit from a Gaussian formatted checkpoint file.
Download this repository:
$ git clone https://github.com/CisnerosResearch/GEM_fit.gitGo into the main directory (GEM_fit) and:
-
Modify "setup" and "setup.profile" so that it points to the correct directory
-
Source the corresponding file based on the shell you use. (If you don't know what this means do
echo $SHELL)For tcsh:
$ source setupFor bash:
$ source setup.profile -
Modify
config.makto choose compiler, either ifort or gfortran. Note: this selection only needs to be made in thePLATFORM = ifortdefinition. Do not do a global string replacement. -
Modify
config.makto change location for BLAS and LAPACK. Note: the program will not generate any executable if it cannot link to both. To find these on your machine, you can uselocate:$ locate liblapack.so.3 /usr/lib/x86_64-linux-gnu/liblapack.so.3 /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1 $ locate libblas.so.3 /usr/lib/x86_64-linux-gnu/libblas.so.3 /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
-
You can then use
makein the top-level directory. There's no need to do a./config.mak.$ make
After making you should see four executables:
GEM_fit: for the numerical fittingGEM_calc_coefs: for analytical fittingGEM_site_site: calculates intermolecular interactions with the hermites or multipoles.GEM_site_site2: calculates intermolecular interactions with the hermites or multipoles.