User Tools

Site Tools


cluster:137

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:137 [2015/03/18 15:15]
hmeij
cluster:137 [2019/06/12 13:00] (current)
hmeij07 [Submitting R2017+ Jobs]
Line 1: Line 1:
 \\ \\
 **[[cluster:0|Back]]** **[[cluster:0|Back]]**
 +
 +
 +==== 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 ''matlab'' has been removed. You can use version 2017 and onward on all queues in unlimited number off jobs. Your submit script should do something simple like
 +
 +<code>
 +#!/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); in matlab code
 +#BSUB -n 8
 +# all cores on single host
 +#BSUB -R "span[hosts=1]"
 +
 +
 +
 +export PATH=/share/apps/CENTOS6/matlab/R2019a/bin:$PATH
 +
 +matlab -nodisplay < myJob.m  > myJob.log
 +
 +</code>
 +
  
  
 ==== Submitting R2015a Jobs ==== ==== Submitting R2015a Jobs ====
  
-With MATLAB's Distributed Computing Server+2015 Matlab DCE has been uninstalled 
 + --- //[[hmeij@wesleyan.edu|Henk]] 2018/08/30 08:01//
  
 +**MATLAB's Distributed Computing Server R2015a requires CentOS6 so launch on swallowtail or petaltail and use all queues but not ''hp12''.
 +**
 Ever since Matlab R2008a, I've been copying the "lsf" integration files forward from release to release to get parallel job submissions working for Lava (v1.x).  Every upgrade I ask for Lava integration support instead of having to use generic integration files. Ever since Matlab R2008a, I've been copying the "lsf" integration files forward from release to release to get parallel job submissions working for Lava (v1.x).  Every upgrade I ask for Lava integration support instead of having to use generic integration files.
  
Line 174: Line 205:
 <code> <code>
  
-# this is the main matlab invocation which will launch the works+# this is the main matlab invocation which will launch the workers
 JOBID   USER    STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME                         JOBID   USER    STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME                        
 353128  hmeij   RUN   matlab     swallowtail n33         test       Mar 18 14:57                        353128  hmeij   RUN   matlab     swallowtail n33         test       Mar 18 14:57                       
Line 194: Line 225:
 19020 hmeij     20    107m 1872  868 S  0.0  0.0   0:00.00 sshd                19020 hmeij     20    107m 1872  868 S  0.0  0.0   0:00.00 sshd               
  
-# and the workers appear+# and the workers appear, note the FROM_HOST
  
 [hmeij@swallowtail matlab]$ bjobs [hmeij@swallowtail matlab]$ bjobs
cluster/137.1426706139.txt.gz · Last modified: 2015/03/18 15:15 by hmeij