diff --git a/bin/foamJob b/bin/foamJob
index 0f679d727549961f789a95522a020f23574fa5c7..289d430d83f29ef3c372e02d9595bf7ade6646f5 100755
--- a/bin/foamJob
+++ b/bin/foamJob
@@ -204,24 +204,6 @@ else
 #
    echo "Parallel processing using $WM_MPLIB with $NPROCS processors"
    case "$WM_MPLIB" in
-   LAM)
-      lamPid=`getPID lamd`
-      if [ ! "$lamPid" ] ; then
-         echo "No LAM daemon running."
-         if [ -r system/machines ] ; then
-            echo "system/machines file exists"
-            echo "Try starting the LAM multicomputer with \"lamboot -v system/machines\""
-            exit 1
-         else
-            echo "Cannot find a 'machines' file for LAM in system/"
-            echo "required to start a LAM multicomputer"
-            consultGuide
-            exit 1
-         fi
-      else
-         echo "LAM daemon running (PID $lamPid).  Proceeding with MPI run."
-      fi
-      ;;
    OPENMPI)
       # add hostfile info
       for hostfile in \
diff --git a/bin/mpirunDebug b/bin/mpirunDebug
index 66bc86e42bca4ee1b16f5eef75bef5526f236cca..57df760873478f36ba49b44ac000ec76d7be37d0 100755
--- a/bin/mpirunDebug
+++ b/bin/mpirunDebug
@@ -162,10 +162,6 @@ do
 
     if [ .$WM_MPLIB = .OPENMPI ]; then
         node="-np 1 "
-    elif [ .$WM_MPLIB = .LAM ]; then
-        if [ "$spawn" -eq 2 ]; then
-            node="c${proc} "
-        fi
     fi
 
     echo "#!/bin/sh" > $procCmdFile
@@ -210,8 +206,6 @@ done
 cmd=""
 if [ .$WM_MPLIB = .OPENMPI ]; then
     cmd="mpirun -app $PWD/mpirun.schema </dev/null"
-elif [ .$WM_MPLIB = .LAM ]; then
-    cmd="mpirun $PWD/mpirun.schema </dev/null"
 fi
 
 echo "Constructed $PWD/mpirun.schema file."
diff --git a/etc/bashrc b/etc/bashrc
index f906c99080ba679d8ea58dcb7d3f29b713b665e7..218880e31193f8282a4eaf229e08a31c34c774b9 100644
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -33,7 +33,7 @@
 #------------------------------------------------------------------------------
 
 export WM_PROJECT=OpenFOAM
-# export WM_PROJECT_VERSION=1.5.x
+# export WM_PROJECT_VERSION=1.6.x
 : ${WM_PROJECT_VERSION:=dev}; export WM_PROJECT_VERSION
 
 ################################################################################
@@ -105,7 +105,7 @@ export WM_COMPILER_LIB_ARCH=
 # WM_JAVAC_OPTION = Opt | Debug
 : ${WM_JAVAC_OPTION:=Opt}; export WM_JAVAC_OPTION
 
-# WM_MPLIB = | OPENMPI | LAM | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI
+# WM_MPLIB = | OPENMPI | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI
 : ${WM_MPLIB:=OPENMPI}; export WM_MPLIB
 
 
diff --git a/etc/cshrc b/etc/cshrc
index e1960e39dc71b9b2f29b1e9bd61826a9ef65b1e4..0ead9b1a65f5769b91b9539ee52862970a8dc78c 100644
--- a/etc/cshrc
+++ b/etc/cshrc
@@ -32,7 +32,7 @@
 #------------------------------------------------------------------------------
 
 setenv WM_PROJECT OpenFOAM
-# setenv WM_PROJECT_VERSION 1.5.x
+# setenv WM_PROJECT_VERSION 1.6.x
 if ( ! $?WM_PROJECT_VERSION ) setenv WM_PROJECT_VERSION dev
 
 ################################################################################
@@ -99,7 +99,7 @@ if ( ! $?WM_COMPILE_OPTION ) setenv WM_COMPILE_OPTION Opt
 # WM_JAVAC_OPTION = Opt | Debug
 if ( ! $?WM_JAVAC_OPTION ) setenv WM_JAVAC_OPTION Opt
 
-# WM_MPLIB = | OPENMPI | LAM | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI
+# WM_MPLIB = | OPENMPI | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI
 if ( ! $?WM_MPLIB ) setenv WM_MPLIB OPENMPI
 
 
diff --git a/etc/settings.csh b/etc/settings.csh
index 639f2eac63c37f2170eca075f8699dffb3ebb9cf..edafa90716f489595feba4a9a617796f0cbbd2b7 100644
--- a/etc/settings.csh
+++ b/etc/settings.csh
@@ -118,6 +118,7 @@ unset MPI_ARCH_PATH
 
 switch ("$WM_MPLIB")
 case OPENMPI:
+    # set mpi_version=openmpi-1.3.3
     set mpi_version=openmpi-1.3.2
     setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version
     setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS
@@ -132,20 +133,6 @@ case OPENMPI:
     unset mpi_version
     breaksw
 
