Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
software:matlab:mills [2018-12-03 11:25] – [Matlab License Information] anita | software: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. | to be run in batch. | ||
- | consider an extended MATLAB example involving | + | consider an extended MATLAB example involving |
the first function in a loop, and to using the Parallel Toolbox. | the first function in a loop, and to using the Parallel Toolbox. | ||
Details on how to run these two scripts in batch are given with the resulting output files. | Details on how to run these two scripts in batch are given with the resulting output files. | ||
- | section with UNIX commands you can use to watch your jobs and gather [[#timing and core count]] numbers. | + | section with UNIX commands you can use to watch your jobs and gather [[#timings-and-core-count | timing and core count]] numbers. |
You will need to know how much memory and how many cores you should request for your jobs. | You will need to know how much memory and how many cores you should request for your jobs. | ||
Line 116: | Line 116: | ||
- | The page will using a Matlab function to illustrate using Matlab in batch and interactively. | + | The examples |
- | ===== Batch example ===== | ||
- | The basic steps to run [[: | ||
==== Matlab script ==== | ==== Matlab script ==== | ||
First, write a Matlab script file. It should have a comment on the first line describing the purpose of the script and have the '' | First, write a Matlab script file. It should have a comment on the first line describing the purpose of the script and have the '' | ||
Line 206: | Line 204: | ||
</ | </ | ||
- | <note warning> | + | <note warning> |
In this example you will need a license for the base Matlab, and the parallel toolbox needs one license. | In this example you will need a license for the base Matlab, and the parallel toolbox needs one license. | ||
Line 363: | Line 361: | ||
We have the correct Grid Engine options '' | We have the correct Grid Engine options '' | ||
- | [[clusters: | + | [[software: |
===== Batch parallel example ===== | ===== Batch parallel example ===== | ||
Line 411: | Line 409: | ||
===== Interactive example ===== | ===== Interactive example ===== | ||
- | The basic steps to running a [[: | + | This example is based on being in your workgroup environment, |
- | + | ||
- | This demo starts in your MATLAB directory and with and active workgroup. | + | |
- | + | ||
==== Scheduling exclusive interactive job ==== | ==== Scheduling exclusive interactive job ==== | ||