Warning: Undefined array key "DOKU_PREFS" in /usr/share/dokuwiki/inc/common.php on line 2082
cluster:96 [DokuWiki]

User Tools

Site Tools


cluster:96

Warning: Undefined array key -1 in /usr/share/dokuwiki/inc/html.php on line 1458

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cluster:96 [2011/02/24 16:05]
hmeij
cluster:96 [2015/03/13 13:52]
hmeij [Note]
Line 1: Line 1:
 \\ \\
 **[[cluster:0|Home]]** **[[cluster:0|Home]]**
 +
 +==== 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
 +
 +<code>
 +
 +#!/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
 +
 +</code>
 +
 +==== Matlab 2013a ====
 +
 +Is now the default matlab version, just change the paths in scripts below
 + --- //[[hmeij@wesleyan.edu|Meij, Henk]] 2013/03/14 14:57//
  
 ==== Matlab 2010b ==== ==== Matlab 2010b ====
Line 11: Line 41:
   * [[http://www.mathworks.com/help/toolbox/distcomp/bqxceii-1.html|Part2]]   * [[http://www.mathworks.com/help/toolbox/distcomp/bqxceii-1.html|Part2]]
  
-===== Serial 1 =====+=== Serial 1 ===
  
 In the example below, the code waits for the results.  Don't do that when submitting jobs, it is just for debugging purposes. In the example below, the code waits for the results.  Don't do that when submitting jobs, it is just for debugging purposes.
Line 47: Line 77:
 </code> </code>
  
-===== Serial 2 =====+=== Serial 2 ===
  
 After you submit the job, you can exit matlab. After you submit the job, you can exit matlab.
Line 75: Line 105:
 </code> </code>
  
-===== Parallel =====+=== Parallel ===
  
 Slightly different syntax.  Adjust your number of workers values based on some benchmarking, not always do the most workers finish a job in the shortest amount of time. Slightly different syntax.  Adjust your number of workers values based on some benchmarking, not always do the most workers finish a job in the shortest amount of time.
cluster/96.txt ยท Last modified: 2015/03/13 13:52 by hmeij