Main Page | Class Hierarchy | Class List | Class Members | Related Pages


The general outline for installing the CCA/Chemistry components is:

The cca-chem-generic package has been developed and tested under the Linux operating system on x86 and x86_64 architectures. The code is known to compile with recent versions of gcc.



You can build the components in the source code directory or you can make a companion directory which will be used to hold all of the files generated by the compilation. You may name this directory anything you want. Typically, this directory is named to indicate the architecture (e.g. cca-chem-generic.i686-linux) and will be referred to as the target directory below.

Many important configuration options are obtained from Ccaffeine and Babel, making it critical that these packages are properly configured. Configuration should be straightforward as long as the ccafe-config script is found in the users path. Otherwise, use the --with-ccafe-config configuration option to specify the full path to the script.

In the target directory execute the configure command which is located in the cca-chem-generic source directory. Use the absolute pathname to the configure script. This command should build a hierarchy of target directories and the necessary makefiles. Do a configure --help to see a list of options. Options are specified with an equals sign, as in configure --prefix=/usr/local. Some options, such as all the enable and disable options, do not require an argument.

Error checking by the configure script is limited primarily to checks for the existence of needed config scripts and a check for the supported Babel version, please examine the CCA Tools Configuration section of the configure output to ensure a sensible configuration.

Useful options to configure include:

Specifies the installation directory. The default is /usr/local.
Specifies the path to the ccafe-config script.
Skips babel version check.

Compilation and Installation

If configure detects the identical Babel version used to generate source code (no patches!), just run make; make install to build and install the code. As the runtime linker paths built into the libraries assume installation, installation is not optional. If an alternate Babel version is desired, the --enable-ignore-babel-version option must be given to configure, and make babel-src must be invoked from the top object directory to regenerate source code. Parallel compilation with make -j is supported.
Generated on Mon Jun 4 13:03:03 2007 for cca-chem-generic by  doxygen