We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dafefd7 commit 4b2f720Copy full SHA for 4b2f720
1 file changed
Exercises/day3/hpc2n/run-mpl-pandas-exercises.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 (may need more for a couple Pandas exercises)
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/12.3.0 Python/3.11.3 SciPy-bundle/2023.07 matplotlib/3.7.2
16
+# includes Pandas
17
18
+# Run your Python script
19
+python matplotlib-intro.py
20
+# change script name as needed
0 commit comments