OpenBLAS: When I compile OpenBLAS with NOFORTRAN=1 some LAPACK (e.g. dpotrf) routines are not available

Hi, I’d like to build complete version of openBlas with maximum support of lapack/blas routines without using gfortran in runtime.

When I’m building openBlas from: develop branch from commit 50715e8945d24d648c12b5f79bfcdbc570052f3a with specifying NOFORTRAN=1 in make command

In this circumstances I don’t have several routines in the final static library. They are:

  1. dpotrf
  2. dpotrs
  3. dgels
  4. dpotrf
  5. zpotrf
  6. dlarfg
  7. dlarf
  8. zlarfg
  9. zlarf
  10. dlarft
  11. zlarft
  12. zlarfb
  13. dlarfb
  14. dlarft

What is interesting this all symbols are defined if build withtout NOFORTRAN=1. Unfortunately I want to have OpenBlas library without dependencies in gfortran

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 24 (5 by maintainers)

Most upvoted comments

That looks awesome! Thanks for implementing this feature, can’t wait to use it!

CBLAS should be complete as-is, what the PR would do is enable the LAPACK functions (where the canonical C interface is LAPACKE). What was discussed above for DGESV was just a dirty trick to get a single LAPACK function interfaced with OpenBLAS after converting it from Fortran to C.