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:10] hmeij |
cluster:137 [2019/06/12 17:00] (current) hmeij07 [Submitting R2017+ Jobs] |
||
---|---|---|---|
Line 3: | Line 3: | ||
- | ==== Submitting | + | ==== Submitting |
+ | 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 '' | ||
- | === Within Matlab | + | < |
+ | # | ||
+ | # 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 ==== | ||
+ | |||
+ | 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 25: | Line 55: | ||
</ | </ | ||
- | You can of course write a submit script and submit it to the scheduler, but with the Distributed | + | You can of course write a submit script |
+ | |||
+ | === Within Matlab === | ||
< | < | ||
Line 173: | 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 193: | 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 | ||
Line 206: | Line 238: | ||
* [[cluster: | * [[cluster: | ||
- | * [[cluster:36|the Running Matlab Jobs page 07/ | + | * [[cluster:39|the Running Matlab Jobs page 07/ |