# Matlab parpool on Intel Xeon-Phi (KNL)

I am trying to run my matlab script on a Xeon Phi node with 68 physical cores. Using parpool I allocate 16 cores to enable SMD parallelization with a parfor loop. The script looks something like this.

parpool('local',16)
parfor i=1:N
foo
end


When I run the script on Intel Xeon Phi processor (with MIC architecture), each MATLAB task uses only 6.5% CPU. There are no issues when I run on another machine with Intel Xeon processor (20 cores). How can I get the maximum out of my computing resources?

parpool is a part of Matlab Parallel Computing Toolbox. According to this discussion from 2015 and this discussion about Matlab2016a, Parallel Computing Toolbox did not have a support for Intel Xeon Phi. However, at that time only Intel Xeon Phis on KNC architecture were available (that allowed only co-processor mode of operation).