Configuration of Parallel Computing Toolbox TCP/IP ports

1 view (last 30 days)
I experience a certain problem with TCP/IP Ports management of Matlab compiled exe with a heavy use of parallel processing toolbox
Each time an application is launched , it opens a pool of local workers that uses an ascending set of TCP/IP ports up to 65534 and when exceeding 65534 starts new pool from port 1000 up.
The problem is that parallel processing toolbox ends up using the vast range [ 1000, 65534] of ports, interfering with other application on the system that use ports.
Please provide a solution that allows to define a range of ports that parallel processing toolbox is allowed to use.
The code to reproduce it, assuming a creation of 12 workers, all of them use ~ 200 ports each run:
N=(65534-1000)/200;
for i=1:N
matlabpool('open');
matlabpool('close');
end
-------------------------------------------------------------------------------------------------------
MATLAB Version: 8.1.0.604 (R2013a)
MATLAB License Number: ••••••
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------------------------
MATLAB Version 8.1 (R2013a)
Curve Fitting Toolbox Version 3.3.1 (R2013a)
Data Acquisition Toolbox Version 3.3 (R2013a)
Database Toolbox Version 4.1 (R2013a)
Image Acquisition Toolbox Version 4.5 (R2013a)
Image Processing Toolbox Version 8.2 (R2013a)
MATLAB Builder NE Version 4.1.3 (R2013a)
MATLAB Compiler Version 4.18.1 (R2013a)
MATLAB Report Generator Version 3.14 (R2013a)
Optimization Toolbox Version 6.3 (R2013a)
Parallel Computing Toolbox Version 6.2 (R2013a)
Signal Processing Toolbox Version 6.19 (R2013a)
Statistics Toolbox Version 8.2 (R2013a)
Wavelet Toolbox Version 4.11 (R2013a)

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!