[3321] | 1 | #!/bin/sh
|
---|
[8167] | 2 | ./configure \
|
---|
| 3 | --prefix=$ISSM_TIER \
|
---|
| 4 | --with-matlab-dir=$MATLAB_DIR \
|
---|
| 5 | --with-triangle-dir=$ISSM_TIER/externalpackages/triangle/install \
|
---|
| 6 | --with-metis-dir=$ISSM_TIER/externalpackages/metis/install \
|
---|
| 7 | --with-petsc-dir=$ISSM_TIER/externalpackages/petsc/install \
|
---|
| 8 | --with-petsc-version=3 \
|
---|
| 9 | --with-mpi-include=$ISSM_TIER/externalpackages/mpich2/install/include \
|
---|
| 10 | --with-mpi-lib=" $ISSM_TIER/externalpackages/mpich2/install/lib/libpmpich.a $ISSM_TIER/externalpackages/mpich2/install/lib/libmpich.a $ISSM_TIER/externalpackages/mpich2/install/lib/libmpl.a " \
|
---|
| 11 | --with-petsc-arch=$ISSM_ARCH \
|
---|
| 12 | --with-dakota-dir=$ISSM_TIER/externalpackages/dakota/install \
|
---|
| 13 | --with-blas-lapack-dir=$ISSM_TIER/externalpackages/petsc/install \
|
---|
| 14 | --with-plapack-lib="-L$ISSM_TIER/externalpackages/petsc/install/ -lPLAPACK" \
|
---|
| 15 | --with-plapack-include="-I $ISSM_TIER/externalpackages/petsc/install/include/ " \
|
---|
| 16 | --with-blacs-dir=$ISSM_TIER/externalpackages/petsc/install/ \
|
---|
| 17 | --with-scalapack-dir=$ISSM_TIER/externalpackages/petsc/install/ \
|
---|
| 18 | --with-mumps-dir=$ISSM_TIER/externalpackages/petsc/install/ \
|
---|
| 19 | --with-fortran-lib="/usr/local/lib/libgfortran.a" \
|
---|
| 20 | --with-math-lib="/usr/lib/libm.dylib" \
|
---|
| 21 | --with-graphics-lib="/usr/X11/lib/libX11.dylib" \
|
---|
[8187] | 22 | --with-cxxoptflags=" -DMATLAB_MEX_FILE -fno-common -no-cpp-precomp -fexceptions -arch i386 -DMX_COMPAT_32 -O3 -DNDEBUG -w " \
|
---|
[8167] | 23 | --with-numthreads=8
|
---|
[8187] | 24 |
|
---|
| 25 | #CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
---|
| 26 | #you have headers in a nonstandard directory <include dir>
|
---|
| 27 | #CPP C preprocessor
|
---|
| 28 | #CXX C++ compiler command
|
---|
| 29 | #CXXFLAGS C++ compiler flags
|
---|
| 30 | #F77 Fortran 77 compiler command
|
---|
| 31 | #FFLAGS Fortran 77 compiler flags
|
---|