This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:96 [2013/03/14 18:58] hmeij |
cluster:96 [2015/03/13 17:52] (current) hmeij [Note] |
||
---|---|---|---|
Line 1: | Line 1: | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: | ||
+ | |||
+ | ==== Note ==== | ||
+ | |||
+ | You can also run matlab jobs via scripts like other software. | ||
+ | |||
+ | Create a file with the matlab commands and then create a shell script to submit the job. | ||
+ | |||
+ | It would look like | ||
+ | |||
+ | < | ||
+ | |||
+ | #!/bin/bash | ||
+ | # submit via 'bsub < run.serial' | ||
+ | |||
+ | #BSUB -q matlab | ||
+ | |||
+ | #BSUB -J test | ||
+ | #BSUB -o test.stdout | ||
+ | #BSUB -e test.stderr | ||
+ | |||
+ | |||
+ | |||
+ | matlab -no display < my_code.m > /dev/null | ||
+ | |||
+ | </ | ||
==== Matlab 2013a ==== | ==== Matlab 2013a ==== |