| 1 | |
| 2 | = Matlab = |
| 3 | MATLAB (matrix laboratory) is a proprietary programming language developed by MathWorks, MATLAB allows matrix manipulations, |
| 4 | plotting of functions and data, implementation of algorithms, and creation of user interfaces. |
| 5 | |
| 6 | You can run your Matlab codes on Cypress clusters but you can't use GUI(Graphical User Interface) on computing nodes. |
| 7 | |
| 8 | == Run MATLAB interactively == |
| 9 | Start an interactive session, |
| 10 | {{{#!bash |
| 11 | [fuji@cypress2 ~]$ idev |
| 12 | Requesting 1 node(s) task(s) to normal queue of defq partition |
| 13 | 1 task(s)/node, 20 cpu(s)/task, 2 MIC device(s)/node |
| 14 | Time: 0 (hr) 60 (min). |
| 15 | Submitted batch job 47343 |
| 16 | JOBID=47343 begin on cypress01-063 |
| 17 | --> Creating interactive terminal session (login) on node cypress01-063. |
| 18 | --> You have 0 (hr) 60 (min). |
| 19 | Last login: Mon Jun 8 20:18:50 2015 from cypress1.cm.cluster |
| 20 | }}} |
| 21 | Load the module |
| 22 | {{{#!bash |
| 23 | [fuji@cypress01-063 ~]$ module load matlab |
| 24 | }}} |
| 25 | Run MATLAB on the command-line window, |
| 26 | {{{#!bash |
| 27 | [fuji@cypress01-063 ~]$ matlab |
| 28 | MATLAB is selecting SOFTWARE OPENGL rendering. |
| 29 | |
| 30 | < M A T L A B (R) > |
| 31 | Copyright 1984-2015 The MathWorks, Inc. |
| 32 | R2015a (8.5.0.197613) 64-bit (glnxa64) |
| 33 | February 12, 2015 |
| 34 | |
| 35 | |
| 36 | To get started, type one of these: helpwin, helpdesk, or demo. |
| 37 | For product information, visit www.mathworks.com. |
| 38 | |
| 39 | |
| 40 | Academic License |
| 41 | |
| 42 | >> |
| 43 | }}} |
| 44 | You can run MATLAB code but no graphics. |