next_inactive up previous
















Installation Manual for the PSI3 Program Package




T. Daniel Crawford,$^a$ C. David Sherrill,$^b$ and Edward F. Valeev$^{a}$

$^a$Department of Chemistry, Virginia Tech, Blacksburg, Virginia 24061-0001


Center for Computational Molecular Science and Technology, Georgia Institute of Technology, Atlanta, Georgia 30332-0400






PSI3 Version: 3.3.0
Created on: 11 April 2007

Compilation Prerequisites

The following external software packages are needed to complile PSI3:

Brief Summary of Configuration, Compilation, and Installation

A good directory for the PSI3 source code is /usr/local/src/psi3. The directory should not be named /usr/local/psi, as that is the default installation directory unless changed by the -prefix directive (see below). It should also not have any periods in the path, e.g., /usr/local/psi3.2, because of a bug in dvips which will cause the compilation of documentation to fail.

The following series of steps will configure and build the PSI3 package and install the executables in /usr/local/psi/bin:

  1. cd $PSI3 (your top-level PSI3 source directory)
  2. mkdir objdir
  3. cd objdir
  4. ../configure (may need some of the options below, esp. if blas or lapack are in non-standard locations)
  5. make
  6. make tests (optional, but recommended)
  7. make install
  8. make doc (optional)

You may need to make use of one or more of the following options to the configure script:

Detailed Installation Instructions

This section provides detailed instructions for compiling and installing the PSI3 package.

Step 1: Configuration

First, we recommend that you choose for the top-level $PSI3 source directory something other than /usr/local/psi; your $HOME directory or /usr/local/src/psi3 are convenient choices. Next, in the top-level $PSI3 source directory you've chosen, first run autoconf to generate the configure script from configure.ac. It is best to keep the source code separate from the compilation area, so you must choose a subdirectory for compilation of the codes. A simple option is $PSI3/objdir, which should work for most environments. However, if you need executables for several architectures, choose more meaningful subdirectory names.

$\bullet$ The compilation directory will be referred to as $objdir for the remainder of these instructions.

In $objdir, run the configure script found in the $PSI3 top-level source directory. This script will scan your system to locate certain libraries, header files, etc. needed for complete compilation. The script accepts a number of options, all of which are listed above. The most important of these is the -prefix option, which selects the installation directory for the executables, the libraries, header files, basis set data, and other administrative files. The default --prefix is /usr/local/psi.

$\bullet$ The configure script's --prefix directory will be referred to as $prefix for the remainder of these instructions.

Step 2: Compilation

Running make (which must be GNU's 'make' utility) in $objdir will compile the PSI3 libraries and executable modules.

Step 3: Testing

To execute automatically the ever-growing number of test cases after compilation, simply execute "make tests" in the $objdir directory. This will run each (relatively small) test case and report the results. Failure of any of the test cases should be reported to the developers at psicode@users.sourceforge.net. By default, any such failure will stop the testing process. If you desire to run the entire testing suit without interruption, execute "make tests TESTFLAGS='-u -q'". Note that you must do a "make testsclean" in $objdir to run the test suite again.

Step 4: Installation

Once testing is complete, installation into $prefix is accomplished by running make install in $objdir. Executable modules are installed in $prefix/bin, libraries in $prefix/lib and basis set data and other control strctures $prefix/share.

Step 5: Documentation

If your system has the appropriate utilities, you may build the package documentation from the top-level $objdir by running make doc. The resulting files will appear in the $prefix/doc area.

Step 6: Cleaning

All compilation-area object files and libraries can be removed to save disk space by running make clean in $objdir.

Step 7: User Configuration

After the PSI3 package has been successfullly installed, the user will need to add the installation directory into their path. If the package has been installed in the default location /usr/local/psi3, then in C shell, the user should add something like the following to their .cshrc file:

setenv PSI /usr/local/psi3
set path = ($path $PSI/bin)
setenv MANPATH $PSI/doc/man:$MANPATH
The final line will enable the use of the PSI3 man pages.


Recommendations for BLAS and LAPACK Libraries

Much of the speed and efficiency of the PSI3 programs depends on the corresponding speed and efficiency of the available BLAS and LAPACK libraries (especially the former). In addition, the most common compilation problems involve these libraries. Users may therefore wish to consider the following BLAS and LAPACK recommendations when building PSI3:

Miscellaneous architecture-specific notes

About this document ...

This document was generated using the LaTeX2HTML translator Version 2002-2-1 (1.70)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -tmp /tmp -dir /home/users/crawdad/psi3/x86_objdir/doc/installation/html -external_file /home/users/crawdad/psi3/x86_objdir/doc/installation/installation -mkdir -local_icons -split 0 /home/users/crawdad/psi3/doc/installation/installation.tex

The translation was initiated by T. Daniel Crawford on 2007-04-11


next_inactive up previous
T. Daniel Crawford 2007-04-11