Index: /issm/trunk/externalpackages/metis/configs/macbookmathieu/Makefile.in.patch
===================================================================
--- /issm/trunk/externalpackages/metis/configs/macbookmathieu/Makefile.in.patch	(revision 8199)
+++ /issm/trunk/externalpackages/metis/configs/macbookmathieu/Makefile.in.patch	(revision 8199)
@@ -0,0 +1,10 @@
+3,5c3
+< CC = gcc
+< OBJ_EXT=o
+< LIB_EXT=a
+---
+> CC = cc
+8c6
+< OPTFLAGS = -DLINUX
+---
+> OPTFLAGS = -O2  -m64
Index: /issm/trunk/externalpackages/mpich2/configs/1.3.1/macbookmathieu/configure.sh
===================================================================
--- /issm/trunk/externalpackages/mpich2/configs/1.3.1/macbookmathieu/configure.sh	(revision 8199)
+++ /issm/trunk/externalpackages/mpich2/configs/1.3.1/macbookmathieu/configure.sh	(revision 8199)
@@ -0,0 +1,6 @@
+#!/bin/bash
+#export CFLAGS=" -arch i386"
+#export CXXFLAGS=" -arch i386"
+#export CPPFLAGS=" -arch i386"
+#export FFLAGS=" -m32 -arch i383"
+./configure --prefix="$ISSM_TIER/externalpackages/mpich2/install" --enable-f91=gfortran --enable-sharedlibs=osx-gcc --enable-shared --enable-fc=/usr/local/bin/gfortran
Index: /issm/trunk/externalpackages/petsc/configs/3.1-p7/macbookmathieu/configure.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/configs/3.1-p7/macbookmathieu/configure.sh	(revision 8199)
+++ /issm/trunk/externalpackages/petsc/configs/3.1-p7/macbookmathieu/configure.sh	(revision 8199)
@@ -0,0 +1,19 @@
+#!/bin/bash
+./config/configure.py  \
+ --prefix="$ISSM_TIER/externalpackages/petsc/install" \
+ --PETSC_DIR="$ISSM_TIER/externalpackages/petsc/src" \
+ --PETSC_ARCH=macosx-gnu \
+ --with-mpi-dir=$ISSM_TIER/externalpackages/mpich2/install \
+ --with-debugging=0 \
+ --with-shared=0 \
+ --download-mumps=yes \
+ --download-scalapack=yes \
+ --download-blacs=yes \
+ --download-blas=yes \
+ --download-f-blas-lapack=yes \
+ --download-plapack=yes \
+ --FFLAGS="-I$ISSM_TIER/externalpackages/mpich2/install/include " \
+ --COPTFLAGS="-march=opteron -O2 " \
+ --FOPTFLAGS="-march=opteron -O2 " \
+ --CXXOPTFLAGS="-march=opteron -O2 " \
+ --download-parmetis=yes
Index: /issm/trunk/externalpackages/triangle/configs/macbookmathieu/configure.make
===================================================================
--- /issm/trunk/externalpackages/triangle/configs/macbookmathieu/configure.make	(revision 8199)
+++ /issm/trunk/externalpackages/triangle/configs/macbookmathieu/configure.make	(revision 8199)
@@ -0,0 +1,5 @@
+CC=gcc
+CSWITCHES = $(CFLAGS)  -I/usr/X11R6/include -L/usr/X11R6/lib -I$(MATLAB_DIR)/extern/include -fPIC -I$(MATLAB_DIR)/include
+TRILIBDEFS = -DTRILIBRARY
+OBJ_EXT=o
+LIB_EXT=a
Index: /issm/trunk/externalpackages/valgrind/configs/macbookmathieu/configure.sh
===================================================================
--- /issm/trunk/externalpackages/valgrind/configs/macbookmathieu/configure.sh	(revision 8199)
+++ /issm/trunk/externalpackages/valgrind/configs/macbookmathieu/configure.sh	(revision 8199)
@@ -0,0 +1,2 @@
+#!/bin/bash
+./configure  --prefix="$ISSM_TIER/externalpackages/valgrind/install" --enable-only64bit
