number of cpu cores used in matlab

7 views (last 30 days)
Fatima Ezzahra
Fatima Ezzahra on 10 Aug 2022
Answered: Walter Roberson on 10 Aug 2022
To play with the number of cores through SBATCH
We mainly do stuff like this
#SBATCH -J job_name
#SBATCH -o job_name.o%j
#SBATCH -t 04:00:00
#SBATCH -N 1 # Asking for 1 Node #SBATCH --ntasks-per-node=20 # Asking for 20 cores
But how can we do this in matlab GUI ?

Answers (1)

Walter Roberson
Walter Roberson on 10 Aug 2022
from the command line.
But if you are wanting to do this for parfor / spmd purposes, then you should edit the 'local' cluster profile.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!