MATLAB Answers

HPC cluster with exceed on demand visualization tool

2 views (last 30 days)
Aishwarya Venkatesh
Aishwarya Venkatesh on 23 Jul 2019
Hi all,
I am working with fitrgp function in matlab and doing some computations for large datasets. The computation time is really too much(parfor doesnot seems to be helping much). So i have installed HPC cluster with exceed on demand as visualization tool. But the question is how to do job submission in HPC cluster for the scripts written in matlab, in order to reduce the computational time? It would be great, if you guys could give some suggestions.
Thanks a lot in advance!!!!

  0 Comments

Sign in to comment.

Answers (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi on 5 Aug 2019
If your matlab code is in the file myScript.m, you might use a job submissions script like:
#!/bin/bash
#SBATCH -t 2:00
#SBATCH -N 1
#SBATCH -n 12
#SBATCH -mem-per-cpu 1024
#SBATCH -L matlab
. ~/.profile
module load matlab
matlab -nodisplay -nosplash -r "run('myScript.m'); exit" > myScript.out

  0 Comments

Sign in to comment.

Sign in to answer this question.