This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cluster:39 [2009/07/01 15:04] hmeij |
cluster:39 [2017/09/29 13:19] (current) hmeij07 |
||
---|---|---|---|
Line 2: | Line 2: | ||
**[[cluster: | **[[cluster: | ||
+ | ===== Matlab Update ===== | ||
- | <hi # | + | Summer 2017 we converted our Wesleyan |
- | Update: | + | |
- | --- // | + | We will leave the default **matlab** binary pointing |
- | + | ||
- | + | ||
- | Hints on running Matlab jobs using version 2008a. When we ran version 2007a, under scheduler Lava, this page was written up. We were then using generic integration scripts connecting Matlab to scheduler. We have since upgrade to scheduler LSF. | + | |
- | + | ||
- | | + | |
- | + | ||
- | => change the location were the matlab is installed | + | |
- | + | ||
- | < | + | |
- | set(sched, ' | + | |
- | </ | + | |
- | + | ||
- | | + | |
- | + | ||
- | => comment out or delete the lines referring | + | |
- | + | ||
- | < | + | |
- | %2007a sched = findResource(' | + | |
- | %2007a set(sched, ' | + | |
- | ... | + | |
- | %2007a set(sched, ' | + | |
- | </ | + | |
- | + | ||
- | => point to the LSF scheduler and add following ' | + | |
- | + | ||
- | < | + | |
- | sched = findResource(' | + | |
- | set(sched, ' | + | |
- | set(sched, ' | + | |
- | </ | + | |
+ | --- // | ||
Line 93: | Line 64: | ||
sched = findResource(' | sched = findResource(' | ||
set(sched, ' | set(sched, ' | ||
- | set(sched, ' | + | set(sched, ' |
set(sched, ' | set(sched, ' | ||
Line 134: | Line 105: | ||
sched = findResource(' | sched = findResource(' | ||
set(sched, ' | set(sched, ' | ||
- | set(sched, ' | + | set(sched, ' |
set(sched, ' | set(sched, ' | ||
Line 308: | Line 279: | ||
- | ==== Parallel Computing | + | ==== Parallel Computing |
+ | * If you need to submit more arguments to the scheduler, for example direct a worker to a specific machine for memory requirements rather than a random pick, you can do via these commands described at this [[http:// | ||
* Ok, submitting in a more batch oriented mode looks like this. | * Ok, submitting in a more batch oriented mode looks like this. | ||
Line 403: | Line 375: | ||
</ | </ | ||
+ | |||
+ | WE ARE CURRENTLY NOT RUNNING 2009A ... IT APPEARS THAT THE 2009A DC VERSION OF MATLAB STILL HAS 2008A UNDER THE HOOD WITH DC v3.3, SO WE FELL BACK TO 2008A. | ||
+ | |||
+ | |||
+ | <hi #ffff00> | ||
+ | In the new version of Matlab DC 2009, the integration with LSF is complete, so **always** point to ' | ||
+ | |||
+ | * In the line //sched = findResource(' | ||
+ | |||
+ | * Comment out the line that contains //set = (sched, ' | ||
+ | |||
+ | * And point to the queue // | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Hints on running Matlab jobs using version 2008a. When we ran version 2007a, under scheduler Lava, this page was written up. We were then using generic integration scripts connecting Matlab to scheduler. We have since upgrade to scheduler LSF. We will still be using the generic integration for distributed jobs. However, for parallel jobs, we will be using the lsf integration scripts provide by MathWorks. | ||
+ | |||
+ | * Distributed and Parallel Jobs | ||
+ | |||
+ | => change the location were the matlab is installed | ||
+ | |||
+ | < | ||
+ | set(sched, ' | ||
+ | </ | ||
+ | |||
+ | * Parallel Jobs | ||
+ | |||
+ | => comment out or delete the lines referring to the generic functions | ||
+ | |||
+ | < | ||
+ | %2007a sched = findResource(' | ||
+ | %2007a set(sched, ' | ||
+ | ... | ||
+ | %2007a set(sched, ' | ||
+ | </ | ||
+ | |||
+ | => point to the LSF scheduler and add following ' | ||
+ | |||
+ | < | ||
+ | sched = findResource(' | ||
+ | set(sched, ' | ||
+ | set(sched, ' | ||
+ | </ | ||
\\ | \\ | ||
**[[cluster: | **[[cluster: |