welcome: please sign in
location: Diff for "Installation"
Differences between revisions 7 and 16 (spanning 9 versions)
Revision 7 as of 2013-08-30 04:00:59
Size: 1987
Editor: 10
Comment:
Revision 16 as of 2013-08-30 09:01:57
Size: 2203
Editor: 10
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
= Installation = = Download and installation =
Line 6: Line 6:
== Download BDF package ==
Line 7: Line 9:
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: In principle, 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:
Line 18: Line 20:
  
  . $export FC=ifort
  . $export CC=gcc
  . If you use bash shell, you can set fortran and c compiler:
  {{{
 
$export FC=ifort
  $export CC=gcc
  }}}
Line 26: Line 29:
  . $export MATHLIB="-LMathLibDir -llapackname -lblasname"   {{{
 
$export MATHLIB="-LMathLibDir -llapackname -lblasname"
  }}}
Line 31: Line 36:
    . $configure   {{{
$./configure
  }}}
Line 33: Line 40:
  
Line 34: Line 42:
   . --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.
  {{{
--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.
  }}}
Line 38: Line 48:
 4. Make
  . $make
 4. Compile BDF package.
  {{{
 
$make
  }}}
Line 41: Line 53:
 5. Some typical installation == Examples of some typical installations ==
Line 43: Line 55:
  * A 64bit machine with intel compiler and MKL library.
   . $export FC=ifort
   . $export CC=gcc
   . $export MATHILIB="-L/opt/intel -lmkl -lguide"
   . $./configu
re --enabale-i8=yes --enable-openmp=yes
   . $make
  
  1. A 64bit machine with intel compiler and MKL library.
  {{{
 
$export FC=ifort
  $export CC=gcc
  $export MATHLIB="-lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread"
  $.
/configure --enabale-i8=yes --enable-openmp=yes
  $make
  }}}
Line 51: Line 64:
  * A Mac laptop with gfortran, gcc and user compiled lapack and blas library
   . $export FC=gfortran
   . $export CC=gcc $export MATHILIB="-L/Users/mike/mathlib -lblas -llapack"
   . $./configure --enabale-i8=yes --enable-openmp=yes
   . $make
  1. A Mac laptop with gfortran, gcc and user compiled lapack and blas library
  {{{
 
$export FC=gfortran
  $export CC=gcc    $export MATHILIB="-L/Users/mike/mathlib -lblas -llapack"
  $./configure --enabale-i8=yes --enable-openmp=yes
  $make
  }}}
Line 57: Line 73:
== Set system variables of BDF package == = Set system variables of BDF package =

MainPage

Download and installation

Download BDF package

System requirements

In principle, 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.
    • If you use bash shell, you can 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. Compile BDF package.
    •   $make 

Examples of some typical installations

  1. A 64bit machine with intel compiler and MKL library.
      $export FC=ifort
      $export CC=gcc
      $export MATHLIB="-lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lpthread"
      $./configure --enabale-i8=yes --enable-openmp=yes
      $make
  2. A Mac laptop with gfortran, gcc and user compiled lapack and blas library
      $export FC=gfortran 
      $export CC=gcc 
      $export MATHILIB="-L/Users/mike/mathlib -lblas -llapack" 
      $./configure --enabale-i8=yes --enable-openmp=yes 
      $make

Set system variables of BDF package

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