Skip to content

Commit fc9fe3f

Browse files
authored
Create run_seaborn-ex.py
1 parent f5fa5bb commit fc9fe3f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
20 lines (17 loc) · 757 Bytes
2+
#!/bin/bash
3+
# Remember to change this to your own project ID!
4+
#SBATCH -A lu2025-7-106
5+
# We are asking for 5 minutes; change if needed
6+
#SBATCH --time=00:05:00
7+
# Asking for one core
8+
#SBATCH -n 1
9+
10+
# Change to the directory where the data files and program are located
11+
# Change the below to your own path to where you placed the example programs
12+
cd /lunarc/nobackup/projects/lu2025-17-52/2024-17-44/<mydir-name>/HPC-python/Exercises/examples/programs/
13+
14+
# Remove any loaded modules and load the ones we need
15+
module purge > /dev/null 2>&1
16+
module load GCC/13.2.0 Seaborn/0.13.2
17+
# this loads SciPy-bundle and Matplotlib
18+
19+
# Run your Python script
20+
python seaborn-ex1.py
21+
# change script name as needed

0 commit comments

Comments
 (0)