welcome: please sign in
location: Diff for "Installation"
Differences between revisions 4 and 5
Revision 4 as of 2013-08-30 03:23:05
Size: 631
Editor: 10
Comment:
Revision 5 as of 2013-08-30 03:37:32
Size: 1455
Editor: 10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
Several steps are needed to install BDF package.
 1. Set fortran and C compiler.
   * export FC=ifort
   * export CC=gcc
   * Tips: If you ignored this step, the configure script will pick up the gfortran and gcc compiler as default.

 2. Set blas and lapack library.
   For flaxibality reason, we ask users to set blas and lapack libraries.
   * export MATHLIB="-LMathLibDir -llapackname -lblasname"

 3. Configure BDF package.
   After setting compiler and mathematic library. You can configure BDF by command configure in BDF root directory.
   * configure

   Configure support several parameters.
   * --enable-debug=yes[no] Compile BDF in debug mode.
   * --enable-i8=yes[no] Compile BDF with 64 bit integrals.
   * --enable-openmp=yes[no] Compile BDF with OpenMP supporting.

 4. Make

MainPage

Installation

System requirements

Theoretically, BDF support all Unix-like platforms. However, we strongly propose you to use BDF at Linux platform together Intel Fortran and C compiler because BDF package is developed and thoroughly tested on such platforms. System requirements of BDF is summarized as following lines:

  • OS: Linux, Mac, FreeBSD, Unix
  • Compiler: Fortran 90 compiler such as Intel, gfortran, g95
  • Support softwares: Python, make
  • Parallel environments: MPI

Configure and compile BDF package

Several steps are needed to install BDF package.

  1. Set fortran and C compiler.
    • export FC=ifort
    • export CC=gcc
    • Tips: If you ignored this step, the configure script will pick up the gfortran and gcc compiler as default.
  2. Set blas and lapack library.
    • For flaxibality reason, we ask users to set blas and lapack libraries.
    • export MATHLIB="-LMathLibDir -llapackname -lblasname"
  3. Configure BDF package.
    • After setting compiler and mathematic library. You can configure BDF by command configure in BDF root directory.
    • configure Configure support several parameters.
    • --enable-debug=yes[no] Compile BDF in debug mode.
    • --enable-i8=yes[no] Compile BDF with 64 bit integrals.
    • --enable-openmp=yes[no] Compile BDF with OpenMP supporting.
  4. Make

Set system variables of BDF package

Installation (last edited 2021-07-22 05:07:26 by bsuo)