diff --git a/etc/settings.csh b/etc/settings.csh
index 10bce2b685a4998ca593fb559b8b9c7d4d42fc62..94d6501e9d470832973871ebdf7d2309c584c60b 100644
--- a/etc/settings.csh
+++ b/etc/settings.csh
@@ -157,7 +157,7 @@ endif
 
 switch ("$WM_MPLIB")
 case OPENMPI:
-    set ompi_version=1.2.6
+    set ompi_version=1.2.5
     setenv OPENMPI_HOME $FOAM_SRC/other/openmpi-$ompi_version
     setenv OPENMPI_ARCH_PATH $OPENMPI_HOME/platforms/$WM_OPTIONS
 
diff --git a/etc/settings.sh b/etc/settings.sh
index 8bb969a3561a2eb822c9bd886c20409b58b0d769..880dba484d91fc33aee6f7a11f4dcd641f456445 100644
--- a/etc/settings.sh
+++ b/etc/settings.sh
@@ -158,7 +158,7 @@ export FOAMX_CONFIG
 
 case "$WM_MPLIB" in
 OPENMPI)
-    ompi_version=1.2.6
+    ompi_version=1.2.5
     export OPENMPI_HOME=$FOAM_SRC/other/openmpi-$ompi_version
     export OPENMPI_ARCH_PATH=$OPENMPI_HOME/platforms/$WM_OPTIONS