Introduction
Usage
module load matlab/2017a Older versions are: ==================== module load matlab/2015b OR module load matlab/2012b OR module load matlab/2011a To get a full listing of all versions available on the cluster, please type: module avail matlab
Matlab 2011a
Usage
module load matlab/2011a module list Currently Loaded Modulefiles: 1) matlab/2011a Matlab will be loaded in the PATH.
Install Directory
/sw/Matlab/2011a
Sample PBS script
cat power_plot.m
%>>>>>>>>>>>>>>>>>>> % % John Burkardt % addpath('/export/home/sNUMBER/MatlabFileDir') fprintf ( 1, '\n' ); fprintf ( 1, 'POWER_PLOT\n' ); fprintf ( 1, ' Plot some data, store it in a PNG file.\n' ); n = 200; x = 1 : n; y = 2 * rand ( 1, n ) - 1; y = sign ( y ) .* y.^2; y = cumsum ( y, 2 ); plot ( x, y ); xlabel ( 'X', 'FontName', 'Helvetica', 'FontWeight', 'bold', ... 'FontSize', 16 ); ylabel ( 'Y', 'FontName', 'Helvetica', 'FontWeight', 'bold', ... 'FontSize', 16, 'Rotation', 0 ); title ( 'Power\_Plot', 'FontName', 'Helvetica', 'FontWeight', ... 'bold', 'FontSize', 16 ); print -dpng 'power_plot.png'; fprintf ( 1, '\n' ); fprintf ( 1, ' The data was stored in "power_plot.png".\n' ); exit %#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
cat pbs.00
#PBS -m abe #PBS -M emailID@griffith.edu.au #PBS -N Power_Plot #PBS -l select=1:ncpus=2:mem=7g #PBS -l walltime=6:00:00 source $HOME/.bashrc cd $PBS_O_WORKDIR ###module load matlab/2009b (if using matlab 2009b) module load matlab/2011a echo "Starting job" matlab -nodisplay -nodesktop -nosplash < /export/home/<sNumber>/pbs/matlab/power_plot.m echo "Done with job"
Submit the job as follows:
qsub pbs.00
Matlab 2009b
Usage
module load matlab/2009b module list Currently Loaded Modulefiles: 1) matlab/2009b Matlab will be loaded in the PATH.
Install Directory
/sw/Matlab/2009b
Sample PBS script
See http://confluence.rcs.griffith.edu.au:8080/display/GHPC/matlab#matlab-SamplePBSscript
Matlab 2017a Installation Notes
License number: 2150 Installation folder: /sw/Matlab/R2017a Download Size: 6,885 MB Installation Size: 18,252 MB Products: MATLAB 9.2 (download) Simulink 8.9 (download) Bioinformatics Toolbox 4.8 (download) Communications System Toolbox 6.4 (download) Computer Vision System Toolbox 7.3 (download) Control System Toolbox 10.2 (download) Curve Fitting Toolbox 3.5.5 (download) DSP System Toolbox 9.4 (download) Embedded Coder 6.12 (download) Financial Toolbox 5.9 (download) Fuzzy Logic Toolbox 2.2.25 (download) Global Optimization Toolbox 3.4.2 (download) Image Acquisition Toolbox 5.2 (download) Image Processing Toolbox 10.0 (download) Mapping Toolbox 4.5 (download) MATLAB Coder 3.3 (download) MATLAB Compiler 6.4 (download) MATLAB Compiler SDK 6.3.1 (download) Model Predictive Control Toolbox 5.2.2 (download) Neural Network Toolbox 10.0 (download) Optimization Toolbox 7.6 (download) Parallel Computing Toolbox 6.10 (download) Partial Differential Equation Toolbox 2.4 (download) Robust Control Toolbox 6.3 (download) Signal Processing Toolbox 7.4 (download) SimBiology 5.6 (download) Simscape 4.2 (download) Simscape Driveline 2.12 (download) Simscape Electronics 2.11 (download) Simscape Multibody 5.0 (download) Simscape Power Systems 6.7 (download) Your installation may require additional configuration steps. 1. The following products require a supported compiler: Simulink Coder 8.12 MATLAB Coder 3.3 2. Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine. 3. To accelerate computations with the following products, a supported compiler is required: SimBiology 5.6 4. MATLAB Compiler SDK 6.3.1 requires the following: ? a supported compiler for creation of C and C++ Shared libraries ? a Java JDK for creation of Java packages
switch between the two versions
module switch matlab/2011a matlab/2009b module list Currently Loaded Modulefiles: 1) matlab/2009b
Matlab for Griffith researchers
Matlab is available through the software request system.
https://intranet.secure.griffith.edu.au/computing/software log into software requests and type matlab in the search software.
https://www102.griffith.edu.au/products.aspx?type=search&input=matlab