software:matlab:mills

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
software:matlab:mills [2019-08-29 14:43] – [Batch example] anitasoftware:matlab:mills [2019-08-29 16:05] – [Matlab function] anita
Line 4: Line 4:
 On Mills, MATLAB projects should be developed using a Desktop installation of MATLAB and then copied to the cluster On Mills, MATLAB projects should be developed using a Desktop installation of MATLAB and then copied to the cluster
 to be run in batch.  Here we to be run in batch.  Here we
-consider an extended MATLAB example involving tow simple MATLAB functions, and two MATLAB scripts to execute+consider an extended MATLAB example involving two simple MATLAB functions, and two MATLAB scripts to execute
 the first function in a loop, and to using the Parallel Toolbox. the first function in a loop, and to using the Parallel Toolbox.
  
Line 116: Line 116:
  
  
-The page will using a Matlab function to illustrate using Matlab in batch and interactively.  The function will be run on multiple cores using multiple computational threads, and 12 workers from a Matlab pool.  Finally it will be compiled an deployed.+The examples will be using a Matlab function to illustrate using Matlab in batch and interactively.  The function will be run on multiple cores using multiple computational threads, and 12 workers from a Matlab pool.  Finally it will be compiled and deployed.
  
  
Line 204: Line 204:
 </code> </code>
  
-<note warning>See [[software:matlab:mills#matlab-license-information|Matlab licenses]] for details on specifying resources if there are limited number of license seats available for particular toolboxes.+<note warning>See [[#matlab-license-information|Matlab licenses]] for details on specifying resources if there are limited number of license seats available for particular toolboxes.
  
 In this example you will need a license for the base Matlab, and the parallel toolbox needs one license.  We are using the default local scheduler which give you 12 workers on the same node with one license. In this example you will need a license for the base Matlab, and the parallel toolbox needs one license.  We are using the default local scheduler which give you 12 workers on the same node with one license.
Line 361: Line 361:
 We have the correct Grid Engine options ''-pe threads 12'' for this case. We have the correct Grid Engine options ''-pe threads 12'' for this case.
  
-[[clusters:mills:matlab-two-samenode|Two Matlab interactive jobs on same node]]+[[software:matlab:mills:matlab-two-samenode|Two Matlab interactive jobs on same node]]
  
 ===== Batch parallel example ===== ===== Batch parallel example =====
Line 409: Line 409:
 ===== Interactive example ===== ===== Interactive example =====
  
-The basic steps to running a [[:software:matlab#interactive|MATLAB]] interactively on a compute node.  +This example is based on being in your workgroup environment, cd'ing to your MATLAB project directory and starting an interactive session on a compute node.
- +
-This demo starts in your MATLAB directory and with and active workgroup.  +
- +
 ==== Scheduling exclusive interactive job ==== ==== Scheduling exclusive interactive job ====
  
  • software/matlab/mills.txt
  • Last modified: 2019-08-29 16:05
  • by anita