Changeset 24607


Ignore:
Timestamp:
02/27/20 11:58:32 (5 years ago)
Author:
jdquinn
Message:

CHG: Correcting ParMETIS linking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r24593 r24607  
    190190                [VENDOR=""]                                                                                                                     dnl action if not given
    191191        )
    192         AC_MSG_CHECKING(for vendor compilers)
     192        AC_MSG_CHECKING([for vendor compilers])
    193193        if test -n "${VENDOR}"; then
    194194                if test "${VENDOR}" == "intel-win32"; then
     
    292292                [MATLAB_ROOT="no"]                                                                                                      dnl action if not given
    293293        )
     294        AC_MSG_CHECKING([for MATLAB])
    294295        if test "x${MATLAB_ROOT}" == "xno"; then
    295296                HAVE_MATLAB=no
     
    13411342                dnl METIS libraries and header files
    13421343                if test "x${HAVE_METIS}" == "xyes"; then
    1343                         AC_MSG_CHECKING(for METIS libraries and header files in ${METIS_ROOT})
    13441344                        dnl Retrieve METIS version (does the VERSION file exist?)
    13451345                        if test -f "${METIS_ROOT}/VERSION"; then
     
    13571357                                        ;;
    13581358                                        *linux*)
    1359                                                 METISLIB="-L${METIS_ROOT} -lmetis"
     1359                                                METISLIB="-L${METIS_ROOT} -lparmetis -lmetis"
    13601360                                        ;;
    13611361                                        *darwin*)
    1362                                                 METISLIB="-L${METIS_ROOT} -lmetis"
     1362                                                METISLIB="-L${METIS_ROOT} -lparmetis -lmetis"
    13631363                                        ;;
    13641364                                esac
     
    13721372                                        ;;
    13731373                                        *linux*)
    1374                                                 METISLIB="-L${METIS_ROOT}/lib -lmetis"
     1374                                                METISLIB="-L${METIS_ROOT}/lib -lparmetis -lmetis"
    13751375                                        ;;
    13761376                                        *darwin*)
    1377                                                 METISLIB="-L${METIS_ROOT}/lib -lmetis"
     1377                                                METISLIB="-L${METIS_ROOT}/lib -lparmetis -lmetis"
    13781378                                        ;;
    13791379                                esac
Note: See TracChangeset for help on using the changeset viewer.