Index: /issm/trunk/externalpackages/mpich2/install.sh
===================================================================
--- /issm/trunk/externalpackages/mpich2/install.sh	(revision 24)
+++ /issm/trunk/externalpackages/mpich2/install.sh	(revision 25)
@@ -25,6 +25,7 @@
 
 #Apply Patch to examples
-cd examples
-patch Makefile ../../Examples.Makefile.patch
+patch ./examples/Makefile ../Examples.Makefile.patch
+patch -R ./src/binding/cxx/mpicxx.h ../mpicxx.h.patch
+patch -R ./src/include/mpicxx.h ../mpicxx.h.patch
 
 #Compile mpich2
Index: /issm/trunk/externalpackages/mpich2/mpicxx.h.patch
===================================================================
--- /issm/trunk/externalpackages/mpich2/mpicxx.h.patch	(revision 25)
+++ /issm/trunk/externalpackages/mpich2/mpicxx.h.patch	(revision 25)
@@ -0,0 +1,12 @@
+26c26
+< //#error "SEEK_SET is #defined but must not be for the C++ binding of MPI"
+---
+> #error "SEEK_SET is #defined but must not be for the C++ binding of MPI"
+30c30
+< //#error "SEEK_CUR is #defined but must not be for the C++ binding of MPI"
+---
+> #error "SEEK_CUR is #defined but must not be for the C++ binding of MPI"
+35c35
+< //#error "SEEK_END is #defined but must not be for the C++ binding of MPI"
+---
+> #error "SEEK_END is #defined but must not be for the C++ binding of MPI"
