Skip to content

Commit c418b24

Browse files
authored
Create run-seaborn-ex.sh
1 parent 4b2f720 commit c418b24

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)