Skip to content
Lori A. Burns edited this page Nov 18, 2016 · 27 revisions

Frequently Asked Questions regarding Obtaining, Compiling, and Testing the code

More FAQ for developers here

Buidling, Configuring, and Installing Psi4

  1. How to obtain Psi4: start with find-the-code quiz, end in $top-level-psi4-dir
  2. How to get and use the conda Psi4dependencies package
  3. How to handle "runtime library may be hidden" when building with Anaconda Python
  4. How to build and install Psi4, the compact version
  5. How to build, test, and install Psi4, in detail
  6. How to see what build configuration options are available
  7. What are the tools and dependencies strictly required for building Psi4
  8. What GCC fundamental libraries are approved
  9. How to choose the compilation directory, $objdir
  10. How to compile elsewhere than $top-level-psi4-dir/objdir
  11. How to change the scratch location for compiling LibInt and LibDeriv
  12. How to install elsewhere than /usr/local/psi4
  13. How to save configuration settings for a future compilation
  14. How to see the actual compiling commands (or errors) with cmake
  15. How to use setup to configure Psi4 and invoke CMake
  16. How to see what setup and cmake commands are active for the object directory
  17. How to get cmake on a Mac
  18. How to configure code to use high angular momentum basis sets
  19. How to set CMake and Preprocessor options through the setup script
  20. How to build Psi4 as an importable python module / shared object library
  21. How to force use of pre-built Boost libraries on Mac
  22. How do I set up the scratch directory ?
  23. How to fix plugin needed to handle lto object when building CheMPS2
  24. How to satisfy the GCC >= 4.9 requirement without updating the OS
  25. How to fix undefined symbol: _Py_FalseStruct

Running Psi4

  1. How to fix error RuntimeError: value for ERI
  2. How to run installed Psi4
  3. How to run Psi4 from the compilation directory
  4. How do I retain specific Psi4 scratch files ?
  5. How to use Psi4 within a PBS queue ?
  6. How to fix No module named request or urllib on Mac
  7. How to fix error ImportError: No module named numpy

Testing

  1. How to see ctest testing errors
  2. How to run a subset of tests
  3. How to run a minute's worth of tests

Compiler Options

  1. What Fortran compilers are approved
  2. How to set Fortran compiler flags for the whole project and plugins
  3. How to obtain a Fortran compiler for Mac without Fink, MacPorts, or Homebrew
  4. What C and C++ compilers are approved
  5. How to set C and C++ compiler flags for the whole project and plugins
  6. How to obtain C and C++ compilers for Mac without Fink, MacPorts, or Homebrew

Add-Ons

  1. What are the add-on capabilities for Psi4 and what are their dependencies

Other FAQ's

  1. How to get and interpret the version number
  2. What are the requirements for pre-built Boost libraries
  3. What are known contraindicated Intel MKL versions
  4. What are known contraindicated Intel icpc versions
  5. What is the Python 3 status of Psi4
  6. How to set $PSIDATADIR and why