Installation

Requirements

We recommend Python versions 3.9 to 3.11. Please note that block2=0.5.2 has not been packaged for Python newer than 3.11 on pypi.org. The Active Space Finder’s main dependencies [1] are the following software packages:

Installation from source

After checking out the repository, a local installation of the ASF package from the source directory requires two steps:

pip install .
./init_dmrgscf_settings.sh

First, the dependencies are installed via pip. Because the ASF code is built upon PySCF and Block2 for DMRG calculations, a configuration file for PySCF’s dmrgscf plugin is created in a second step. For convenience, the ASF package includes a script to create the configuration file automatically (run ./init_dmrgscf_settings.sh --help to learn more about its usage).

The examples directory contains Jupyter notebooks. To work with those, you may need to install Jupyter Notebook or a similar software.