Ignore:
Timestamp:
Mar 5, 2011 5:58:07 PM (9 years ago)
Author:
stefan
Message:

fixes for WSMP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/configure.ac

    r1693 r1695  
    7575# CHOLMOD from UFL
    7676# CHOLMOD requires AMD, which can be given by AMD_LIBS
    77 # CHOLMOD requires Blas and Lapack, which should be in COINUTILS_LIBS, if available
     77# CHOLMOD requires Blas and Lapack?
    7878coin_save_LIBS="$LIBS"
    79 LIBS="$LIBS $AMD_LIBS $COINUTILS_LIBS"
     79LIBS="$LIBS $AMD_LIBS"
    8080AC_COIN_CHECK_USER_LIBRARY(CHOLMOD, CHOLMOD, [cholmod.h], [cholmod_start],,[ClpLib])
    8181LIBS="$coin_save_LIBS"
     
    104104if test "$use_wsmp" != "no"; then
    105105  # Check how to link against Fortran libraries from C
     106  AC_COIN_PROG_F77
    106107  AC_COIN_F77_WRAPPERS
     108 
     109  # WSMP requires Blas
     110  AC_COIN_CHECK_PACKAGE_BLAS(ClpLib)
    107111
    108112  coin_save_LIBS="$LIBS"
    109   # WSMP requires Blas, so provide CoinUtils libs, which may include Blas
    110   LIBS="$LIBS $use_wsmp $COINUTILS_LIBS"
     113  LIBS="$LIBS $use_wsmp $BLAS_LIBS"
    111114  AC_LANG_PUSH([Fortran 77])
    112115  AC_MSG_CHECKING([whether user-supplied WSMP library \"$use_wsmp\" works])
    113116  AC_TRY_LINK([],[      call WSSMP()],
    114               [AC_MSG_RESULT(yes)],   
    115               [AC_MSG_ERROR([WSMP library $use_wsmp does not seem to work])])
     117              [AC_MSG_RESULT(yes)],
     118              [AC_MSG_RESULT(no)
     119               AC_MSG_ERROR([WSMP library $use_wsmp does not seem to work])])
    116120  AC_LANG_POP([Fortran 77])
    117121  LIBS="$coin_save_LIBS"
Note: See TracChangeset for help on using the changeset viewer.