Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| habrok:examples:matlab [2021/05/21 14:05] – external edit 127.0.0.1 | habrok:examples:matlab [2024/08/29 09:55] (current) – Fix example 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=1000 | ||
| - | module load MATLAB/2020b | + | module purge | 
| + | module load MATLAB/2022b-r5 | ||
| matlab -nodisplay -singleCompThread < matlab_example1.m | matlab -nodisplay -singleCompThread < matlab_example1.m | ||
| </ | </ | ||