Matlab is currently available for use centrally on the HPC cluster systems system of the University of Iowa. One may use the Matlab environment by loading the appropriate module:
...
.
...
While it is possible to run Matlab interactively, which can be especially useful for prototyping a job, please remember that login nodes are a shared resource and are intended for launching jobs or prototyping smaller versions of jobs you intend to run. It is not advisable to use interactive sessions for long-running, compute-intensive jobs unless one uses a qlogin session to do so.
...
Code Block | ||||
---|---|---|---|---|
| ||||
matlabpool('open',8); tic start = tic; clear A parfor i = 1:100000; A(i) = i; end stop = toc(start); stop matlabpool('close'); |
Utilizing XEON PHI Offloading
Neon has a group of nodes with XEON PHI coprocessor cards. These extra resources can be utilized by the MKL libraries used by MATLAB via offloading.
To submit a MATLAB job that offloads to the XEON PHI coprocessors you must submit your job with the following options:
Code Block |
---|
qsub -l phi myscript.job |
Your job must also specify the MKL_MIC_ENABLE environment variable:
Code Block |
---|
MKL_MIC_ENABLE=1 //enables offloading |
...