Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
habrok:examples:matlab [2021/05/21 14:05] – external edit 127.0.0.1habrok:examples:matlab [2026/02/18 15:51] (current) – Increase memory requirements in examples pedro
Line 28: Line 28:
 #SBATCH --nodes=1 #SBATCH --nodes=1
 #SBATCH --ntasks=1 #SBATCH --ntasks=1
-#SBATCH --cpus-per-task+#SBATCH --cpus-per-task=1
 #SBATCH --job-name=matlab_example1 #SBATCH --job-name=matlab_example1
 #SBATCH --output=matlab_example1.out #SBATCH --output=matlab_example1.out
-#SBATCH --mem=1000+#SBATCH --mem=2000
  
-module load MATLAB/2020b+module purge 
 +module load MATLAB/2022b-r5
 matlab -nodisplay -singleCompThread < matlab_example1.m matlab -nodisplay -singleCompThread < matlab_example1.m
 </code> </code>
Line 110: Line 111:
 #SBATCH --partition=gpu #SBATCH --partition=gpu
 #SBATCH --gres=gpu:1 #SBATCH --gres=gpu:1
-#SBATCH --mem=1000+#SBATCH --mem=2000
  
 module load MATLAB/2020b module load MATLAB/2020b