We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b2f720 commit c418b24Copy full SHA for c418b24
Exercises/day3/hpc2n/run-seaborn-ex.sh
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+# Remember to change this to your own project ID!
3
+#SBATCH -A hpc2n2025-151
4
+# We are asking for 5 minutes
5
+#SBATCH --time=00:05:00
6
+# Asking for one core
7
+#SBATCH -n 1
8
+
9
+# Change to the directory where the data files and program are located
10
+# Change the below to your own path to where you placed the example programs
11
+cd /proj/nobackup/fall-courses/<mydir-name>/Exercises/day3/programs/
12
13
+# Remove any loaded modules and load the ones we need
14
+module purge > /dev/null 2>&1
15
+module load GCC/13.2.0 Seaborn/0.13.2
16
+# this loads SciPy-bundle and Matplotlib
17
18
+# Run your Python script
19
+python seaborn-ex1.py
20
+# change script name as needed
0 commit comments