From 43177a2237f2135433b165d17ccce7e63d20cf0c Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 21 Mar 2011 14:46:35 +0100 Subject: [PATCH] MPI: RunOpenEMS_MPI on Linux only --- matlab/RunOpenEMS.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/RunOpenEMS.m b/matlab/RunOpenEMS.m index f6df155..00886cb 100644 --- a/matlab/RunOpenEMS.m +++ b/matlab/RunOpenEMS.m @@ -35,7 +35,7 @@ if (nargin<4) Settings = []; end -if (isfield(Settings,'MPI')) +if (isfield(Settings,'MPI') && isunix) if (Settings.MPI.NrProc>1) RunOpenEMS_MPI(Sim_Path, Sim_File, opts, Settings); return;