Normally this is discouraged, as running computationally intensive jobs on the head node impacts the ability of the cluster to function. This requires that you run MATLAB interactively on the head node of the cluster. If, however, you wish to use more than 8 cores, you must use MATLAB PCT code to build your job and submit it to the batch queue for you. If you need 8 cores or fewer, you can create a standard "qsub" file that you then submit to the batch system. Running a MDCS job on the cluster can be done in 1 of 2 ways, depending on how many processor cores you wish to use. Included below are examples for running simple parfor loops as well as a simple example that can be expanded upon for non- parfor parallel jobs. ![]() In order to run your job across multiple nodes, you will need to encapsulate your MATLAB job into 1 or more functions. Using the Parallel Computing Toolbox ( PCT) it is possible to run up to 32 MATLAB worker processes on 1 or more of the cluster's compute nodes. ![]() MATLAB Distributed Computing Server ( MDCS) is available on the ionic cluster. Installation instructions and detailed licensing information can be found on OIT's Princeton Software MATLAB page. This software can be used on CS public use servers ( cycles), including the ionic cluster, as well as individual users' machines. Princeton University has purchased licenses for MATLAB as well as a substantial number of MATLAB Toolboxes.
0 Comments
Leave a Reply. |