Skip to content

Commit ce29f28

Browse files
committed
Continuing to sort the exercises
1 parent 594f86d commit ce29f28

File tree

121 files changed

+64
-14596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+64
-14596
lines changed

Exercises/day3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## programs
55

6-
Contains Python (as well as some Fortran and Julia) scripts used in the demos and exercises
6+
Contains Python scripts and datasets used in the demos and exercises
77

88
## hpc2n, uppmax, cosmos, nsc, pdc, c3se
99

Exercises/day3/pdc/mpi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Set a path where the example programs are installed.
1010
# Change the below to your own path to where you placed the example programs
11-
MYPATH=/cfs/klemming/projects/snic/hpc-python-spring-naiss/<mydir-name>/HPC-python/Exercises/examples/programs/
11+
MYPATH=/cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
1212

1313
ml cray-python/3.11.7
1414

Exercises/day3/pdc/pandas_matplotlib-batch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Change to the directory where the data files and program are located
1010
# Change the below to your own path to where you placed the example programs
11-
cd /cfs/klemming/projects/snic/hpc-python-spring-naiss/<mydir-name>/HPC-python/Exercises/examples/programs/
11+
cd /cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
1212

1313
# Load the modules we need
1414
module load cray-python/3.11.7

Exercises/day3/pdc/run-mpl-pandas-exercises.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Change to the directory where the data files and program are located
1010
# Change the below to your own path to where you placed the example programs
11-
cd /cfs/klemming/projects/snic/hpc-python-spring-naiss/<mydir-name>/HPC-python/Exercises/examples/programs/
11+
cd cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
1212

1313
# Load the modules we need
1414
module load cray-python/3.11.7

Exercises/day3/pdc/run-seaborn-ex.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Change to the directory where the data files and program are located
1010
# Change the below to your own path to where you placed the example programs
11-
cd /cfs/klemming/projects/snic/hpc-python-spring-naiss/<mydir-name>/HPC-python/Exercises/examples/programs/
11+
cd /cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
1212

1313
# Load the modules we need
1414
module load cray-python/3.11.7

Exercises/day3/pdc/run_mmmult.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
#SBATCH --time=00:10:00 # Asking for 10 minutes
44
#SBATCH -n 1 # Asking for 1 core
55

6+
# Set a path where the example programs are installed.
7+
# Change the below to your own path to where you placed the example programs
8+
MYPATH=/cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
9+
610
# Load any modules you need, here for cray-python/3.11.7.
711
module load cray-python/3.11.7
812

913
# Run your Python script
10-
python mmmult.py
14+
python $MYPATH/mmmult.py

Exercises/day3/pdc/run_serial_virtualenv.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Set a path where the example programs are installed.
77
# Change the below to your own path to where you placed the example programs
8-
MYPATH=/cfs/klemming/projects/snic/hpc-python-spring-naiss/<mydir-name>/HPC-python/Exercises/examples/programs/
8+
MYPATH=/cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
99

1010
# Load any modules you need. This is an example
1111
ml cray-python/3.11.7
@@ -17,4 +17,4 @@ ml cray-python/3.11.7
1717
source <path-to-virt-env>/bin/activate
1818

1919
# Run your Python script - remember to add the name of your script
20-
python $MYPATH/seaborn-example.py
20+
python $MYPATH/virt-example.py

Exercises/day3/pdc/run_sum-2args.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Set a path where the example programs are installed.
77
# Change the below to your own path to where you placed the example programs
8-
MYPATH=/cfs/klemming/projects/snic/hpc-python-spring-naiss/<mydir-name>/HPC-python/Exercises/examples/programs/
8+
MYPATH=/cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
99

1010
# Load any modules you need
1111
module load cray-python/3.11.7

Exercises/day3/pdc/vec-add.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#SBATCH --ntasks-per-node=1
66
#SBATCH -p gpu
77

8-
# Set a path where the example programs are installed.
8+
# Set a path where the example programs are installed.
99
# Change the below to your own path to where you placed the example programs
10-
MYPATH=/cfs/klemming/projects/snic/hpc-python-spring-naiss/<your-dir>/HPC-python/Exercises/examples/programs/
10+
MYPATH=/cfs/klemming/projects/supr/courses-fall-2025/<mydir-name>/Exercises/day3/programs/
1111

1212
# Load the module we need
1313
module load PDC/23.12

Exercises/day3/programs/pandas_matplotlib-rackham.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)