Install

Steps to use ohmms

Check out Frequently asked questions if you have any question.

  1. Configuration: Details on the configuration and installation are available in developers' guides.

  2. Compile: Once configuration using autoconf/automake or cmake is successful, simply make

  3. Run: A successful compilation creates an executable bin/ohmmsapp.

Basic requirements

Compile ohmms libraries and applications:

  1. C/C++ compilers (gcc 2.96 or higher, KCC, intel compilers 7/8, IBM Visual Age, SGI, or DEC).

  2. f77 compiler to enable tight-binding potentials or phonon calculations. (Even g77 works!)

  3. Numerical library: lapack or equivalents.

  4. libxml2 (Controls the I/O of ohmms)

Configuration tools:

  1. Autoconf/automake: require autoconf 2.50 or higher

  2. cmake: require 1.8 or higher.

Setting environment variables

Configuration steps check following environment variables first to link external libraries. On HPC centers, these environment variables are automatically set by using module or softenv. The variable names themselves vary on different systems. Simply assign the corresponding variable to what configure or cmake accepts.

  • The entry order is the search order, i.e., if MKL is successful, ATLAS is ignored. Autoconf is fairly good at finidng the numerical libraries. However, cmake does not have any standard module to find them. If none of the variables are set, it will try to find the path for lapack and blas and link with "-llapack -lblas".

    Table 1. Numerical libraries: lapack and blas.

    ENV Library autoconf[a] cmake[a] example
    MKL Intel Math Kernel Library yes yes MKL=-L/usr/local/mkl-6.0.12/mkl60/lib/64 -lmkl_itp -lmkl_lapack32 -lmkl_lapack64 -lguide
    ATLAS ATLAS (Automatically Tuned Linear Algebra Software) n/a yes ATLAS=-L/usr/local/atlas-3.4.1/lib -llapack -lf77blas -lcblas -latlas

    [a] If Yes, autoconf or cmake checks this variable.

Useful links for GNU Tools


   
Site search Web search