Skip to content

Commit 9adb6a8

Browse files
2 parents 291b3be + 1052006 commit 9adb6a8

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

docs/advanced/MLR.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ In the following demo you will find instructions to install this package and run
668668
# Remember to change this to your own project ID after the course!
669669
#SBATCH -A naiss2025-22-934
670670
# Asking for runtime: hours, minutes, seconds. At most 1 week
671-
#SBATCH --time=12:00:00
671+
#SBATCH --time=03:00:00
672672
# Ask for resources, including GPU resources
673673
#SBATCH -n 1
674674
#SBATCH -c 32
@@ -695,7 +695,7 @@ In the following demo you will find instructions to install this package and run
695695
#!/bin/bash
696696
# Remember to change this to your own project ID after the course!
697697
#SBATCH -A NAISS2025-22-934
698-
#SBATCH -t 02:00:00
698+
#SBATCH -t 03:00:00
699699
#SBATCH -p alvis
700700
#SBATCH -N 1 --gpus-per-node=T4:4
701701

@@ -711,7 +711,7 @@ In the following demo you will find instructions to install this package and run
711711
#!/bin/bash
712712
#SBATCH -A hpc2n2025-151 # Change to your own project ID
713713
#Asking for 1 hour.
714-
#SBATCH -t 00:30:00
714+
#SBATCH -t 03:00:00
715715
#SBATCH -n 1
716716
#SBATCH --gpus=1
717717
#SBATCH -C l40s
@@ -733,7 +733,7 @@ In the following demo you will find instructions to install this package and run
733733
# Remember to change this to your own project ID after the course!
734734
#SBATCH -A lu2025-2-94
735735
# Asking for runtime: hours, minutes, seconds. At most 1 week
736-
#SBATCH --time=01:00:00
736+
#SBATCH --time=03:00:00
737737
# Ask for GPU resources - x is how many cards, 1 or 2
738738
#SBATCH -p gpua100
739739
#SBATCH --gres=gpu:x
@@ -751,8 +751,8 @@ In the following demo you will find instructions to install this package and run
751751
```bash
752752
#!/bin/bash -l
753753
#SBATCH -A uppmax2025-2-360 # Change to your own project ID
754-
#Asking for 70 min.
755-
#SBATCH -t 01:10:00
754+
#Asking for 3 hours.
755+
#SBATCH -t 03:00:00
756756
#SBATCH -p gpu
757757
#SBATCH --gpus:l40s:1
758758
#Writing output and error files

docs/matlab/slurmMatlab.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@
1010
!!! important
1111

1212
**Compute allocations in this workshop**
13-
- Rackham: ``uppmax2025-2-272``
14-
- Kebnekaise: ``hpc2n2025-062``
15-
- Cosmos: ``lu2025-7-24``
16-
- Tetralith: ``naiss2025-22-262``
17-
- Dardel: ``naiss2025-22-262``
13+
- Pelle/Rackham: ``uppmax2025-2-360``
14+
- Kebnekaise: ``hpc2n2025-151``
15+
- Cosmos: ``lu2025-2-94``
16+
- Tetralith: ``naiss2025-22-934``
17+
- Dardel: ``naiss2025-22-934``
18+
- Alvis: ``naiss2025-22-934``
1819
1920
**Storage space for this workshop**
20-
- Rackham: ``/proj/r-matlab-julia-uppmax``
21-
- Kebnekaise: ``/proj/nobackup/r-matlab-julia``
22-
- Tetralith: ``/proj/r-matlab-julia-naiss/users``
23-
- Dardel: ``/cfs/klemming/projects/snic/r-matlab-julia-naiss``
21+
- Rackham: ``/proj/r-matlab-julia-pelle``
22+
- Kebnekaise: ``/proj/nobackup/fall-courses``
23+
- Tetralith: ``/proj/courses-fall-2025/users/``
24+
- Dardel: ``/cfs/klemming/projects/snic/courses-fall-2025``
25+
- Alvis: ``/mimer/NOBACKUP/groups/courses-fall-2025/``
2426

2527
!!! warning
2628

@@ -42,6 +44,7 @@ Users ask for compute resources via the `sbatch` command (as those who attended
4244
- <a href="https://lunarc-documentation.readthedocs.io/en/latest/manual/submitting_jobs/manual_basic_job/" target="_blank">https://lunarc-documentation.readthedocs.io/en/latest/manual/submitting_jobs/manual_basic_job/</a>
4345
- <a href="https://www.nsc.liu.se/support/batch-jobs/introduction/" target="_blank">https://www.nsc.liu.se/support/batch-jobs/introduction/</a>
4446
- <a href="https://support.pdc.kth.se/doc/run_jobs/job_scheduling/" target="_blank">https://support.pdc.kth.se/doc/run_jobs/job_scheduling/</a>
47+
- <a href="https://www.c3se.chalmers.se/documentation/submitting_jobs/running_jobs/" target="_blank">https://www.c3se.chalmers.se/documentation/submitting_jobs/running_jobs/</a>
4548

4649
MATLAB is well integrated with SLURM, so there are several ways to run these jobs:
4750

@@ -76,7 +79,7 @@ The instructions for each facility are linked below:
7679
- [LUNARC: Configuration at the command line](https://lunarc-documentation.readthedocs.io/en/latest/guides/applications/MATLAB/#configuration-at-the-command-line)
7780
- [NSC: MATLAB (scroll down to "Before submitting your first job")](https://www.nsc.liu.se/software/installed/tetralith/matlab/).
7881
- PDC: no need to configure
79-
- C3SE:
82+
- C3SE: no need to configure
8083

8184
!!! warning
8285

@@ -162,9 +165,9 @@ The tabs below demonstrate the preferred method for each cluster where configura
162165

163166
!!! example "**Challenge 1.** Log in and Configure MATLAB."
164167

165-
#. Log into your chosen HPC cluster if you have not already.
166-
#. Load the newest version of MATLAB (find with ``ml spider MATLAB``). Note that on Dardel it has a prerequisite which you must load first, and that only the matlab/r2024a-ps (prerequisite PDC/23.12) allows access from the shell/terminal without you having to give your own Mathworks credentials.
167-
#. On the command line, run ``configCluster.sh`` on HPC2N or ``configCluster.sh <project-id>`` on UPPMAX/LUNARC. Run configCluster inside MATLAB on the terminal at NSC. You do not do ``configCluster`` at PDC.
168+
1. Log into your chosen HPC cluster if you have not already.
169+
2. Load the newest version of MATLAB (find with ``ml spider MATLAB``). Note that on Dardel it has a prerequisite which you must load first, and that only the matlab/r2024a-ps (prerequisite PDC/23.12) allows access from the shell/terminal without you having to give your own Mathworks credentials.
170+
3. On the command line, run ``configCluster.sh`` on HPC2N or ``configCluster.sh <project-id>`` on UPPMAX/LUNARC. Run configCluster inside MATLAB on the terminal at NSC. You do not do ``configCluster`` at PDC. You also do not run ``configCluster`` at C3SE.
168171

169172
## MATLAB terminal interface
170173

0 commit comments

Comments
 (0)