Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Please note, running Matlab on YARCC the physnodes is not the same as running Matlab via a GUI on your desktop. There is no GUI when running a Matlab script, you write a job script which tells the grid engine how to run your Matlab program.

...

The University holds a limited number of Matlab licenses in the form of campus-wide floating licenses. An unlimited number of licenses for individual toolboxes are also available. Each YARCC Matlab job will consume one matlab general license, plus one license for each toolbox used. To prevent exhasuting the finite number of licenses, you must reserve one Malab license (-l matlab=1), this stops your jobs starting and failing when no licenses are available.

...

For a full description of how to use the matlab compiler, please refer to Getting Started with MATLAB Compiler. The rest of this section gives a brief guide to creating and running standalone Matlab applications on YARCCthe physnodes.

Checking if your program can be compiled. 

...

Matlab script files cannot be compiled directly. Instead, they must be converted into a prepackaged Matlab function. Normally, this is simply a case of wrapping the main section of code within a function. See the Scripts and Functions section of the Matlab Compiler Getting Started guide for more details.

...

Compilation will result in a number of files - the standalone executable will be named after the first script file use in the compilation. Note that a standalone wrapper scrypt will also be created, using the file name prefixed by run_. This file can ignored when using the YARCC the physnodes - its purpose is to set up the environmental variables for the Matlab Compiler Runtime, which is already done by the modules environment.

...

In the above gzip example, if a filename matching the gzipped version"s name already exists, gzip will prompt an interactive user if they wish to overwrite the file. The default action for a non-interactive session is for gzip to chose not to overwrite the file and exit.

Stata

YARCC The physnodes currently hosts a 70-user licence for Stata, which includes both regular and special editions. To enable access to the current default version, use the following modules command:

...