Difference between revisions of "Matlab GUI Example"

From UFRC
Jump to navigation Jump to search
Line 12: Line 12:
 
#SBATCH --mem-per-cpu=2gb
 
#SBATCH --mem-per-cpu=2gb
 
#SBATCH --time=02:00:00
 
#SBATCH --time=02:00:00
#SBATCH --account=woods
+
##SBATCH --account=<optional>
#SBATCH --qos=woods
+
##SBATCH --qos=<optional>
 
hostname;pwd;date
 
hostname;pwd;date
  

Revision as of 14:59, 20 July 2016

back to the main Matlab page

GUI Session

Note
this script is also available as '$HPC_GUI_JOB/launch_matlab.sh' after loading the gui environment module. Please feel free to change the parameters as needed for your work.
#!/bin/bash
#SBATCH --job-name="Matlab"
#SBATCH --output matlab_gui-%j.out
#SBATCH --partition=gui
#SBATCH --ntasks=1
#SBATCH --mem-per-cpu=2gb
#SBATCH --time=02:00:00
##SBATCH --account=<optional>
##SBATCH --qos=<optional>
hostname;pwd;date

module load gui matlab

xpra_start_matlab

date