-case LAM:
-    set mpi_version=lam-7.1.4
-    setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version
-    setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS
-    setenv LAMHOME $WM_THIRD_PARTY_DIR/$mpi_version
-    # note: LAMHOME is deprecated, should probably point to MPI_ARCH_PATH too
-
-    _foamAddPath $MPI_ARCH_PATH/bin
-    _foamAddLib  $MPI_ARCH_PATH/lib
-
-    setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
-    unset mpi_version
-    breaksw
-
 case MPICH:
     set mpi_version=mpich-1.2.4
     setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version
diff --git a/etc/settings.sh b/etc/settings.sh
index aacd41f8bca4fe6f8d79c0c4054aee2338b6486d..1203a843a05aafc2cd6b6eb121bc41c05cb1443d 100644
--- a/etc/settings.sh
+++ b/etc/settings.sh
@@ -34,21 +34,21 @@
 # prefix to PATH
 _foamAddPath()
 {
-   while [ $# -ge 1 ]
-   do
-      export PATH=$1:$PATH
-      shift
-   done
+    while [ $# -ge 1 ]
+    do
+        export PATH=$1:$PATH
+        shift
+    done
 }
 
 # prefix to LD_LIBRARY_PATH
 _foamAddLib()
 {
-   while [ $# -ge 1 ]
-   do
-      export LD_LIBRARY_PATH=$1:$LD_LIBRARY_PATH
-      shift
-   done
+    while [ $# -ge 1 ]
+    do
+        export LD_LIBRARY_PATH=$1:$LD_LIBRARY_PATH
+        shift
+    done
 }
 
 
@@ -142,6 +142,7 @@ unset MPI_ARCH_PATH
 
 case "$WM_MPLIB" in
 OPENMPI)
+    # mpi_version=openmpi-1.3.3
     mpi_version=openmpi-1.3.2
     export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version
     export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS
@@ -156,20 +157,6 @@ OPENMPI)
     unset mpi_version
     ;;
 
-LAM)
-    mpi_version=lam-7.1.4
-    export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version
-    export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS
-    export LAMHOME=$WM_THIRD_PARTY_DIR/$mpi_version
-    # note: LAMHOME is deprecated, should probably point to MPI_ARCH_PATH too
-
-    _foamAddPath $MPI_ARCH_PATH/bin
-    _foamAddLib  $MPI_ARCH_PATH/lib
-
-    export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
-    unset mpi_version
-    ;;
-
 MPICH)
     mpi_version=mpich-1.2.4
     export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version
diff --git a/wmake/rules/linux64Gcc/mplibLAM b/wmake/rules/linux64Gcc/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linux64Gcc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linux64Gcc42/mplibLAM b/wmake/rules/linux64Gcc42/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linux64Gcc42/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linux64Gcc43/mplibLAM b/wmake/rules/linux64Gcc43/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linux64Gcc43/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linux64Icc/mplibLAM b/wmake/rules/linux64Icc/mplibLAM
deleted file mode 100644
index 9fa7c2752edacb46bb1937975d0f3d8f4b96d935..0000000000000000000000000000000000000000
--- a/wmake/rules/linux64Icc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lutil
diff --git a/wmake/rules/linuxGcc/mplibLAM b/wmake/rules/linuxGcc/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxGcc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linuxGcc42/mplibLAM b/wmake/rules/linuxGcc42/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxGcc42/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linuxGcc43/mplibLAM b/wmake/rules/linuxGcc43/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxGcc43/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linuxIA64Gcc/mplibLAM b/wmake/rules/linuxIA64Gcc/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxIA64Gcc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linuxIA64Icc/mplibLAM b/wmake/rules/linuxIA64Icc/mplibLAM
deleted file mode 100644
index 9fa7c2752edacb46bb1937975d0f3d8f4b96d935..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxIA64Icc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lutil
diff --git a/wmake/rules/linuxIcc/mplibLAM b/wmake/rules/linuxIcc/mplibLAM
deleted file mode 100644
index 9fa7c2752edacb46bb1937975d0f3d8f4b96d935..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxIcc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lutil
diff --git a/wmake/rules/linuxPPC64Gcc/mplibLAM b/wmake/rules/linuxPPC64Gcc/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxPPC64Gcc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/linuxmingw32/mplibLAM b/wmake/rules/linuxmingw32/mplibLAM
deleted file mode 100644
index 6762b843c122f498a54c6e619febedd964f773cc..0000000000000000000000000000000000000000
--- a/wmake/rules/linuxmingw32/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam -lpthread -lutil
diff --git a/wmake/rules/solarisGcc/mplibLAM b/wmake/rules/solarisGcc/mplibLAM
deleted file mode 100644
index fc109a63b5d2d630843e2e3439fac0fd4b042069..0000000000000000000000000000000000000000
--- a/wmake/rules/solarisGcc/mplibLAM
+++ /dev/null
@@ -1,3 +0,0 @@
-PFLAGS     = 
-PINC       = -I$(MPI_ARCH_PATH)/include
-PLIBS      = -L$(MPI_ARCH_PATH)/lib -lmpi -llam