Build & Run FAQ¶
Obtaining and Updating PSI4¶
Configuring and Installing PSI4 via Binary¶
- How to install a Psi4 binary with the Psi4conda installer, download site
- How to install a Psi4 binary with the Psi4conda installer, command-line
- How to install a Psi4 binary into an Ana/Miniconda distribution
- How to update a Psi4 binary
- How to use conda to compile Psi4 faster and easier
- What do the conda packages psi4 & psi4-dev and the installer psi4conda contain
- How to get high angular momentum integrals from conda
Configuring, Building, and Installing PSI4 via Source¶
- Planning: how to configure Psi4 and invoke CMake
- How to build and install Psi4, the compact version
- How to build, test, and install Psi4, in detail
- How to see what build configuration options are available
- How to choose the compilation directory, {objdir}
- How to install elsewhere than /usr/local/psi4
- How to configure code to use high angular momentum basis sets
- How to see the actual compiling commands (or errors) with cmake
- How to save configuration settings for a future compilation
- How to configure a Psi4 build on Cray
Non-QC Dependencies¶
- What are the tools and dependencies strictly required for building Psi4
- How to configure Python for building Psi4
- How to handle “runtime library may be hidden” when building with Anaconda Python
- How to configure BLAS/LAPACK for building Psi4
- How to configure C++ and C compilers for building Psi4
- What C and C++ compilers and versions are approved
- How to satisfy the GCC >= 4.9 requirement on Linux without updating the OS
- How to obtain C and C++ compilers for Mac without Fink, MacPorts, or Homebrew
- How to configure Fortran compilers for building Psi4
- What Fortran compilers are approved
- How to obtain a Fortran compiler for Mac without Fink, MacPorts, or Homebrew
QC Dependencies and Extensions¶
- What are the add-on capabilities for Psi4 and what are their dependencies
- How to use a local Add-On repository in the Psi4 build
- How to configure CheMPS2 for building Psi4
- How to fix “plugin needed to handle lto object” when building CheMPS2
- How to configure dkh for building Psi4
- How to configure libefp for building Psi4
- How to configure erd for building Psi4
- How to configure gdma for building Psi4
- How to configure Libint for building Psi4
- How to configure PCMSolver for building Psi4
Testing¶
Runtime Setup¶
- How to run Psi4 as executable after compilation
- How to run Psi4 as Python module after compilation
- How to run Psi4 as executable or Python module from conda installation
- How to run Psi4 as executable after compilation using driver from source
- How to set up the scratch directory
- Why not to set PSIDATADIR
- How to configure paths for PsiAPI