Setting Up MATLAB Distributed Computing Server with MATLAB Job Scheduler



hello my name is Eric Hollis I'm part of the installation and licensing team at mathworks and I'm going to be providing an overview about how to set up MATLAB distributed computing server with MATLAB job scheduler and I'm going to cover the following topics the basic requirements the download process the installation and activation process and the final configuration steps please note that this video will be demonstrated in a Windows environment alternative operating systems are very similar if you experience any difficulties during this process please contact your local MathWorks support team local contact information can be found at mathworks comm forward slash support forward slash contact underscore us first let's review the requirements for setting up matlab distributed computing server in order to have full access to the installation files as well as the activation permissions we highly recommend that you are the administrator or asset manager of the license you can make this request through our customer support group by visiting math works comm forward slash company forward slash about us forward slash contact underscore us you will need to determine which machines you will want to use in your cluster there are three components that are involved there's the client machine which will have a licensed copy of MATLAB and parallel computing toolbox they will use to submit your jobs from a head node which will host the license manager and MATLAB job scheduler and your cluster which can include any number of additional worker machines for convenience you can assign a worker machine as the head node as shown in the diagram now that we've reviewed the requirements let's proceed with downloading installing and activating on all of the machines that are involved the first step will be to activate your head node for use with the license manager to do this please login works calm forward-slash licensed center select your MATLAB distributed computing server license and then change to the activation and installation tab select the activate button and select your operating system enter in the MAC address of your head node and choose an optional activation label if you would like to remember which machine your head node is on once activated be sure to obtain your final installation key and license file you will use the final installation key while installing on all of your machines we can proceed with downloading you want to take a copy of your file installation key then you want to download your license file you the next step will be downloading all of your installation files to do this go to the license details tab and select download products you can now proceed with downloading the Installer and then make sure to change to the MATLAB distributed computing server tab if you are using our 2014 a or newer you will need to log into the installer and allow the software to download the rest of your installation files we can proceed with reading and agreeing to the License Agreement logging in with your MathWorks account selecting the download only option so that we have those files to bring over to additional machines selecting a download folder that we want those files to go to as well as the operating system selecting all listed products even if you are not licensed for them reading the confirmation and beginning the download now that these files have been downloaded we can go ahead and open the file location from here we can go back a level and copy this folder to a USB Drive DVD or a shared network location so that you can take these files to install on to the additional machines in your setup assuming that these files have been downloaded directly on to the head node where your license manager will run you can go ahead and now open this and run setup.exe perform all installations offline with the file installation key when prompted select this option and enter the key that you received with your license file the path where you want the application to be installed and select all products including the license manager next you want to browse to the license the LIC file that you generated from your MathWorks account during this process the Installer will take your unprocessed license LIC file and create a licensed DAT file which will include additional server information you want to select to configure the license manager as a service if you're prompted to do so confirm your choices and install the software once the installation is finished on your head node you need to start the license manager so you can finish then you want to go to the installation directory on windows and open LM Tools Exe this will be located in the release that you've installed then within the e.t.c directory and then architecture directory that you have from here go ahead and launch LM tools navigate to the start/stop re read tab and select to start the server on linux you'll navigate to the same default directory where you've installed MATLAB enter into the e.t.c directory then into the GL and XA 64 directory from there in command-line you need to run LM start this will start the license manager for you you can now move on to the installation of the worker machines to do this you want the processed license DAT file from the head node as well as the final installation key that you obtained earlier you can locate the license DAT file within the e.t.c directory you'll want to copy this on to the USB shared drive or DVD that you've used for all of your files next you want to repeat the previous installation steps on all worker machines with the exception of selecting to install the license manager during the offline installation you will be prompted for a license file navigate to the licensed dat file here once you have installed on the head node and all of the workers you are ready for the final configuration steps returned to the head node and launch the admin Center to configure the cluster the admin Center is located within the MATLAB installation directory then in the toolbox directory dist comp directory and finally the bin directory this will be the same directory path for Linux the first stage within the admin Center is to add all the hosts that are involved in your cluster this would include the head node as well as any of the worker nodes leave the option to start MDC services on hosts and if prompted follow the steps to start those services next you need to start the MATLAB job scheduler provide a name for your scheduler select the host name of the head node and hit OK to start the scheduler the last step in the admin Center is to start all of your workers select all hosts and set the number of workers you would like to start per host this should be the same as the amount of physical cores on this system now that all of your workers have been started you are ready to configure MATLAB on the client machine from the client machine you want to launch your installation that has MATLAB and parallel computing toolbox with in MATLAB go to the parallel drop-down and then manage cluster profiles select add custom and then MATLAB job scheduler next we want to edit that profile give it any description and provide the hostname of the head node we can now select on right-click the profile and set it as default select the validate button to verify that everything has been configured properly if validation has passed then you're able to begin accessing your cluster from within MATLAB this same cluster profile configuration can be done on any other client machine that you would like to be able to submit to your cluster the validation fails or you run into any additional issues please visit math works comm forward slash support forward slash contact underscore us to contact your local MathWorks support

3 Comments

  1. Shahriar Minayi Jalil said:

    very helpfull
    thanks

    June 26, 2019
    Reply
  2. anca onofrei said:

    Hey ,Here is a -74% coupon to Learn Matlab Udemy course
    Couponcode: ML25
    https://www.udemy.com/learn-matlab/?couponCode=ML25

    June 26, 2019
    Reply
  3. RAIMON BAWAZIR said:

    hi i am doing research and it needs a lot of time for computation. my question: is this product suitable for my cod which may not be divided equally or the cod is interconnected ?

    June 26, 2019
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *