add LAPACK_LIB_DIRS and LAPACK_INC_DIRS option to LAPACK

Create issue
Issue #1169 closed
Roland Haas created an issue

the attached patch adds options similar to MPI's options of the same name to LAPACK. They are useful when using the C interface and requiring access to the include file since the LAPACK included in mkl (like MPI) has "non-standard" directory layout. Also historically LAPACK_DIR specifies /usr/lib whereas eg. HDF5_DIR or GSL_DIR specify /usr . The patch does not change this later behaviour.

Keyword: LAPACK

Comments (4)

  1. Erik Schnetter
    • changed status to open
    • removed comment

    Approved.

    Can you change the order of the options listed in the OPTIONS statement? The three options LAPACK_INC_DIRS, LAPACK_LIB_DIRS, and LAPACK_LIBS should be listed together, as they have a similar meaning. LAPACK_INSTALL_DIR is separate from the other four, and should probably be listed last.

  2. Log in to comment