source: issm/branches/trunk-jpl-damage/configs/config-macosx-snowleopard-bothapis.sh@ 12878

Last change on this file since 12878 was 12878, checked in by cborstad, 13 years ago

merged trunk-jpl into trunk-jpl-damage through revision 12877

  • 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#export FCFLAGS=" -m32"
7#export FFLAGS=" -m32"
8#export CFLAGS=" -arch i386"
9#export CXXFLAGS=" -arch i386"
10
11pythonversion=2.7
12
13./configure \
14 --prefix=$ISSM_DIR \
15 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
16 --with-matlab-dir=$MATLAB_DIR \
17 --with-python-dir=$ISSM_DIR/externalpackages/python/install\
18 --with-python-version=$pythonversion \
19 --with-python-numpy-dir=$ISSM_DIR/externalpackages/python/install/Python.framework/Versions/$pythonversion/lib/python$pythonversion/site-packages/numpy/core/include/numpy\
20 --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
21 --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include \
22 --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 " \
23 --with-fortran-lib="/usr/local/gfortran/lib/gcc/x86_64-apple-darwin10/4.6.2/libgfortran.a" \
24 --with-math-lib="/usr/lib/libm.dylib" \
25 --with-graphics-lib="/usr/X11/lib/libX11.dylib" \
26 --with-cxxoptflags=" -fno-common -no-cpp-precomp -fexceptions -arch i386 -DMX_COMPAT_32 -O3 -DNDEBUG -w "\
27 --with-numthreads=8 \
28 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
29 --with-petsc-arch=$ISSM_ARCH \
30 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
31 --with-plapack-lib="-L$ISSM_DIR/externalpackages/petsc/install/ -lPLAPACK" \
32 --with-plapack-include="-I$ISSM_DIR/externalpackages/petsc/install/include/ " \
33 --with-blacs-dir=$ISSM_DIR/externalpackages/petsc/install/ \
34 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
35 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/
Note: See TracBrowser for help on using the repository browser.