MATLAB: Parpool: can’t use windows and linux workers simultaneously.

parpool windows linux

Hello. I have PCs with Win 2012r2 x64 and Ubuntu 16.04 x64. Matlab R2015b is installed on each PC. I create job manager on any PC, add workers from all PCs and start matlab client on any PC. Next i try to run code:
if isempty(gcp('nocreate')), parpool('pool1', 'SpmdEnabled', true); end
pctRunOnAll [~, out] = system('hostname')
pool starting only with windows or linux workers. If set SpmdEnabled to false all workers starting.
It is possible to use linux and windows workers with spmd at same time?

Best Answer

Unfortunately, the MPI infrastructure used to support spmd does not allow mixing of Linux and Windows workers.