number of cpu cores used in matlab
13 views (last 30 days)
Show older comments
To play with the number of cores through SBATCH
We mainly do stuff like this
#!/bin/bash
#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 ?
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Cluster Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!