Index of /examples/matlab/Tutorials/Archive/Previous

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]LongForm.html 2015-03-05 14:28 1.5K 
[   ]epbatch 2015-03-02 15:12 82  
[   ]getbev.m 2015-03-02 15:12 1.7K 
[   ]isBatch.m 2015-03-02 15:12 140  
[   ]mbatch 2015-03-02 15:12 72  
[   ]myApp.m 2015-03-02 15:12 399  
[   ]myFCT.m 2015-03-02 15:12 728  
[   ]myInterface.m 2015-03-02 15:12 706  
[   ]mySCR.m 2015-03-02 15:12 625  
[   ]myWave.m 2015-03-02 15:12 128  
[DIR]orig/ 2021-04-16 08:59 -  
[   ]pbatch 2015-03-02 15:12 235  
[   ]pbatch2 2015-03-02 15:12 53  
[TXT]pbatch_l 2015-03-02 15:12 609  
[   ]pnbatch 2015-03-02 15:12 109  
[   ]readme.m 2015-03-02 15:12 2.7K 
[   ]runBatchJob.m 2015-03-02 15:12 1.1K 
[   ]runBatchJob.m.old 2015-03-02 12:00 3.3K 
[TXT]run_matlab_pct_job 2015-03-02 15:12 1.0K 
[TXT]run_standalone_job 2015-03-02 15:12 1.7K 
[   ]wnbatch 2015-03-02 15:12 62  

A Collection of MATLAB Batch Scripts And Utility M-files

  1. README.html -- this file
  2. epbatch ------- Embarrassingly Parallel BATCH
  3. getbev.m ------ m-file to return batch env. vars
  4. isBatch.m ----- whether code is running in batch
  5. mbatch -------- Simple MATLAB batch script
  6. myApp.m ------- Sample Application m-file
  7. myInterface.m - Handles batch env vars and runs myApp
  8. pbatch -------- Parallel BATCH job (PCT)
  9. pbatch2 ------ runs myInterface in batch
  10. pnbatch ------- Partial Node Batch job
  11. run_standalone_job -- Standalone Batch job
  12. wnbatch ------- Whole Node Batch job

Where to Store Them

Copy them to ~/matlab for access from any user folder. This is the folder where startup.m resides.

Types of MATLAB Batch Jobs

  1. Running Serial (single-core) MATLAB Batch Jobs
    scc1$ qsub ./mbatch
  2. Running Parallel (multicore) MATLAB Batch Jobs
    scc1$ qsub -pe omp 4 ./pbatch
  3. Running Pre-compiled MATLAB code (needs no licenses)
    scc1$ qsub ./run_standalone_job
    More details are available in How To Create & Run MATLAB Standalone Executable.

  4. Running Implicitly Parallel (multithreaded) MATLAB Batch Jobs
    scc1$ qsub -pe omp 12 ./wnbatch
    scc1$ qsub -pe omp 7 ./pnbatch
For more details, see: Running MATLAB Batch Jobs on the SCC
Kadin Tseng, Research Computing Services, IS&T, Boston University
Created  : January, 2015
Modified : 
Note: Research Computing Services (RCS) example programs are provided "as is" without any warranty of any kind. The user assumes the entire risk of quality, performance, and repair of any defects. You are encouraged to copy and modify any of the given examples for your own use.