Last change
on this file since 13395 was 13395, checked in by Mathieu Morlighem, 12 years ago |
merged trunk-jpl and trunk for revision 13393
|
-
Property svn:executable
set to
*
|
File size:
1.7 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | #petsc 3.2
|
---|
4 | #mpich 1.4
|
---|
5 |
|
---|
6 | pythonversion=2.7
|
---|
7 |
|
---|
8 | ./configure \
|
---|
9 | --prefix=$ISSM_DIR \
|
---|
10 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
11 | --with-python-dir=$ISSM_DIR/externalpackages/python/install\
|
---|
12 | --with-python-version=$pythonversion \
|
---|
13 | --with-python-numpy-dir=$ISSM_DIR/externalpackages/python/install/lib/python$pythonversion/site-packages/numpy/core/include/numpy\
|
---|
14 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
---|
15 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include \
|
---|
16 | --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 " \
|
---|
17 | --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
|
---|
18 | --with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a" \
|
---|
19 | --with-math-lib="/usr/lib/libm.dylib" \
|
---|
20 | --with-graphics-lib="/usr/X11/lib/libX11.dylib" \
|
---|
21 | --with-cxxoptflags=" -fno-common -no-cpp-precomp -fexceptions -arch x86_64 -mmacosx-version-min=10.5 -O3 -DNDEBUG -w "\
|
---|
22 | --with-numthreads=8 \
|
---|
23 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
24 | --with-petsc-arch=$ISSM_ARCH \
|
---|
25 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
26 | --with-plapack-lib="-L$ISSM_DIR/externalpackages/petsc/install/ -lPLAPACK" \
|
---|
27 | --with-plapack-include="-I$ISSM_DIR/externalpackages/petsc/install/include/ " \
|
---|
28 | --with-blacs-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
29 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
30 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/
|
---|
31 | #--with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
|
---|
32 | #--with-boost-dir=$ISSM_DIR/externalpackages/boost/install/ \
|
---|
Note:
See
TracBrowser
for help on using the repository browser.