Prerequisites

The GNU tools can be obtained from the GNU software repository.

Configuration

We recommend creating a separate directory which will contain all compiled files. Some meaningful name should be used for the directory, e.g. libint.power3.64.

The next step is to enter the compilation directory and run configure, a script used to determine compilation environment of the machine and, if necessary, customize the library. configure in the top source directory. Although configure will most likely run successfully without any command-line arguments, you will likely need to specify several configuration parameters to compile custom libint library. libint compiled with default parameters can only compute electron repulsion integrals (ERI) over up to g-functions (orbital quantum number of 4). If you want to use the library to compute other integrals or increase the maximum orbital number of basis functions you will need to customize the library. Achieving top performance from the library also usually means custom configuring libint.

Configuration parameters are passed as command-line arguments to configure. The complete list of valid options can be obtained by running configure with --help option. The following are the most useful command-line options to the configure script:

Compilation

After the library has been properly configured, type 'make' to compile the library. If compilation was successful, type 'make install' to install the library and header files. If you would like to create a local copy of documentation, type 'make doc'.

The following is the list of tips/hints for resolving compilations problems or obtaining top performance from the library:

Post-compilation

Library components are installed under PREFIX/lib. By default, only libint.a, the component for computing ERIs, is compiled. Other components are libderiv.a and libr12.a. Associated header files are installed under PREFIX/include. Header files for each component go into a subdirectory named after that component, e.g. header files for libint.a go into PREFIX/include/libint.