From 28c5b496ed6df0854b98804fe71bde13cd2f0aab Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 8 Mar 2011 11:29:48 +0100 Subject: [PATCH] MPI: fix in enabling MPI Operator --- FDTD/operator_mpi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FDTD/operator_mpi.cpp b/FDTD/operator_mpi.cpp index f299205..22e7baa 100644 --- a/FDTD/operator_mpi.cpp +++ b/FDTD/operator_mpi.cpp @@ -36,7 +36,7 @@ Operator_MPI::Operator_MPI() : Operator_SSE_Compressed() m_NumProc = MPI::COMM_WORLD.Get_size(); //enabled only if more than one process is active - m_MPI_Enabled = m_NumProc>0; + m_MPI_Enabled = m_NumProc>1; } Operator_MPI::~Operator_MPI()