Changeset 1073
- Timestamp:
- 06/24/09 08:03:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/configure
r1 r1073 609 609 PLAPACKLIB 610 610 PLAPACKINCL 611 MKLINCL 612 MKLLIB 611 613 BLASLAPACKINCL 612 614 BLASLAPACKLIB … … 620 622 METISLIB 621 623 METISINCL 624 DAKOTALIB 625 DAKOTAINCL 622 626 TRIANGLELIB 623 627 TRIANGLEINCL … … 752 756 with_matlab_dir 753 757 with_triangle_dir 758 with_dakota_dir 754 759 with_metis_dir 755 760 with_mpi_lib … … 760 765 with_scalapack_dir 761 766 with_blas_lapack_dir 767 with_mkl_dir 762 768 with_plapack_dir 763 769 with_mumps_dir … … 1428 1434 --with-triangle-dir = DIR 1429 1435 triangle root directory. necessary for serial build 1436 --with-dakota-dir = DIR dakota root directory. necessary for serial build 1430 1437 --with-metis-dir = DIR metis root directory. necessary for serial build 1431 1438 --with-mpi-lib = otions mpi options, for ex: "-L$MPIROOT -lmpich … … 1439 1446 --with-blas-lapack-dir = DIR 1440 1447 blas-lapack root directory 1448 --with-mkl-dir = DIR mkl root directory 1441 1449 --with-plapack-dir = DIR 1442 1450 plapack root directory … … 6909 6917 6910 6918 6919 # Check whether --with-dakota-dir was given. 6920 if test "${with_dakota_dir+set}" = set; then 6921 withval=$with_dakota_dir; DAKOTA_ROOT=$withval 6922 else 6923 DAKOTA_ROOT="" 6924 fi 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 6937 cat >>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 6911 6951 6912 6952 # Check whether --with-metis-dir was given. … … 6969 7009 if test -z "$MPILIB" ; then 6970 7010 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 !" >&56972 $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;} 6973 7013 { (exit 1); exit 1; }; } 6974 7014 fi … … 6976 7016 if test -z "$MPI_INCLUDE" ; then 6977 7017 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 !" >&56979 $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;} 6980 7020 { (exit 1); exit 1; }; } 6981 7021 fi … … 6987 7027 cat >>confdefs.h <<\_ACEOF 6988 7028 #define _HAVE_MPI_ 1 7029 _ACEOF 7030 7031 7032 cat >>confdefs.h <<\_ACEOF 7033 #define HAVE_MPI 1 6989 7034 _ACEOF 6990 7035 … … 7060 7105 if test $HAVE_PETSC = no; then 7061 7106 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 !" >&57063 $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;} 7064 7109 { (exit 1); exit 1; }; } 7065 7110 fi … … 7146 7191 HAVE_BLASLAPACK=yes 7147 7192 BLASLAPACKINCL="" 7148 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lmkl_lapack -lmkl -lguide"7193 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lfblas -lflapack" 7149 7194 7150 7195 … … 7161 7206 $as_echo "$HAVE_BLASLAPACK" >&6; } 7162 7207 7208 7209 # Check whether --with-mkl-dir was given. 7210 if test "${with_mkl_dir+set}" = set; then 7211 withval=$with_mkl_dir; MKL_ROOT=$withval 7212 else 7213 MKL_ROOT="" 7214 fi 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 7226 cat >>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; } 7163 7237 7164 7238
Note:
See TracChangeset
for help on using the changeset viewer.