Does the Matlab Parallel Computing Toolbox use other licenses (e.g. image processing)?

consider the following code:

matlabpool 10; parfor i=1:10 img = imread(foo(i)); end 

the cluster is configured using sge. My question is, will this code consume additional base and graphic licenses for Matlab for each of the workers?

thanks for the help!

+4
source share
2 answers

The Parallel Computing Toolbox allows you to use the cluster licenses that you have on your MATLAB client. In your case, you are using SGE, so you are using MDCS licenses for workers. Each workflow uses only one MDCS work license, but it is allowed to use all products for which your client is licensed.

+1
source

If you use only the Parallel Computing Toolbox, parfor will run up to 8 parallel processes on one machine, therefore it consumes only one license for each of the additional toolbars (since Matlab licenses are checked per machine for a user, one user running two instances of Matlab on one machine, consumes only one license).

If you use the Distributed Computing Server toolbar, one license for each toolbar will be checked per person per task , so if you want to perform two tasks in a cluster (with any number of workers each), you will need two licenses for each set.

EDIT @Edric indicates that you can exit the client after submitting the task, which means that additional licenses on the toolbar are freed. Thus, if you have enough Distributed Computing Server licenses to run all your employees, you can run as many parallel jobs as you want.

+3
source

Source: https://habr.com/ru/post/1390263/


All Articles