[12031] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | #petsc 3.2
|
---|
| 4 | #mpich 1.4
|
---|
| 5 |
|
---|
[12067] | 6 | pythonversion=2.7
|
---|
| 7 |
|
---|
[12031] | 8 | ./configure \
|
---|
[12157] | 9 | --prefix=$ISSM_DIR \
|
---|
| 10 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
[12031] | 11 | --with-matlab-dir=$MATLAB_DIR \
|
---|
[12157] | 12 | --with-python-dir=$ISSM_DIR/externalpackages/python/install\
|
---|
[12067] | 13 | --with-python-version=$pythonversion \
|
---|
[12157] | 14 | --with-python-numpy-dir=$ISSM_DIR/externalpackages/python/install/Python.framework/Versions/$pythonversion/lib/python$pythonversion/site-packages/numpy/core/include/numpy\
|
---|
| 15 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
---|
| 16 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include \
|
---|
| 17 | --with-mpi-lib=" $ISSM_DIR/externalpackages/mpich2/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpl.a " \
|
---|
| 18 | --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
|
---|
[12031] | 19 | --with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a" \
|
---|
| 20 | --with-math-lib="/usr/lib/libm.dylib" \
|
---|
| 21 | --with-graphics-lib="/usr/X11/lib/libX11.dylib" \
|
---|
| 22 | --with-cxxoptflags=" -fno-common -no-cpp-precomp -fexceptions -arch x86_64 -mmacosx-version-min=10.5 -O3 -DNDEBUG -w "\
|
---|
| 23 | --with-numthreads=8 \
|
---|
[12157] | 24 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
[12031] | 25 | --with-petsc-arch=$ISSM_ARCH \
|
---|
[12157] | 26 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 27 | --with-plapack-lib="-L$ISSM_DIR/externalpackages/petsc/install/ -lPLAPACK" \
|
---|
| 28 | --with-plapack-include="-I$ISSM_DIR/externalpackages/petsc/install/include/ " \
|
---|
| 29 | --with-blacs-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
| 30 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
| 31 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/
|
---|
| 32 | #--with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
|
---|
| 33 | #--with-boost-dir=$ISSM_DIR/externalpackages/boost/install/ \
|
---|