How to use limited number of MDCS licenses to maximize usage?

조회 수: 1 (최근 30일)
Viswanath Hariharan
Viswanath Hariharan 2018년 2월 5일
답변: Jason Ross 2018년 2월 16일
Based on a few questions I've asked here, I can use 16 licenses to make 9 nodes consisting of 12 cores each to communicate with each other. But how do I go about doing that? I am planning on purchasing 16 licences

답변 (1개)

Jason Ross
Jason Ross 2018년 2월 16일
If you get 16 MDCS licenses, you can start 16 worker processes. So the broad strokes of doing that would be that you would put the MDCS installations down on your 9 nodes, start MDCS, start a jobmanager on one node, then start the 16 worker processes how you desire. Given that you have 9 nodes, I'm assuming one will be the jobmanager alone and you'll have two worker processes on the other 8 nodes. It will look like this:
Put down the same MDCS install on all nodes. Edit the mdce_def file in (matlabroot)/toolbox/distcomp/bin to have head node name, cluster name, and other parameters you will find useful. Distribute this file to all the cluster nodes.
head node:
- mdcs install/start
- startjobmanager
- nodestatus will show 0 workers running on this node
worker nodes:
- mdcs install/start
- startworker twice
- nodestatus will show two workers running, connected to the head node.
If you don't want to do this via command lines, you can do it via the Admin Center application in the distcomp/bin directory, as well.
Once the cluster is up you should be able to connect to the cluster from a MATLAB with PCT and validate it with 16 workers.

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by