Main Page | Namespace List | Class List | File List | Class Members | File Members

MyLapack 1.5 Documentation

This is a very simple C++ object-oriented interface to BLAS and LAPACK (only 4000 lines with a lot of comments).
It's compatible with ATLAS, ACML and MKL, and support bonding check.

Download

Supported BLAS routines are:
DASUM, DDOT, DCOPY, DAXPY, DSCAL, IDAMAX, DGEMM, DGEMV
SASUM, SDOT, SCOPY, SAXPY, SSCAL, ISAMAX, SGEMM, SGEMV
ZASUM, ZDOT, ZCOPY, ZAXPY, ZSCAL , IZAIMAX, ZGEMM, ZGEMV.

Supported LAPACK routines are:
DSYEV, DGETRF, DGETRI, DGETRS,SSYEV, SGETRF, SGETRI, SGETRS.

  1. Compilation with ATLAS
  2. Example of MyLapack compilation with static ATLAS lib installed in directory /usr/local/lib
    g++ /usr/local/lib/liblapack.a /usr/local/lib/libcblas.a /usr/local/lib/libatlas.a MyBlas.cpp MyLapack.cpp blas_wrapper.cpp yourcode...
  3. Compilation with MKL
  4. Example of MyLapack compilation for an Pentium III with MKL8.0.1 installed in directory /opt/intel/mkl/8.0.1
    g++ -lmkl_lapack -lguide -lmkl_p3 -L /scratch/intel/mkl/8.0.1/lib/32/ MyBlas.cpp MyLapack.cpp blas_wrapper.cpp yourcode...
  5. Compilation with ACML
  6. Example of MyLapack compilation for an Athlon-xp with ACML3.0 installed in directory /opt/acml3.0.0
    g++ -lg2c -lacml -L/opt/acml3.0.0/gnu32_nosse2/lib/ MyBlas.cpp MyLapack.cpp blas_wrapper.cpp yourcode...

In order to active the bonding check it is sufficient compile MyLapack with the flag -DDEBUG.
In this package there are two example files testblas.cpp and testlapack.cpp.

Notice: in order to compile with intel c++ compiler add the flag -cxxlib-icc.


Generated on Wed Aug 16 19:38:18 2006 for MyLapack by  doxygen 1.3.9.1