Changes between Version 1 and Version 2 of cypress/Matlab


Ignore:
Timestamp:
Aug 13, 2015 10:51:42 AM (6 years ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/Matlab

    v1 v2  
    11
    2 = Matlab =
    3 MATLAB (matrix laboratory) is a proprietary programming language developed by MathWorks, MATLAB allows matrix manipulations,
     2= MATLAB =
     3MATLAB (matrix laboratory) is a proprietary programming language developed by [http://www.mathworks.com/ MathWorks], MATLAB allows matrix manipulations,
    44plotting of functions and data, implementation of algorithms, and creation of user interfaces.
    55
    66You can run your Matlab codes on Cypress clusters but you can't use GUI(Graphical User Interface) on computing nodes.
    77
    8 == Run MATLAB interactively ==
     8== Running MATLAB interactively ==
    99Start an interactive session,
    1010{{{#!bash
     
    4242>>
    4343}}}
    44 You can run MATLAB code but no graphics.
     44You will get to the MATLAB command-line and can run MATLAB code here but no graphics.
     45
     46
     47== Running MATLAB in a batch mode ==
     48You can also submit your MATLAB job to the batch nodes (compute nodes) on Cypress. To do so, please first make sure that the MATLAB module has been loaded, and then launch "matlab" with the "-nodesktop -nodisplay -nosplash" option as shown in the sample SLURM job script below.
     49
     50{{{#!bash
     51#!/bin/bash
     52#SBATCH --qos=normal            # Quality of Service
     53#SBATCH --job-name=matlab     # Job Name
     54#SBATCH --time=24:00:00         # WallTime
     55#SBATCH --nodes=1               # Number of Nodes
     56#SBATCH --ntasks-per-node=1     # Number of tasks (MPI processes)
     57#SBATCH --cpus-per-task=1       # Number of threads per task (OMP threads)
     58
     59module load matlab
     60matlab -nodesktop -nodisplay -nosplash < mymatlabprog.m
     61}}}
     62
     63
     64=== Running MATLAB in Parallel with Multithreads ===
     65
     66=== Running MATLAB with Automatic Offloading ===
     67
     68