This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:137 [2015/03/18 19:15] hmeij |
cluster:137 [2019/06/12 17:00] (current) hmeij07 [Submitting R2017+ Jobs] |
||
---|---|---|---|
Line 1: | Line 1: | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: | ||
+ | |||
+ | |||
+ | ==== Submitting R2017+ Jobs ==== | ||
+ | |||
+ | Wesleyan has obtained a campus wide site license for Matlab since version 2017. Hence there is no need to check out a license and the queue '' | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | # create this file then submit | ||
+ | # submit via 'bsub < run.sh' | ||
+ | |||
+ | #BSUB -q tinymem | ||
+ | #BSUB -J test | ||
+ | #BSUB -o out | ||
+ | #BSUB -e err | ||
+ | # match maxNumCompThreads(8); | ||
+ | #BSUB -n 8 | ||
+ | # all cores on single host | ||
+ | #BSUB -R " | ||
+ | |||
+ | |||
+ | |||
+ | export PATH=/ | ||
+ | |||
+ | matlab -nodisplay < myJob.m | ||
+ | |||
+ | </ | ||
+ | |||
==== Submitting R2015a Jobs ==== | ==== Submitting R2015a Jobs ==== | ||
- | With MATLAB' | + | 2015 Matlab DCE has been uninstalled |
+ | --- // | ||
+ | **MATLAB' | ||
+ | ** | ||
Ever since Matlab R2008a, I've been copying the " | Ever since Matlab R2008a, I've been copying the " | ||
Line 174: | Line 205: | ||
< | < | ||
- | # this is the main matlab invocation which will launch the works | + | # this is the main matlab invocation which will launch the workers |
JOBID | JOBID | ||
353128 | 353128 | ||
Line 194: | Line 225: | ||
19020 hmeij | 19020 hmeij | ||
- | # and the workers appear | + | # and the workers appear, note the FROM_HOST |
[hmeij@swallowtail matlab]$ bjobs | [hmeij@swallowtail matlab]$ bjobs |