Skip to content

Commit 439d379

Browse files
committed
Minor fixes to PDC examples in material
1 parent cab5a6c commit 439d379

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs/day2/basic_batch_slurm.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ This first example shows how to run a short, serial script. The batch script (na
236236
#SBATCH -A naiss2025-22-934 # Change to your own
237237
#SBATCH --time=00:10:00 # Asking for 10 minutes
238238
#SBATCH -n 1 # Asking for 1 core
239-
239+
#SBATCH -p shared
240+
240241
# Load any modules you need, here for cray-python/3.11.7.
241242
module load cray-python/3.11.7
242243
@@ -404,6 +405,7 @@ Exercises
404405
#SBATCH -A naiss2025-22-934 # Change to your own
405406
#SBATCH --time=00:05:00 # Asking for 5 minutes
406407
#SBATCH -n 1 # Asking for 1 core
408+
#SBATCH -p shared
407409
408410
# Load any modules you need, here for Python 3.11.x
409411
module load cray-python/3.11.7

docs/day3/batch-new.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ Serial code + self-installed package in virt. env.
166166
#SBATCH -A naiss2025-22-934 # Change to your own
167167
#SBATCH --time=00:10:00 # Asking for 10 minutes
168168
#SBATCH -n 1 # Asking for 1 core
169-
169+
#SBATCH -p shared
170+
170171
# Load any modules you need, here for Python/3.11.x
171172
module load cray-python/3.11.7
172173
@@ -523,6 +524,7 @@ In both cases the codes need to be rewritten (more or less), depending on what i
523524
#SBATCH -A naiss2025-22-934 # Change to your own
524525
#SBATCH --time=00:05:00 # Asking for 5 minutes
525526
#SBATCH -n 1 # Asking for 1 core
527+
#SBATCH -p shared
526528
527529
# Load any modules you need, here for Python 3.11.x
528530
module load cray-python/3.11.7

0 commit comments

Comments
 (0)