MPI: RunOpenEMS_MPI on Linux only

This commit is contained in:
Thorsten Liebig 2011-03-21 14:46:35 +01:00
parent 1dff63d2cd
commit 43177a2237

View File

@ -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;