File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments