Actual source code: petscblaslapack.h

      1: /*
      2:   This file dispatches between various header files for blas/lapack distributions.
      3: */
      4: #if !defined(_BLASLAPACK_H)
      5: #define _BLASLAPACK_H
     6:  #include petsc.h

      8: #if defined(PETSC_BLASLAPACK_MKL64_ONLY)
      9: # define PETSC_MISSING_LAPACK_GESVD
     10: # define PETSC_MISSING_LAPACK_GEEV
     11: # define PETSC_MISSING_LAPACK_SYGV
     12: # define PETSC_MISSING_LAPACK_SYGVX
     13: # define PETSC_MISSING_LAPACK_GETRF
     14: # define PETSC_MISSING_LAPACK_POTRF
     15: # define PETSC_MISSING_LAPACK_GETRS
     16: # define PETSC_MISSING_LAPACK_POTRS
     17: #elif defined(PETSC_BLASLAPACK_MKL_ONLY)
     18: # define PETSC_MISSING_LAPACK_GESVD
     19: # define PETSC_MISSING_LAPACK_GEEV
     20: # define PETSC_MISSING_LAPACK_SYGV
     21: # define PETSC_MISSING_LAPACK_SYGVX
     22: #elif defined(PETSC_BLASLAPACK_CRAY_ONLY)
     23: # define PETSC_MISSING_LAPACK_GESVD
     24: #elif defined(PETSC_BLASLAPACK_ESSL_ONLY)
     25: # define PETSC_MISSING_LAPACK_GESVD
     26: # define PETSC_MISSING_LAPACK_GETRF
     27: # define PETSC_MISSING_LAPACK_GETRS
     28: # define PETSC_MISSING_LAPACK_POTRF
     29: # define PETSC_MISSING_LAPACK_POTRS
     30: #endif

     32: #if defined(PETSC_USES_CPTOFCD)
     33: #include "petscblaslapack_cptofcd.h"
     34: #elif defined(PETSC_HAVE_FORTRAN_STDCALL)
     35: #include "petscblaslapack_stdcall.h"
     36: #elif defined(PETSC_HAVE_FORTRAN_UNDERSCORE) || defined(PETSC_BLASLAPACK_UNDERSCORE)
     37: #include "petscblaslapack_uscore.h"
     38: #elif defined(PETSC_HAVE_FORTRAN_CAPS)
     39: #include "petscblaslapack_caps.h"
     40: #else
     41: #include "petscblaslapack_c.h"
     42: #endif

     44: #endif