|
| 1 | +# Meeting 14 Feb 2025 |
| 2 | + |
| 3 | +## Agenda |
| 4 | + |
| 5 | +- Status |
| 6 | +- Follow-up from last meeting: |
| 7 | + - schedule/teachers |
| 8 | +- Discussions |
| 9 | +- Next meeting |
| 10 | +- ToDos |
| 11 | + |
| 12 | +## Status |
| 13 | + |
| 14 | +- Advertisement out |
| 15 | + - Day 1: Log in and use Basic Python in a cluster environment |
| 16 | + - Day 2: Use and install packages with pip and conda in virtual environments and doing basic analysis interactively |
| 17 | + - Day 3-4: Deeper analysis with pandas and seaborn, HPC usage with big data, parallelisms and Machine Learning with and without GPUs. |
| 18 | +- Registration is active |
| 19 | + |
| 20 | +## Follow-up from last meeting |
| 21 | + |
| 22 | +### What goes to which day? And Teachers |
| 23 | + |
| 24 | +- Earlier sessions from HPC-python (to be placed out) |
| 25 | + - [x] intro (just first day?) [name=RB] |
| 26 | + - [x] load (just first day?) [name=RB] |
| 27 | + - [x] install packages (expanded) [name=BC] |
| 28 | + - [x] Compute nodes [name=BB] |
| 29 | + - [x] batch [name=BB] |
| 30 | + - [x] interactive [name=B] |
| 31 | + - [x] Desktop on demand [name=RP] |
| 32 | + - [x] IDEs [name=BB] |
| 33 | + - [x] matplotlib [name=RP] |
| 34 | + - [x] GPU [name=BB] |
| 35 | + - [x] Pandas [name=RP] |
| 36 | + - [x] seaborn etc [name=RP] |
| 37 | + - [x] parallel [name=PO] |
| 38 | + - [x] big data and formats [name=BC] |
| 39 | + - [x] Dimensionality reduction? [name=AH] |
| 40 | + - [x] ML/DL [name=JY] |
| 41 | + |
| 42 | +### Day 1 (copied from [NAISS 'Intro to Python'](https://uppmax.github.io/uppmax_intro_python/schedule/)) |
| 43 | + |
| 44 | +:warning: Does not include loading a module |
| 45 | +- BC: could we have "loading lmod module" here? |
| 46 | + - Yes it is included |
| 47 | +- We must make videos and follow GDPR laws, as demanded by the HPC2N training coordinator |
| 48 | + - Can send pre-recorded videos |
| 49 | + - Can send post-recorded videos |
| 50 | + - Birgitte will edit in-lesson recordings, if shared documents (without names) are used and not too much dialogues |
| 51 | + - Pedro and Yayant want this :-) |
| 52 | +- Why do our videos have comments disabled? |
| 53 | + - Because at HPC2N this was decided |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | +Time | Topic |Teacher |
| 58 | +------------|---------------------------------------------------------------|------- |
| 59 | +09:00-10:00 | Using the Python interpreter, includes login |Richel |
| 60 | +10:00-10:15 | Break |. |
| 61 | +10:15-11:00 | The way of the program, includes creating and running a script|Richel |
| 62 | +11:00-11:15 | Break |. |
| 63 | +11:15-12:00 | Working with Python scripts |Richel |
| 64 | +12:00-13:00 | Break |. |
| 65 | +13:00-14:00 | Variables, expressions and statements: variables |Richel |
| 66 | +14:00-14:15 | Break |. |
| 67 | +14:15-15:00 | Variables, expressions and statements: operators |Richel |
| 68 | +15:00-15:15 | Break |. |
| 69 | +15:15-15:45 | Variables, expressions and statements: user input |Richel |
| 70 | +15:45-16:00 | Evaluation |Richel |
| 71 | + |
| 72 | +### Day 2 |
| 73 | + |
| 74 | +- [VOTED] IDEs |
| 75 | +- Packages |
| 76 | +- matplotlib |
| 77 | +- ??pandas here already? |
| 78 | + |
| 79 | +- Suggestions from Björn |
| 80 | + |
| 81 | +Time | Topic |Teacher |
| 82 | +------------|--------------------------------|----------------------- |
| 83 | +09:00-10:00 | Packages | Richel |
| 84 | +10:00-10:15 | Break |. |
| 85 | +10:15-11:00 | Isolated environments conda/pip| Björn+Richel (co-teaching) |
| 86 | +11:00-11:15 | Break |. |
| 87 | +11:15-12:00 | Basic Slurm and interactive, ?OnDemand,?parallel session|Birgitte |
| 88 | +12:00-13:00 | Break|. |
| 89 | +13:00-14:00 | IDEs: Jupyter/vscode/Spyder [1] |Jayant |
| 90 | +14:00-14:15 | Break|. |
| 91 | +14:15-15:00 | matplotlib 1/2|?Rebecca, else Björn |
| 92 | +15:00-15:15 | Break|. |
| 93 | +15:15-15:45 | matplotlib 2/2|?Rebecca, else Björn |
| 94 | +15:45-16:00 | Evaluation|. |
| 95 | + |
| 96 | +- [1] Spyder only works on LUNARC, for an old version. Using virtual environments may get this to work on other session. Björn will investigate this :+1: |
| 97 | + |
| 98 | +### Day 3 |
| 99 | + |
| 100 | +Deeper analysis with pandas and seaborn, HPC usage with big data, parallelisms and Machine Learning with and without GPUs. |
| 101 | + |
| 102 | + |
| 103 | +Time | Topic |Teacher |
| 104 | +-----------|-----------|----------------------- |
| 105 | +09:00-10:00 | Pandas | ?Rebecca ?Richel |
| 106 | +10:00-10:15 | Break |
| 107 | +10:15-11:00 | Pandas (enough time?)| ?Rebecca ?Richel |
| 108 | +11:00-11:15 | Break|. |
| 109 | +11:15-12:00 | Seaborn (enough time)?| ?Rebecca ?Björn |
| 110 | +12:00-13:00 | Break|. |
| 111 | +13:00-14:00 | Slurm and batch jobs|Birgitte |
| 112 | +14:00-14:15 | Break|. |
| 113 | +14:15-15:00 | Formats and Big data |Björn (more time than earlier) |
| 114 | +15:00-15:15 | Break|. |
| 115 | +15:15-15:45 | Formats and Big Data |Björn |
| 116 | +15:45-16:00 | Evaluation|. |
| 117 | + |
| 118 | +### Day 4 |
| 119 | +Deeper analysis with pandas and seaborn, HPC usage with big data, parallelisms and Machine Learning with and without GPUs. |
| 120 | + |
| 121 | +- Suggestions from Björn |
| 122 | + |
| 123 | +Time | Topic |Teacher |
| 124 | +------------|----------------|-------------------- |
| 125 | +09:00-10:00 | Parallelism |Pedro |
| 126 | +10:00-10:15 | Break |. |
| 127 | +10:15-11:00 | Parallelism |Pedro |
| 128 | +11:00-11:15 | Break |. |
| 129 | +11:15-12:00 | GPU, batch jobs|Birgitte |
| 130 | +12:00-13:00 | Break |. |
| 131 | +13:00-14:00 | ML/DL |Jayant |
| 132 | +14:00-14:15 | Break |. |
| 133 | +14:15-15:00 | ML/DL |Jayant |
| 134 | +15:00-15:15 | Break |. |
| 135 | +15:15-15:45 | ML/DL |Jayant + Anders Hast |
| 136 | +15:45-16:00 | Evaluation |. |
| 137 | + |
| 138 | +## Discussions |
| 139 | +- Still 2 repos? |
| 140 | + - Pro: [Intro to Python](https://uppmax.github.io/uppmax_intro_python/) (Day 1) is given separately more often |
| 141 | + - **Yes**: BC, BB, PO, RB, JY |
| 142 | + - No: |
| 143 | +- MkDocs? [Candidate NAISS course template](https://github.com/UPPMAX/naiss_course_template) |
| 144 | + - **Yes**: RB, JY, BB, BC |
| 145 | + - No: PO |
| 146 | +- Transition to MkDocs now? |
| 147 | + - Yes: RB, BB, BC, JY |
| 148 | + - No: PO |
| 149 | +- How: |
| 150 | + - parallel file tree in `docs` folder |
| 151 | + - not needed |
| 152 | + - rst and md files in same dir structure |
| 153 | + |
| 154 | +- Python versions: which one? |
| 155 | + - There were problems last time on Tetralith, we can request updates in time :+1: |
| 156 | + - Who will talk to NSC? |
| 157 | + - First find out if there is a problem at all, else BB will send an email :-) |
| 158 | + - Use same as last time? v3.11.>4 |
| 159 | + - Yes: RB, |
| 160 | + - No: |
| 161 | + |
| 162 | +- Problems with virtual environments? |
| 163 | + - On Tetralith we think this happened, we created a virtual environment to solved |
| 164 | + |
| 165 | +## Next meeting |
| 166 | + |
| 167 | +- Week 9: Friday 28th February 11:00-12:00 |
| 168 | + |
| 169 | + |
| 170 | +## ToDos |
| 171 | + |
| 172 | +- All: |
| 173 | + - Look at evaluation and think about changes |
| 174 | + - LOs |
| 175 | + - Tests on Dardel |
| 176 | + - teacher |
| 177 | + - [ ] Björn: HPC2N need access to UPPMAX project for training |
| 178 | + - Check packages on Dardel and possible solutions |
| 179 | +- Someone |
| 180 | + - ask NSC/PDC(?) of updates |
| 181 | + |
| 182 | + |
| 183 | +# Ad for newsletter |
| 184 | + |
| 185 | + |
| 186 | +## Living ad |
| 187 | + |
| 188 | +**Online training course: Using Python in an HPC environment, 24-25 and 28-29 April 2025** |
| 189 | +_Collaboration between UPPMAX, HPC2N and LUNARC_ |
| 190 | + |
| 191 | +This online 4-day workshop aims to give a brief, but comprehensive introduction to using Python in a Swedish academic High-Performance Computing (HPC) environment. It covers a wide range of levels in using Python and you can decide which days to follow. |
| 192 | + |
| 193 | +**The content of the different days are** |
| 194 | + |
| 195 | +- Day 1: Log in and use Basic Python in a cluster environment |
| 196 | +- Day 2: Use and install packages with pip and conda in virtual environments and doing basic analysis interactively |
| 197 | +- Day 3-4: Deeper analysis with pandas and seaborn, HPC usage with big data, parallelisms and Machine Learning with and without GPUs. |
| 198 | + |
| 199 | +**Remote/online participation:** We will use Zoom. More information about connecting and about accounts and course projects and such will be sent to the participants close to the course. Tetralith at NSC will mainly be used for demos but written material should guide users within academic Sweden on the resources they already are using. |
| 200 | + |
| 201 | +**Prerequisites:** Familiarity with the Linux command line. Basic Python is NOT required, but recommended. Attend the first day for an introduction! |
| 202 | + |
| 203 | +**Date and time:** 24-25 & 28-29 April, 9-17 each day. |
| 204 | + |
| 205 | +For more info and registration, please visit: https://www.hpc2n.umu.se/events/courses/2025/spring/hpc-python |
| 206 | + |
| 207 | +## Living long document that can be merged into webpage document |
| 208 | + |
| 209 | +**Online training course: Using Python in an HPC environment, 24-25 and 28-29 April 2025** |
| 210 | +_Collaboration between UPPMAX, HPC2N and LUNARC_ |
| 211 | + |
| 212 | +This online 4-day workshop aims to give a brief, but comprehensive introduction to using Python in a Swedish academic High-Performance Computing (HPC) environment. It covers a wide range of levels in using Python and you can decide which days to follow. |
| 213 | + |
| 214 | +If you are a complete beginner, perhaps the first day(s) is sufficient for you, but you may follow the other days as well for inspiration. If you already are a Python programmer you could still benefit from attending the login session the first day. |
| 215 | + |
| 216 | +**The goals of the different days are** |
| 217 | + |
| 218 | +Day 1: |
| 219 | +- Log in to a cluster and load python interpreter |
| 220 | +- Use variables, expressions and statements with Python |
| 221 | + |
| 222 | +Day 2: |
| 223 | +- Load and use site-installed Python modules |
| 224 | +- Use and install python packages with pip and/or Conda |
| 225 | +- Use virtual environments |
| 226 | +- Ask for compute resources, write batch scripts |
| 227 | +- Do basic analysis with Matplotlib in Jupyter |
| 228 | + |
| 229 | +Day 3-4: |
| 230 | +- Use compute resources and batch jobs, including parallelism, GPUs and big data |
| 231 | +- Use Pandas and Seaborn |
| 232 | +- Use Python for ML |
| 233 | + |
| 234 | +**Remote/online participation:** We will use Zoom. More information about connecting and about accounts and course projects and such will be sent to the participants close to the course. Tetralith at NSC will mainly be used for demos but written material should guide users within academic Sweden on the resources they already are using. |
| 235 | + |
| 236 | +**Prerequisites:** Familiarity with the Linux command line. Basic Python is NOT required, but recommended. Attend the first day for an introduction! |
| 237 | + |
| 238 | +**Date and time:** 24-25 & 28-29 April, 9-17 each day. |
| 239 | + |
| 240 | +For more info and registration, please visit: https://www.hpc2n.umu.se/events/courses/2025/spring/hpc-python |
| 241 | + |
| 242 | + |
| 243 | +## Old |
| 244 | + |
| 245 | +Online training course: Using Python in an HPC environment, 5-6 December 2024 |
| 246 | +_Collaboration between UPPMAX, HPC2N, and LUNARC_ |
| 247 | + |
| 248 | +This two-day online course aims to give a brief, but comprehensive introduction to using Python in an HPC environment. You will learn how to use modules to load Python, how to find site installed Python packages, as well as how to install packages yourself. In addition, you will learn how to use virtual environments, write a batch script for running Python, use Python in parallel, and how to use Python for ML and on GPUs. In addition, the second day will be more advanced, with a focus on Pandas. |
| 249 | + |
| 250 | +The course is a cooperation between UPPMAX, HPC2N, and LUNARC. The instructors will use UPPMAX's systems for demos and there will be hands-on exercises for the participants. |
| 251 | + |
| 252 | +This course will consist of lectures interspersed with hands-on sessions where you get to try out what you have just learned. |
| 253 | + |
| 254 | +Remote/online participation: The course will be completely online and we will use Zoom. More information about connecting and such will be sent to the participants close to the course. |
| 255 | + |
| 256 | +The goal for the course is that you will be able to |
| 257 | +• Load Python modules and site-installed Python packages |
| 258 | +• Create a virtual environment and install your own Python packages to it |
| 259 | +• Write a batch script for running Python |
| 260 | +• Use Python in parallel |
| 261 | +• Use Python for ML |
| 262 | +• Use GPUs with Python |
| 263 | +• Use pandas |
| 264 | +• Learn about matplotlib |
| 265 | + |
| 266 | +• Prerequisites: familiarity with the LINUX command line, basic Python |
| 267 | + |
| 268 | +• Date and time: 5-6 December 2024, 9-17 each day. |
| 269 | + |
| 270 | +• For more info and registration, please visit: https://www.hpc2n.umu.se/events/courses/2024/fall/hpc-python |
| 271 | + |
| 272 | + |
| 273 | + |
0 commit comments