Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
software:matlab:farber [2020-10-29 11:06] – [Grid Engine script] anita | software:matlab:farber [2020-10-29 11:15] – [MCR array job example] anita | ||
---|---|---|---|
Line 522: | Line 522: | ||
</ | </ | ||
- | ==== Use Grid Engine to submit a Matlab script | + | ====== Batch job serial example ====== |
Second, write a shell script file to set the Matlab environment and start Matlab running your script file. The following script file will set the Matlab environment and run the command in the [[# | Second, write a shell script file to set the Matlab environment and start Matlab running your script file. The following script file will set the Matlab environment and run the command in the [[# | ||
Line 747: | Line 747: | ||
- | ===== Batch parallel example ===== | + | ====== Batch parallel example |
The Matlab parallel toolbox uses JVM to manage the workers and communicate while you are running. | The Matlab parallel toolbox uses JVM to manage the workers and communicate while you are running. | ||
Line 815: | Line 815: | ||
- | ===== Interactive example ===== | + | ====== Interactive example |
The basic steps to running a [[: | The basic steps to running a [[: | ||
Line 895: | Line 895: | ||
/ | / | ||
</ | </ | ||
- | ===== Interactive parallel toolbox example ===== | + | ====== Interactive parallel toolbox example |
When you plan to use the parallel toolbox, you should logon exclusively to a compute node with the command: | When you plan to use the parallel toolbox, you should logon exclusively to a compute node with the command: | ||
Line 953: | Line 953: | ||
- | ===== MCR array job example ===== | + | ====== MCR array job example |
Most Matlab functions can be compiled using the Matlab Compiler (MCC) and then deployed to run on the compute nodes in the MATLAB Compiler Runtime (MCR). | Most Matlab functions can be compiled using the Matlab Compiler (MCC) and then deployed to run on the compute nodes in the MATLAB Compiler Runtime (MCR). |