diff --git a/Appl/CEP/CS1/CS1_BGLProc/test/transpose.cc b/Appl/CEP/CS1/CS1_BGLProc/test/transpose.cc
index afb2a16e11b91c49d334bf3ad7746e60c0759fe2..b98f16c93b3e2c994e19045817f0ac0a63091fa1 100644
--- a/Appl/CEP/CS1/CS1_BGLProc/test/transpose.cc
+++ b/Appl/CEP/CS1/CS1_BGLProc/test/transpose.cc
@@ -20,6 +20,7 @@
 
 #include <lofar_config.h>
 
+#if defined HAVE_MPI
 #include <APS/ParameterSet.h>
 #include <Common/lofar_complex.h>
 #include <Common/Timer.h>
@@ -516,3 +517,12 @@ int main(int argc, char **argv)
 
   return retval;
 }
+
+#else // !defined HAVE_MPI
+
+int main()
+{
+  return 0;
+}
+
+#endif