Size: 1463
Comment:
|
Size: 1987
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
[[MainPage]] | MainPage |
Line 3: | Line 4: |
Line 7: | Line 7: |
Line 16: | Line 15: |
Several steps are needed to install BDF package. | |
Line 17: | Line 17: |
Several steps are needed to install BDF package. | |
Line 19: | Line 18: |
* 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. |
. $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. |
Line 24: | Line 25: |
For flaxibality reason, we ask users to set blas and lapack libraries. * export MATHLIB="-LMathLibDir -llapackname -lblasname" |
. For flaxibality reason, we ask users to set blas and lapack libraries. . $export MATHLIB="-LMathLibDir -llapackname -lblasname" |
Line 28: | Line 29: |
After setting compiler and mathematic library. You can configure BDF by command configure in BDF root directory. * configure |
After setting compiler and mathematic library. You can configure BDF by command configure in BDF root directory. . $configure |
Line 31: | Line 33: |
* 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. |
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. |
Line 37: | Line 39: |
. $make 5. Some typical installation * A 64bit machine with intel compiler and MKL library. . $export FC=ifort . $export CC=gcc . $export MATHILIB="-L/opt/intel -lmkl -lguide" . $./configure --enabale-i8=yes --enable-openmp=yes . $make * 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 |
Installation
Contents
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.
- 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.
- Set blas and lapack library.
- For flaxibality reason, we ask users to set blas and lapack libraries.
- $export MATHLIB="-LMathLibDir -llapackname -lblasname"
- Configure BDF package.
- After setting compiler and mathematic library. You can configure BDF by command configure in BDF root directory.
- $configure
- --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.
- After setting compiler and mathematic library. You can configure BDF by command configure in BDF root directory.
- Make
- $make
- Some typical installation
- A 64bit machine with intel compiler and MKL library.
- $export FC=ifort
- $export CC=gcc
- $export MATHILIB="-L/opt/intel -lmkl -lguide"
- $./configure --enabale-i8=yes --enable-openmp=yes
- $make
- 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
- A 64bit machine with intel compiler and MKL library.