Changeset 1073


Ignore:
Timestamp:
06/24/09 08:03:24 (16 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/configure

    r1 r1073  
    609609PLAPACKLIB
    610610PLAPACKINCL
     611MKLINCL
     612MKLLIB
    611613BLASLAPACKINCL
    612614BLASLAPACKLIB
     
    620622METISLIB
    621623METISINCL
     624DAKOTALIB
     625DAKOTAINCL
    622626TRIANGLELIB
    623627TRIANGLEINCL
     
    752756with_matlab_dir
    753757with_triangle_dir
     758with_dakota_dir
    754759with_metis_dir
    755760with_mpi_lib
     
    760765with_scalapack_dir
    761766with_blas_lapack_dir
     767with_mkl_dir
    762768with_plapack_dir
    763769with_mumps_dir
     
    14281434  --with-triangle-dir = DIR
    14291435                          triangle root directory. necessary for serial build
     1436  --with-dakota-dir = DIR dakota root directory. necessary for serial build
    14301437  --with-metis-dir = DIR  metis root directory. necessary for serial build
    14311438  --with-mpi-lib = otions mpi options, for ex: "-L$MPIROOT -lmpich
     
    14391446  --with-blas-lapack-dir = DIR
    14401447                          blas-lapack root directory
     1448  --with-mkl-dir = DIR    mkl root directory
    14411449  --with-plapack-dir = DIR
    14421450                          plapack root directory
     
    69096917
    69106918
     6919# Check whether --with-dakota-dir was given.
     6920if test "${with_dakota_dir+set}" = set; then
     6921  withval=$with_dakota_dir; DAKOTA_ROOT=$withval
     6922else
     6923  DAKOTA_ROOT=""
     6924fi
     6925
     6926        { $as_echo "$as_me:$LINENO: checking for Dakota " >&5
     6927$as_echo_n "checking for Dakota ... " >&6; }
     6928
     6929        if test -d "$DAKOTA_ROOT"; then
     6930
     6931                                HAVE_DAKOTA=yes
     6932                DAKOTAINCL=-I$DAKOTA_ROOT/include
     6933                DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -lfftw3 -llhs  -levidence -lsurfpack -lconmin -lddace -lfsudace    -ljega -lcport -lopt -lpsuade -lnewmat    -lncsuopt -lgsl -lquadrature -lcoliny -lcolin -lpebbl     -lutilib -l3po -lnappspack -lappspack -lconveyor -lshared -lcdd -lamplsolver "
     6934
     6935
     6936
     6937cat >>confdefs.h <<\_ACEOF
     6938#define _HAVE_DAKOTA_ 1
     6939_ACEOF
     6940
     6941
     6942
     6943
     6944        else
     6945                HAVE_DAKOTA=no
     6946        fi
     6947        { $as_echo "$as_me:$LINENO: result: $HAVE_DAKOTA" >&5
     6948$as_echo "$HAVE_DAKOTA" >&6; }
     6949
     6950
    69116951
    69126952# Check whether --with-metis-dir was given.
     
    69697009                if test -z "$MPILIB" ; then
    69707010                if test "$PARALLEL_VALUE" = "yes" ; then
    6971                         { { $as_echo "$as_me:$LINENO: error: empty --with-mpi-lib options! MPI is needed to run ISSM in paralle!" >&5
    6972 $as_echo "$as_me: error: empty --with-mpi-lib options! MPI is needed to run ISSM in paralle!" >&2;}
     7011                        { { $as_echo "$as_me:$LINENO: error: empty --with-mpi-lib options! MPI is needed to run ISSM in parallel!" >&5
     7012$as_echo "$as_me: error: empty --with-mpi-lib options! MPI is needed to run ISSM in parallel!" >&2;}
    69737013   { (exit 1); exit 1; }; }
    69747014                fi
     
    69767016                if test -z "$MPI_INCLUDE" ; then
    69777017                        if test "$PARALLEL_VALUE" = "yes" ; then
    6978                                 { { $as_echo "$as_me:$LINENO: error: empty --with-mpi-include directory! MPI is needed to run ISSM in paralle!" >&5
    6979 $as_echo "$as_me: error: empty --with-mpi-include directory! MPI is needed to run ISSM in paralle!" >&2;}
     7018                                { { $as_echo "$as_me:$LINENO: error: empty --with-mpi-include directory! MPI is needed to run ISSM in parallel!" >&5
     7019$as_echo "$as_me: error: empty --with-mpi-include directory! MPI is needed to run ISSM in parallel!" >&2;}
    69807020   { (exit 1); exit 1; }; }
    69817021                        fi
     
    69877027cat >>confdefs.h <<\_ACEOF
    69887028#define _HAVE_MPI_ 1
     7029_ACEOF
     7030
     7031
     7032cat >>confdefs.h <<\_ACEOF
     7033#define HAVE_MPI 1
    69897034_ACEOF
    69907035
     
    70607105        if test $HAVE_PETSC = no; then
    70617106                if test "$PARALLEL_VALUE" = "yes" ; then
    7062                         { { $as_echo "$as_me:$LINENO: error: could not find petsc. user should specify --with-petsc-dir and --with-petsc-arch options. Petsc is needed to run ISSM in paralle!" >&5
    7063 $as_echo "$as_me: error: could not find petsc. user should specify --with-petsc-dir and --with-petsc-arch options. Petsc is needed to run ISSM in paralle!" >&2;}
     7107                        { { $as_echo "$as_me:$LINENO: error: could not find petsc. user should specify --with-petsc-dir and --with-petsc-arch options. Petsc is needed to run ISSM in parallel!" >&5
     7108$as_echo "$as_me: error: could not find petsc. user should specify --with-petsc-dir and --with-petsc-arch options. Petsc is needed to run ISSM in parallel!" >&2;}
    70647109   { (exit 1); exit 1; }; }
    70657110                fi
     
    71467191                                HAVE_BLASLAPACK=yes
    71477192                BLASLAPACKINCL=""
    7148                 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lmkl_lapack -lmkl -lguide"
     7193                                BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lfblas -lflapack"
    71497194
    71507195
     
    71617206$as_echo "$HAVE_BLASLAPACK" >&6; }
    71627207
     7208
     7209# Check whether --with-mkl-dir was given.
     7210if test "${with_mkl_dir+set}" = set; then
     7211  withval=$with_mkl_dir; MKL_ROOT=$withval
     7212else
     7213  MKL_ROOT=""
     7214fi
     7215
     7216
     7217        { $as_echo "$as_me:$LINENO: checking for mkl headers and libraries in $MKL_ROOT" >&5
     7218$as_echo_n "checking for mkl headers and libraries in $MKL_ROOT... " >&6; }
     7219        if test -d "$MKL_ROOT"; then
     7220
     7221                                HAVE_MKL=yes
     7222                MKLINCL=""
     7223                MKLLIB=-L"$MKL_ROOT -lmkl_lapack -lmkl -lguide"
     7224
     7225
     7226cat >>confdefs.h <<\_ACEOF
     7227#define _HAVE_MKL_ 1
     7228_ACEOF
     7229
     7230
     7231
     7232        else
     7233                HAVE_MKL=no
     7234        fi
     7235        { $as_echo "$as_me:$LINENO: result: $HAVE_MKL" >&5
     7236$as_echo "$HAVE_MKL" >&6; }
    71637237
    71647238
Note: See TracChangeset for help on using the changeset viewer.