File: INSTALL

package info (click to toggle)
libint2 2.7.2-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 63,792 kB
  • sloc: ansic: 842,934; cpp: 47,847; sh: 3,139; makefile: 1,017; f90: 676; perl: 482; python: 334
file content (30 lines) | stat: -rw-r--r-- 1,189 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
For (more) complete instructions please refer to https://github.com/evaleev/libint/wiki

The installation procedure for the impatient and/or experts:
0) create configure in the source directory:
   $ ./autogen.sh
1) create a directory for object files (you cannot build in the source directory):
   $ mkdir ../build; cd ../build
2) configure the package:
   $ ../src_dir/configure
   Most often you will need to specify command-line options to configure.
   To obtain a list of configure options run 'configure --help'.

then either choose path a or b:

3a) build the Libint compiler, then generate and compile a library:
   $ make
4a) optional validation of the library:
   $ make check
5a) install the compiled library:
   $ make install

3b) build the Libint compiler, then generate and package a library for redistribution
   $ make export
   this produces a tarball with a Libint library that can be unpacked, configured, and compiled elsewhere.

To build Python module configure libint with `--enable-eri2 --enable-eri`, export, untar exported archive:
 $ cmake -DPYTHON_EXECUTABLE=`which python3` -DLIBINT2_PYTHON=ON .
 $ cd python
 $ make && make test
 $ make libint2-python-wheel